aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_pkey.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-11-04 13:17:22 +0000
committerBodo Möller <bodo@openssl.org>2002-11-04 13:17:22 +0000
commitb53e44e57259b2b015c54de8ecbcf4e06be23298 (patch)
tree4d06528db2e5e7d8ad1680fc59159a4c689c7b3c /crypto/asn1/t_pkey.c
parente5f4d8279dccad0f6dde324f52333291739dcca3 (diff)
downloadopenssl-b53e44e57259b2b015c54de8ecbcf4e06be23298.tar.gz
implement and use new macros BN_get_sign(), BN_set_sign()
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/asn1/t_pkey.c')
-rw-r--r--crypto/asn1/t_pkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/t_pkey.c b/crypto/asn1/t_pkey.c
index 46fb86a3b9..e3e0739bbd 100644
--- a/crypto/asn1/t_pkey.c
+++ b/crypto/asn1/t_pkey.c
@@ -575,7 +575,7 @@ static int print(BIO *bp, const char *number, BIGNUM *num, unsigned char *buf,
const char *neg;
if (num == NULL) return(1);
- neg=(num->neg)?"-":"";
+ neg = (BN_get_sign(num))?"-":"";
if (off)
{
if (off > 128) off=128;