diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-09 14:43:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:39:31 -0400 |
commit | 67e66898d2b77940199fe23843e148ab836ff431 (patch) | |
tree | 7a2ddcd3a1f896acbaa85c099abcf1182e353a68 /src/common/tortls.h | |
parent | 88c2a6b9361d7d624f9d34dc855b940554a05fb3 (diff) | |
download | tor-67e66898d2b77940199fe23843e148ab836ff431.tar.gz tor-67e66898d2b77940199fe23843e148ab836ff431.zip |
For testing: add a tor_x509_cert_dup().
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 3adb1b2f6e..6510fdbe64 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -176,6 +176,7 @@ extern uint64_t total_bytes_written_by_tls; #endif /* endif TORTLS_PRIVATE */ +tor_x509_cert_t *tor_x509_cert_dup(const tor_x509_cert_t *cert); const char *tor_tls_err_to_string(int err); void tor_tls_get_state_description(tor_tls_t *tls, char *buf, size_t sz); |