Typo.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 18 May 2006 17:46:56 +0000 (17:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 18 May 2006 17:46:56 +0000 (17:46 +0000)
crypto/pkcs7/pk7_attr.c

index 5ad6670a4e11c5c283d5f2a070db01a56e41e18c..7df59b7358e299190529225f8bc0bb7a9c8490a2 100644 (file)
@@ -170,7 +170,7 @@ int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si,
        if (!os)
                return 0;
        if (!ASN1_STRING_set(os, md, mdlen)
-               || PKCS7_add_signed_attribute(si, NID_pkcs9_messageDigest,
+               || !PKCS7_add_signed_attribute(si, NID_pkcs9_messageDigest,
                                                V_ASN1_OCTET_STRING, os))
                {
                ASN1_OCTET_STRING_free(os);