From f13a71c66b9193d52e3e21c6e57c0ab81ebb947c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 18 May 2006 17:46:56 +0000 Subject: [PATCH] Typo. --- crypto/pkcs7/pk7_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/pkcs7/pk7_attr.c b/crypto/pkcs7/pk7_attr.c index 5ad6670a4e..7df59b7358 100644 --- a/crypto/pkcs7/pk7_attr.c +++ b/crypto/pkcs7/pk7_attr.c @@ -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); -- 2.25.1