From: Dr. Stephen Henson Date: Thu, 20 Feb 2003 13:39:30 +0000 (+0000) Subject: Re enable the read side non blocking test BIO code. X-Git-Tag: BEN_FIPS_TEST_1~38^2~291 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=542a1b1a2ef205d1869614dd83ff19eae36437c3;p=oweals%2Fopenssl.git Re enable the read side non blocking test BIO code. For some reason it was disabled... --- diff --git a/crypto/bio/bf_nbio.c b/crypto/bio/bf_nbio.c index 1ce2bfacc0..c72a23c2e1 100644 --- a/crypto/bio/bf_nbio.c +++ b/crypto/bio/bf_nbio.c @@ -127,7 +127,7 @@ static int nbiof_read(BIO *b, char *out, int outl) { NBIO_TEST *nt; int ret=0; -#if 0 +#if 1 int num; unsigned char n; #endif @@ -137,7 +137,7 @@ static int nbiof_read(BIO *b, char *out, int outl) nt=(NBIO_TEST *)b->ptr; BIO_clear_retry_flags(b); -#if 0 +#if 1 RAND_pseudo_bytes(&n,1); num=(n&0x07);