projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
e_aes.c: fix aes_cfb1_cipher.
[oweals/openssl.git]
/
crypto
/
bio
/
bf_nbio.c
diff --git
a/crypto/bio/bf_nbio.c
b/crypto/bio/bf_nbio.c
index 1ce2bfacc06018f1657a98816d23fb468ea0cdc4..028616c06481c4f1049cb147c80eea919bb4d201 100644
(file)
--- a/
crypto/bio/bf_nbio.c
+++ b/
crypto/bio/bf_nbio.c
@@
-125,19
+125,17
@@
static int nbiof_free(BIO *a)
static int nbiof_read(BIO *b, char *out, int outl)
{
static int nbiof_read(BIO *b, char *out, int outl)
{
- NBIO_TEST *nt;
int ret=0;
int ret=0;
-#if
0
+#if
1
int num;
unsigned char n;
#endif
if (out == NULL) return(0);
if (b->next_bio == NULL) return(0);
int num;
unsigned char n;
#endif
if (out == NULL) return(0);
if (b->next_bio == NULL) return(0);
- nt=(NBIO_TEST *)b->ptr;
BIO_clear_retry_flags(b);
BIO_clear_retry_flags(b);
-#if
0
+#if
1
RAND_pseudo_bytes(&n,1);
num=(n&0x07);
RAND_pseudo_bytes(&n,1);
num=(n&0x07);