Skip to content

Commit 7c4feb5

Browse files
Improve the error message returned by BAD_KEY_SHARE_DATA.
Fixes #9084.
1 parent 5b473f6 commit 7c4feb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26975,7 +26975,7 @@ const char* wolfSSL_ERR_reason_error_string(unsigned long e)
2697526975
return "Certificate context does not match request or not empty";
2697626976

2697726977
case BAD_KEY_SHARE_DATA:
26978-
return "The Key Share data contains group that wasn't in Client Hello";
26978+
return "The Key Share data contains a group which is invalid";
2697926979

2698026980
case MISSING_HANDSHAKE_DATA:
2698126981
return "The handshake message is missing required data";

0 commit comments

Comments
 (0)