projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a pointer to a paper (is the algorithm in section 4.2 the
[oweals/openssl.git]
/
crypto
/
bio
/
bf_nbio.c
diff --git
a/crypto/bio/bf_nbio.c
b/crypto/bio/bf_nbio.c
index cbec2bae29a8887c751e3de2217bc9654dc8eab7..a525e79d4fb28f68b82b62a094176da52c048cfd 100644
(file)
--- a/
crypto/bio/bf_nbio.c
+++ b/
crypto/bio/bf_nbio.c
@@
-137,7
+137,7
@@
static int nbiof_read(BIO *b, char *out, int outl)
BIO_clear_retry_flags(b);
#if 0
- RAND_bytes(&n,1);
+ RAND_
pseudo_
bytes(&n,1);
num=(n&0x07);
if (outl > num) outl=num;
@@
-178,7
+178,7
@@
static int nbiof_write(BIO *b, char *in, int inl)
}
else
{
- RAND_bytes(&n,1);
+ RAND_
pseudo_
bytes(&n,1);
num=(n&7);
}