aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorMarek Majkowski <marek@popcount.org>2013-06-10 16:21:39 +0100
committerMarek Majkowski <marek@popcount.org>2013-06-10 16:21:39 +0100
commitd769cd82b5b9517971bdefabfcc1c68b0a901751 (patch)
treef47cff5dff640df813f4d937a9bcf21282f2ee51 /src/common/tortls.h
parente4f51682bc6d15e5ba78dfe6dfe69e95c298954e (diff)
downloadtor-d769cd82b5b9517971bdefabfcc1c68b0a901751.tar
tor-d769cd82b5b9517971bdefabfcc1c68b0a901751.tar.gz
Bug #5170 - make pkey_eq testable, introduce test_tortls.c
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 49c488b36..c71ed573f 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -138,5 +138,10 @@ int tor_tls_cert_is_valid(int severity,
int check_rsa_1024);
const char *tor_tls_get_ciphersuite_name(tor_tls_t *tls);
+#ifdef TORTLS_PRIVATE
+/* Prototypes for private functions only used by the unit tests. */
+int tor_tls_evp_pkey_eq(EVP_PKEY *a, EVP_PKEY *b);
+#endif
+
#endif