Oops... fix PKCS#7 bug properly this time.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 22 Mar 2001 18:03:22 +0000 (18:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 22 Mar 2001 18:03:22 +0000 (18:03 +0000)
crypto/asn1/p7_lib.c

index 7a5baff8dd59fe033fda14853644ee46a7896d38..8a340b01190ef21be5f03877c6fba0bfaed6c8f6 100644 (file)
@@ -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;