projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- use BN_set_negative and BN_is_negative instead of BN_set_sign
[openssl.git]
/
crypto
/
asn1
/
t_pkey.c
diff --git
a/crypto/asn1/t_pkey.c
b/crypto/asn1/t_pkey.c
index 86bd2e04e42dd5b1b3d97a4c0a22bbd454b1442e..94bd37c32ea947868b8251cf656d55a1d88ffa43 100644
(file)
--- a/
crypto/asn1/t_pkey.c
+++ b/
crypto/asn1/t_pkey.c
@@
-552,7
+552,7
@@
static int print(BIO *bp, const char *number, BIGNUM *num, unsigned char *buf,
const char *neg;
if (num == NULL) return(1);
- neg = (BN_
get_sign
(num))?"-":"";
+ neg = (BN_
is_negative
(num))?"-":"";
if(!BIO_indent(bp,off,128))
return 0;
if (BN_is_zero(num))