From: Dr. Stephen Henson Date: Thu, 22 Mar 2001 18:03:22 +0000 (+0000) Subject: Oops... fix PKCS#7 bug properly this time. X-Git-Tag: OpenSSL_0_9_6a-beta3~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3485cdb98ea0262c0488105781ad823ddf7519ef;p=oweals%2Fopenssl.git Oops... fix PKCS#7 bug properly this time. --- diff --git a/crypto/asn1/p7_lib.c b/crypto/asn1/p7_lib.c index 7a5baff8dd..8a340b0119 100644 --- a/crypto/asn1/p7_lib.c +++ b/crypto/asn1/p7_lib.c @@ -314,8 +314,8 @@ PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp, long length) c.line=__LINE__; goto err; } - } c.slen-=(c.p-c.q); + } } else ret->detached=1;