diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-12 19:40:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-21 12:25:33 -0400 |
commit | 5245a296c58eb8aba712e94a78d5bcaa2a2f25fb (patch) | |
tree | 3c5698c25ebbe6e02799aac9447811f31dd01dc2 /src/lib/tls/x509_internal.h | |
parent | b9ca8f2356a98630a262951486cd10436963e169 (diff) | |
download | tor-5245a296c58eb8aba712e94a78d5bcaa2a2f25fb.tar.gz tor-5245a296c58eb8aba712e94a78d5bcaa2a2f25fb.zip |
Make some x509 functions generic; remove some fields NSS doesn't need
Diffstat (limited to 'src/lib/tls/x509_internal.h')
-rw-r--r-- | src/lib/tls/x509_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/tls/x509_internal.h b/src/lib/tls/x509_internal.h index 2cca393d21..86f5a0de59 100644 --- a/src/lib/tls/x509_internal.h +++ b/src/lib/tls/x509_internal.h @@ -25,4 +25,11 @@ MOCK_DECL(tor_x509_cert_t *, tor_x509_cert_new, const tor_x509_cert_impl_t *tor_x509_cert_get_impl( const tor_x509_cert_t *cert); +void tor_x509_cert_impl_free_(tor_x509_cert_impl_t *cert); +#ifdef ENABLE_OPENSSL +int tor_x509_cert_set_cached_der_encoding(tor_x509_cert_t *cert); +#else +#define tor_x509_cert_set_cached_der_encoding(cert) (0) +#endif + #endif |