提交 542a1b1a 编写于 作者: D Dr. Stephen Henson

Re enable the read side non blocking test BIO code.

For some reason it was disabled...
上级 5672e3a3
...@@ -127,7 +127,7 @@ static int nbiof_read(BIO *b, char *out, int outl) ...@@ -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) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册