diff options
author | Marek Majkowski <marek@popcount.org> | 2013-06-10 16:21:39 +0100 |
---|---|---|
committer | Marek Majkowski <marek@popcount.org> | 2013-06-10 16:21:39 +0100 |
commit | d769cd82b5b9517971bdefabfcc1c68b0a901751 (patch) | |
tree | f47cff5dff640df813f4d937a9bcf21282f2ee51 /src/common/tortls.h | |
parent | e4f51682bc6d15e5ba78dfe6dfe69e95c298954e (diff) | |
download | tor-d769cd82b5b9517971bdefabfcc1c68b0a901751.tar.gz tor-d769cd82b5b9517971bdefabfcc1c68b0a901751.zip |
Bug #5170 - make pkey_eq testable, introduce test_tortls.c
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 49c488b365..c71ed573f2 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 |