summaryrefslogtreecommitdiff
path: root/crypto/bio
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-02-20 13:39:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-02-20 13:39:30 +0000
commit542a1b1a2ef205d1869614dd83ff19eae36437c3 (patch)
treea609dae21a05e9c1d06249ad40db8bde794ea35e /crypto/bio
parent5672e3a32152ec5f844cd0999494c129606ff9b9 (diff)
downloadopenssl-new-542a1b1a2ef205d1869614dd83ff19eae36437c3.tar.gz
Re enable the read side non blocking test BIO code.
For some reason it was disabled...
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bf_nbio.c4
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);