diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-17 11:23:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-31 19:46:00 -0400 |
commit | 32bbc8f6b5e7d964439c6ba91f87f7d5fba673cc (patch) | |
tree | 7256e656df93d19212427ac9ab30bbc6715dd3b3 /src/lib/crypt_ops/crypto_dh.h | |
parent | ac9a470c641fd3ba826cdad07b1a7a495c00acba (diff) | |
download | tor-32bbc8f6b5e7d964439c6ba91f87f7d5fba673cc.tar.gz tor-32bbc8f6b5e7d964439c6ba91f87f7d5fba673cc.zip |
Refactor the dependency between tortls and crypto_dh.
We only ever need this to get us a DH ephemeral key object,
so make a function that does just that.
Diffstat (limited to 'src/lib/crypt_ops/crypto_dh.h')
-rw-r--r-- | src/lib/crypt_ops/crypto_dh.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_dh.h b/src/lib/crypt_ops/crypto_dh.h index f8e4e4f43e..9533626968 100644 --- a/src/lib/crypt_ops/crypto_dh.h +++ b/src/lib/crypt_ops/crypto_dh.h @@ -50,7 +50,6 @@ void crypto_dh_free_all(void); /* Prototypes for private functions only used by tortls.c, crypto.c, and the * unit tests. */ struct dh_st; -struct dh_st *crypto_dh_get_dh_(crypto_dh_t *dh); - +struct dh_st *crypto_dh_new_openssl_tls(void); #endif /* !defined(TOR_CRYPTO_DH_H) */ |