summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_int.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-08-22 12:54:21 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-08-22 12:54:21 +0000
commit469938cb4012472d3d99ed7ead258aef3a5bc029 (patch)
tree429467bb525a63d80e4a16efc419f57fee82a58b /crypto/asn1/a_int.c
parenteaa28181898b8ca0b54552a3290789bb17444c8a (diff)
Fixes to d2i_ASN1_OBJECT, ASN1_INTEGER_to_BN and a_strex.c
Diffstat (limited to 'crypto/asn1/a_int.c')
-rw-r--r--crypto/asn1/a_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_int.c b/crypto/asn1/a_int.c
index bb8e9cf8f9..0db747eddf 100644
--- a/crypto/asn1/a_int.c
+++ b/crypto/asn1/a_int.c
@@ -465,7 +465,7 @@ BIGNUM *ASN1_INTEGER_to_BN(ASN1_INTEGER *ai, BIGNUM *bn)
if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
ASN1err(ASN1_F_ASN1_INTEGER_TO_BN,ASN1_R_BN_LIB);
- if(ai->type == V_ASN1_NEG_INTEGER) bn->neg = 1;
+ if(ai->type == V_ASN1_NEG_INTEGER) ret->neg = 1;
return(ret);
}