Re enable the read side non blocking test BIO code.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 20 Feb 2003 13:39:30 +0000 (13:39 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 20 Feb 2003 13:39:30 +0000 (13:39 +0000)
For some reason it was disabled...

crypto/bio/bf_nbio.c

index 1ce2bfacc06018f1657a98816d23fb468ea0cdc4..c72a23c2e1b289417543fb372f90a5a3a86115e8 100644 (file)
@@ -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);