Skip to content

Commit

Permalink
Oops...
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Jul 9, 2006
1 parent 65a82ef commit eb499b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/pkcs7/pk7_smime.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
}
}

if(flags & PKCS7_DETACHED)PKCS7_set_detached(p7, 1);

if (flags & PKCS7_STREAM)
return p7;

if(flags & PKCS7_DETACHED)PKCS7_set_detached(p7, 1);

if (!(p7bio = PKCS7_dataInit(p7, NULL))) {
PKCS7err(PKCS7_F_PKCS7_SIGN,ERR_R_MALLOC_FAILURE);
Expand Down

0 comments on commit eb499b2

Please sign in to comment.