diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-02-20 14:39:30 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-02-20 14:39:30 +0100 |
commit | 542a1b1a2ef205d1869614dd83ff19eae36437c3 (patch) | |
tree | a609dae21a05e9c1d06249ad40db8bde794ea35e /crypto/bio/bf_nbio.c | |
parent | Fix bug in base64 bios during write an non blocking I/O: (diff) | |
download | openssl-542a1b1a2ef205d1869614dd83ff19eae36437c3.tar.xz openssl-542a1b1a2ef205d1869614dd83ff19eae36437c3.zip |
Re enable the read side non blocking test BIO code.
For some reason it was disabled...
Diffstat (limited to 'crypto/bio/bf_nbio.c')
-rw-r--r-- | crypto/bio/bf_nbio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |