aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/certstor.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-08 14:15:34 +0000
committerlloyd <[email protected]>2015-03-08 14:15:34 +0000
commitf0ccd62149e466d4fbf1fb2c57227c4d3cee190c (patch)
tree1db968e1b23c96dba5e830247684a2a90459b084 /src/lib/cert/x509/certstor.h
parent6fcdb56ee42078172d44529d55a57bf377f5ae53 (diff)
Fix memory leak in TLS tests. Remove last few remaining uses of auto_ptr.
Diffstat (limited to 'src/lib/cert/x509/certstor.h')
-rw-r--r--src/lib/cert/x509/certstor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cert/x509/certstor.h b/src/lib/cert/x509/certstor.h
index 6d6de2e7a..eb42c6a49 100644
--- a/src/lib/cert/x509/certstor.h
+++ b/src/lib/cert/x509/certstor.h
@@ -50,6 +50,8 @@ class BOTAN_DLL Certificate_Store_In_Memory : public Certificate_Store
*/
Certificate_Store_In_Memory(const std::string& dir);
+ Certificate_Store_In_Memory(const X509_Certificate& cert);
+
Certificate_Store_In_Memory() {}
void add_certificate(const X509_Certificate& cert);