Use SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER instead.
ok tb@
-/* $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.
*/
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;
}