From: Bodo Möller Date: Fri, 2 Jul 1999 14:23:33 +0000 (+0000) Subject: typo X-Git-Tag: OpenSSL_0_9_4~131 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1afd8b39422e8e4d8a86dd12eebe9574c982217e;p=oweals%2Fopenssl.git typo --- diff --git a/ssl/s2_pkt.c b/ssl/s2_pkt.c index 39d8010bde..e65dfb203b 100644 --- a/ssl/s2_pkt.c +++ b/ssl/s2_pkt.c @@ -412,7 +412,7 @@ static int write_pending(SSL *s, const unsigned char *buf, unsigned int len) * write */ if ((s->s2->wpend_tot > (int)len) || ((s->s2->wpend_buf != buf) && - (!s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER))) + !(s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER))) { SSLerr(SSL_F_WRITE_PENDING,SSL_R_BAD_WRITE_RETRY); return(-1); diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index c9dc7cc616..6613e112c2 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -603,7 +603,7 @@ static int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, /* XXXX */ if ((s->s3->wpend_tot > (int)len) || ((s->s3->wpend_buf != buf) && - (!s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER)) + !(s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER)) || (s->s3->wpend_type != type)) { SSLerr(SSL_F_SSL3_WRITE_PENDING,SSL_R_BAD_WRITE_RETRY);