diff options
author | Dirkjan Bussink <d.bussink@gmail.com> | 2020-12-12 18:02:15 +0100 |
---|---|---|
committer | Jakub Jelen <jjelen@redhat.com> | 2021-01-11 10:45:22 +0100 |
commit | 8852fd3ac9988951fd1bd7f15890c828275a7483 (patch) | |
tree | a9dadf1effe5f23444edb4334f4520abe451dde7 /src | |
parent | 41c08986ae39940b177ad80cc9375b190b6ad560 (diff) | |
download | libssh-8852fd3ac9988951fd1bd7f15890c828275a7483.tar.gz libssh-8852fd3ac9988951fd1bd7f15890c828275a7483.tar.xz libssh-8852fd3ac9988951fd1bd7f15890c828275a7483.zip |
Remove unneeded HMAC_CTX_reset function
This isn't referenced anywhere outside of the compatibility layer so it
is unneeded.
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcrypto-compat.c | 6 | ||||
-rw-r--r-- | src/libcrypto-compat.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/libcrypto-compat.c b/src/libcrypto-compat.c index d9857463..e20bbd7c 100644 --- a/src/libcrypto-compat.c +++ b/src/libcrypto-compat.c @@ -260,12 +260,6 @@ void HMAC_CTX_free(HMAC_CTX *ctx) } } -int HMAC_CTX_reset(HMAC_CTX *ctx) -{ - HMAC_CTX_init(ctx); - return 1; -} - #ifndef HAVE_OPENSSL_EVP_CIPHER_CTX_NEW EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { diff --git a/src/libcrypto-compat.h b/src/libcrypto-compat.h index 31f361e8..ced8af35 100644 --- a/src/libcrypto-compat.h +++ b/src/libcrypto-compat.h @@ -36,7 +36,6 @@ void EVP_MD_CTX_free(EVP_MD_CTX *ctx); int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx); HMAC_CTX *HMAC_CTX_new(void); -int HMAC_CTX_reset(HMAC_CTX *ctx); void HMAC_CTX_free(HMAC_CTX *ctx); void DH_get0_pqg(const DH *dh, |