Re enable the read side non blocking test BIO code.

For some reason it was disabled...
This commit is contained in:
Dr. Stephen Henson 2003-02-20 13:39:30 +00:00
parent 5672e3a321
commit 542a1b1a2e

View File

@ -127,7 +127,7 @@ static int nbiof_read(BIO *b, char *out, int outl)
{ {
NBIO_TEST *nt; NBIO_TEST *nt;
int ret=0; int ret=0;
#if 0 #if 1
int num; int num;
unsigned char n; unsigned char n;
#endif #endif
@ -137,7 +137,7 @@ static int nbiof_read(BIO *b, char *out, int outl)
nt=(NBIO_TEST *)b->ptr; nt=(NBIO_TEST *)b->ptr;
BIO_clear_retry_flags(b); BIO_clear_retry_flags(b);
#if 0 #if 1
RAND_pseudo_bytes(&n,1); RAND_pseudo_bytes(&n,1);
num=(n&0x07); num=(n&0x07);