summaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 06a984a81c..7c5dc14d45 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -105,7 +105,6 @@ struct crypto_dh_env_t {
/* Prototypes for functions only used by tortls.c */
crypto_pk_env_t *_crypto_new_pk_env_rsa(RSA *rsa);
-RSA *_crypto_pk_env_get_rsa(crypto_pk_env_t *env);
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);
@@ -269,13 +268,6 @@ _crypto_new_pk_env_rsa(RSA *rsa)
return env;
}
-/** used by tortls.c: return the RSA* from a crypto_pk_env_t. */
-RSA *
-_crypto_pk_env_get_rsa(crypto_pk_env_t *env)
-{
- return env->key;
-}
-
/** used by tortls.c: get an equivalent EVP_PKEY* for a crypto_pk_env_t. Iff
* private is set, include the private-key portion of the key. */
EVP_PKEY *