diff options
Diffstat (limited to 'gtests/common')
-rw-r--r-- | gtests/common/scoped_ptrs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtests/common/scoped_ptrs.h b/gtests/common/scoped_ptrs.h index dd609feb6..9a93e78c3 100644 --- a/gtests/common/scoped_ptrs.h +++ b/gtests/common/scoped_ptrs.h @@ -19,6 +19,9 @@ struct ScopedDelete { void operator()(CERTCertificateList* list) { CERT_DestroyCertificateList(list); } + void operator()(CERTCertList* list) { + CERT_DestroyCertList(list); + } void operator()(CERTSubjectPublicKeyInfo* spki) { SECKEY_DestroySubjectPublicKeyInfo(spki); } @@ -44,6 +47,7 @@ struct ScopedMaybeDelete { SCOPED(CERTCertificate); SCOPED(CERTCertificateList); +SCOPED(CERTCertList); SCOPED(CERTSubjectPublicKeyInfo); SCOPED(PK11SlotInfo); SCOPED(PK11SymKey); |