Avoid abort() throughout the library, except when preprocessor

symbols for debugging are defined.
This commit is contained in:
Bodo Möller
2000-09-04 15:34:43 +00:00
parent 5e38616380
commit bbb8de0966
19 changed files with 196 additions and 75 deletions

View File

@@ -153,7 +153,10 @@ int ssl3_accept(SSL *s)
if (cb != NULL) cb(s,SSL_CB_HANDSHAKE_START,1);
if ((s->version>>8) != 3)
abort();
{
SSLerr(SSL_F_SSL3_ACCEPT, SSL_R_INTERNAL_ERROR);
return -1;
}
s->type=SSL_ST_ACCEPT;
if (s->init_buf == NULL)