diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_md5_sha1.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_md5_sha1.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/evp/m_md5_sha1.c b/src/lib/libcrypto/evp/m_md5_sha1.c index aaddbe9c81..f8bec10d18 100644 --- a/src/lib/libcrypto/evp/m_md5_sha1.c +++ b/src/lib/libcrypto/evp/m_md5_sha1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_md5_sha1.c,v 1.3 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: m_md5_sha1.c,v 1.4 2022/01/14 08:38:06 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -80,13 +80,6 @@ static const EVP_MD md5_sha1_md = { | |||
80 | .final = md5_sha1_final, | 80 | .final = md5_sha1_final, |
81 | .block_size = MD5_CBLOCK, /* MD5_CBLOCK == SHA_CBLOCK */ | 81 | .block_size = MD5_CBLOCK, /* MD5_CBLOCK == SHA_CBLOCK */ |
82 | .ctx_size = sizeof(EVP_MD *) + sizeof(struct md5_sha1_ctx), | 82 | .ctx_size = sizeof(EVP_MD *) + sizeof(struct md5_sha1_ctx), |
83 | #ifndef OPENSSL_NO_RSA | ||
84 | .sign = (evp_sign_method *)RSA_sign, | ||
85 | .verify = (evp_verify_method *)RSA_verify, | ||
86 | .required_pkey_type = { | ||
87 | EVP_PKEY_RSA, EVP_PKEY_RSA2, 0, 0, | ||
88 | }, | ||
89 | #endif | ||
90 | }; | 83 | }; |
91 | 84 | ||
92 | const EVP_MD * | 85 | const EVP_MD * |