diff options
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 0daf24310..54cfc7404 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -54,6 +54,7 @@ const char crypto_c_id[] = #include <sys/fcntl.h> #endif +#define CRYPTO_PRIVATE #include "crypto.h" #include "log.h" #include "aes.h" @@ -103,11 +104,6 @@ struct crypto_dh_env_t { DH *dh; }; -/* Prototypes for functions only used by tortls.c */ -crypto_pk_env_t *_crypto_new_pk_env_rsa(RSA *rsa); -EVP_PKEY *_crypto_pk_env_get_evp_pkey(crypto_pk_env_t *env, int private); -DH *_crypto_dh_env_get_dh(crypto_dh_env_t *dh); - static int setup_openssl_threading(void); static int tor_check_dh_key(BIGNUM *bn); |