commit | 16253efe2b7401e1dde736f220e6b45440e5abac | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Sun Mar 21 08:56:36 2021 +0900 |
committer | Kazuho Oku <kazuhooku@gmail.com> | Sun Mar 21 08:56:36 2021 +0900 |
tree | 67417414df601ec4cc6ad8bae1ea8b0730e5b89a | |
parent | f4923b4e63e7db3cc1171b983e97d1565c0a2a08 [diff] |
scheme mismatch is an error at the server-side, as we only advertise the signature schemes that can be handled
diff --git a/lib/openssl.c b/lib/openssl.c index 75148ef..01ad2a0 100644 --- a/lib/openssl.c +++ b/lib/openssl.c
@@ -1047,7 +1047,7 @@ for (; scheme->scheme_id != UINT16_MAX; ++scheme) if (scheme->scheme_id == algo) goto SchemeFound; - ret = PTLS_ERROR_LIBRARY; + ret = PTLS_ALERT_ILLEGAL_PARAMETER; goto Exit; SchemeFound: