diff options
Diffstat (limited to 'lib/libcrypto/asn1/a_int.c')
-rw-r--r-- | lib/libcrypto/asn1/a_int.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcrypto/asn1/a_int.c b/lib/libcrypto/asn1/a_int.c index 881f08a7669..2c1e38ac1a6 100644 --- a/lib/libcrypto/asn1/a_int.c +++ b/lib/libcrypto/asn1/a_int.c @@ -347,6 +347,7 @@ ASN1_INTEGER_set(ASN1_INTEGER *a, long v) long d; a->type = V_ASN1_INTEGER; + /* XXX ssl/ssl_asn1.c:i2d_SSL_SESSION() depends upon this bound vae */ if (a->length < (int)(sizeof(long) + 1)) { free(a->data); a->data = calloc(1, sizeof(long) + 1); |