commit | 1467459cdda9ae9110634a9e26ffc31a2fe0c12e | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Sun Mar 21 09:24:42 2021 +0900 |
committer | Kazuho Oku <kazuhooku@gmail.com> | Sun Mar 21 09:24:42 2021 +0900 |
tree | 519304e0a2dfd2fc799c7d40c5d46a3556da48b2 | |
parent | 660362b8cb5220a05b545ce977850cfb10fbba54 [diff] |
counterpart of d968b81
diff --git a/lib/openssl.c b/lib/openssl.c index 71d5b9a..fe3d0cc 100644 --- a/lib/openssl.c +++ b/lib/openssl.c
@@ -701,7 +701,7 @@ ret = PTLS_ERROR_LIBRARY; goto Exit; } - if (EVP_PKEY_CTX_set_rsa_mgf1_md(pkey_ctx, EVP_sha256()) != 1) { + if (EVP_PKEY_CTX_set_rsa_mgf1_md(pkey_ctx, md) != 1) { ret = PTLS_ERROR_LIBRARY; goto Exit; }