From e437696a1c2aac62f2be1a45bc657ed3017cd054 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 11 Jun 2021 11:29:44 +0000 Subject: SSL3_AD_ILLEGAL_PARAMETER is not a valid SSLerror() reason code. Use SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER instead. ok tb@ --- src/lib/libssl/d1_both.c | 4 ++-- 1 file 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 @@ -/* $OpenBSD: d1_both.c,v 1.73 2021/06/11 11:13:53 jsing Exp $ */ +/* $OpenBSD: d1_both.c,v 1.74 2021/06/11 11:29:44 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (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) */ if (i != (int)frag_len) { al = SSL3_AD_ILLEGAL_PARAMETER; - SSLerror(s, SSL3_AD_ILLEGAL_PARAMETER); + SSLerror(s, SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER); goto fatal_err; } -- cgit v1.2.3-55-g6feb