mirror of
https://github.com/golang/go
synced 2024-11-17 21:04:43 -07:00
modify C.CopyPEMRoots to static
This commit is contained in:
parent
56d6b87972
commit
6a07f25056
@ -159,7 +159,7 @@ static Boolean isRootCertificate(SecCertificateRef cert, CFErrorRef *errRef) {
|
|||||||
//
|
//
|
||||||
// Note: The CFDataRef returned in pemRoots and untrustedPemRoots must
|
// Note: The CFDataRef returned in pemRoots and untrustedPemRoots must
|
||||||
// be released (using CFRelease) after we've consumed its content.
|
// be released (using CFRelease) after we've consumed its content.
|
||||||
int CopyPEMRoots(CFDataRef *pemRoots, CFDataRef *untrustedPemRoots, bool debugDarwinRoots) {
|
static int CopyPEMRoots(CFDataRef *pemRoots, CFDataRef *untrustedPemRoots, bool debugDarwinRoots) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (debugDarwinRoots) {
|
if (debugDarwinRoots) {
|
||||||
|
Loading…
Reference in New Issue
Block a user