diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa_oaep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_oaep.c b/src/lib/libcrypto/rsa/rsa_oaep.c index c2c3a61daa..4927673898 100644 --- a/src/lib/libcrypto/rsa/rsa_oaep.c +++ b/src/lib/libcrypto/rsa/rsa_oaep.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa_oaep.c,v 1.37 2023/07/08 12:26:45 beck Exp $ */ | 1 | /* $OpenBSD: rsa_oaep.c,v 1.38 2024/02/18 15:45:42 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. | 3 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. |
| 4 | * | 4 | * |
| @@ -331,7 +331,7 @@ PKCS1_MGF1(unsigned char *mask, long len, const unsigned char *seed, | |||
| 331 | int mdlen; | 331 | int mdlen; |
| 332 | int rv = -1; | 332 | int rv = -1; |
| 333 | 333 | ||
| 334 | EVP_MD_CTX_init(&c); | 334 | EVP_MD_CTX_legacy_clear(&c); |
| 335 | mdlen = EVP_MD_size(dgst); | 335 | mdlen = EVP_MD_size(dgst); |
| 336 | if (mdlen < 0) | 336 | if (mdlen < 0) |
| 337 | goto err; | 337 | goto err; |
