projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Propagate the request for prediction resistance to the get entropy call
[oweals/openssl.git]
/
crypto
/
bn
/
bn_print.c
diff --git
a/crypto/bn/bn_print.c
b/crypto/bn/bn_print.c
index 0aaa9d53734ce4fc01d26917b2a531c623d8a679..1853269d903df17db2196b436a7c916cef38b30c 100644
(file)
--- a/
crypto/bn/bn_print.c
+++ b/
crypto/bn/bn_print.c
@@
-313,7
+313,7
@@
int BN_print(BIO *bp, const BIGNUM *a)
for (i = a->top - 1; i >= 0; i--) {
for (j = BN_BITS2 - 4; j >= 0; j -= 4) {
/* strip leading zeros */
- v = (int)((a->d[i] >> j) & 0x
f
f);
+ v = (int)((a->d[i] >> j) & 0x
0
f);
if (z || v != 0) {
if (BIO_write(bp, &Hex[v], 1) != 1)
goto end;