projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5672e3a
)
Re enable the read side non blocking test BIO code.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 20 Feb 2003 13:39:30 +0000
(13:39 +0000)
committer
Dr. 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
patch
|
blob
|
history
diff --git
a/crypto/bio/bf_nbio.c
b/crypto/bio/bf_nbio.c
index 1ce2bfacc06018f1657a98816d23fb468ea0cdc4..c72a23c2e1b289417543fb372f90a5a3a86115e8 100644
(file)
--- 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);