}
if (!ssl3_setup_buffers(s)) {
- /* SSLerr already called */
+ /* ERR_raise() already called */
return -1;
}
buf = RECORD_LAYER_get_rbuf(&s->rlayer)->buf;
{
if (!ssl_security(s, SSL_SECOP_TMP_DH,
EVP_PKEY_security_bits(dhpkey), 0, dhpkey)) {
- SSLerr(0, SSL_R_DH_KEY_TOO_SMALL);
+ ERR_raise(ERR_LIB_SSL, SSL_R_DH_KEY_TOO_SMALL);
EVP_PKEY_free(dhpkey);
return 0;
}
{
if (!ssl_ctx_security(ctx, SSL_SECOP_TMP_DH,
EVP_PKEY_security_bits(dhpkey), 0, dhpkey)) {
- SSLerr(0, SSL_R_DH_KEY_TOO_SMALL);
+ ERR_raise(ERR_LIB_SSL, SSL_R_DH_KEY_TOO_SMALL);
EVP_PKEY_free(dhpkey);
return 0;
}