diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-07 01:19:07 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-07 01:19:07 +0000 |
commit | 5277d7cb7cdaa45d2fef1ada07af3c26716c7fbe (patch) | |
tree | 6dfa72dac6f9e7e909b20d6ca49dbe1b96fa60dc /ssl/s3_pkt.c | |
parent | 0657bf9c14598f52fe3cacd0c32d99458d97659e (diff) |
Fix ERR_R_... problems.
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r-- | ssl/s3_pkt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index a128d616b5..8166fc1dfa 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -170,7 +170,7 @@ static int ssl3_read_n(SSL *s, int n, int max, int extend) } if (n > max) /* does not happen */ { - SSLerr(SSL_F_SSL3_READ_N,SSL_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL3_READ_N,ERR_R_INTERNAL_ERROR); return -1; } @@ -718,7 +718,7 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) if ((type && (type != SSL3_RT_APPLICATION_DATA) && (type != SSL3_RT_HANDSHAKE) && type) || (peek && (type != SSL3_RT_APPLICATION_DATA))) { - SSLerr(SSL_F_SSL3_READ_BYTES, SSL_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL3_READ_BYTES, ERR_R_INTERNAL_ERROR); return -1; } @@ -1069,7 +1069,7 @@ start: * of SSL3_RT_HANDSHAKE when s->in_handshake is set, but that * should not happen when type != rr->type */ al=SSL_AD_UNEXPECTED_MESSAGE; - SSLerr(SSL_F_SSL3_READ_BYTES,SSL_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL3_READ_BYTES,ERR_R_INTERNAL_ERROR); goto f_err; case SSL3_RT_APPLICATION_DATA: /* At this point, we were expecting handshake data, |