diff options
| author | jsing <> | 2021-06-11 11:29:44 +0000 |
|---|---|---|
| committer | jsing <> | 2021-06-11 11:29:44 +0000 |
| commit | a5e2bdcbde90e8d1eb973dd13cd09691d343132d (patch) | |
| tree | c4aa1bf3af5878de164014a81dc7b0e6a042f051 /src/lib/libssl/d1_both.c | |
| parent | 0d4fee786d0c2ca62db1b16cf880153b0c24a292 (diff) | |
| download | openbsd-a5e2bdcbde90e8d1eb973dd13cd09691d343132d.tar.gz openbsd-a5e2bdcbde90e8d1eb973dd13cd09691d343132d.tar.bz2 openbsd-a5e2bdcbde90e8d1eb973dd13cd09691d343132d.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 '')
| -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 | ||
