Co-authored-by: Bob Beck <beck@obtuse.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Fri Apr 10 12:22:46 2026
(Merged from https://github.com/openssl/openssl/pull/30596)
const char *name = SSL_group_to_name(s, nid);
if (name == NULL)
- BIO_printf(out, "Negotiated TLS1.3 group: %d\n", nid);
+ BIO_printf(out, "Negotiated TLS1.3 group NID: %d\n", nid);
else
BIO_printf(out, "Negotiated TLS1.3 group: %s\n", name);
}
fp_flags |= BIO_FP_TEXT;
if (filename == NULL) {
- ERR_raise_data(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER, __func__);
+ ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER);
return NULL;
}
OPENSSL_strlcat(p, "b", sizeof(p));
#endif
if (ptr == NULL) {
- ERR_raise_data(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER, __func__);
+ ERR_raise(ERR_LIB_CRYPTO, ERR_R_PASSED_NULL_PARAMETER);
ret = 0;
break;
}