diff options
author | jsing <> | 2021-06-11 11:29:44 +0000 |
---|---|---|
committer | jsing <> | 2021-06-11 11:29:44 +0000 |
commit | e437696a1c2aac62f2be1a45bc657ed3017cd054 (patch) | |
tree | c4aa1bf3af5878de164014a81dc7b0e6a042f051 /src/lib/libssl/d1_both.c | |
parent | a58ba8a1624712a3054ab9a7f4b766d24aabab85 (diff) | |
download | openbsd-e437696a1c2aac62f2be1a45bc657ed3017cd054.tar.gz openbsd-e437696a1c2aac62f2be1a45bc657ed3017cd054.tar.bz2 openbsd-e437696a1c2aac62f2be1a45bc657ed3017cd054.zip |
SSL3_AD_ILLEGAL_PARAMETER is not a valid SSLerror() reason code.
Use SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER instead.
ok tb@
Diffstat (limited to 'src/lib/libssl/d1_both.c')
-rw-r--r-- | src/lib/libssl/d1_both.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index ad7c03b518..8e734f1277 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_both.c,v 1.73 2021/06/11 11:13:53 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.74 2021/06/11 11:29:44 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -842,7 +842,7 @@ dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok) | |||
842 | */ | 842 | */ |
843 | if (i != (int)frag_len) { | 843 | if (i != (int)frag_len) { |
844 | al = SSL3_AD_ILLEGAL_PARAMETER; | 844 | al = SSL3_AD_ILLEGAL_PARAMETER; |
845 | SSLerror(s, SSL3_AD_ILLEGAL_PARAMETER); | 845 | SSLerror(s, SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER); |
846 | goto fatal_err; | 846 | goto fatal_err; |
847 | } | 847 | } |
848 | 848 | ||