summaryrefslogtreecommitdiff
path: root/lib/libcrypto/cms/cms_sd.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-08-11 10:15:31 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-08-11 10:15:31 +0000
commit971b3acd8a62b0bb0f8e2b65f9df5e489a2c8efc (patch)
treef4e02f68d6aca1e01080feb01bf80397123a890e /lib/libcrypto/cms/cms_sd.c
parent8399dd5e9deda4c73ca24f242031680bf9977a75 (diff)
Expand ASN.1 macros.
Diffstat (limited to 'lib/libcrypto/cms/cms_sd.c')
-rw-r--r--lib/libcrypto/cms/cms_sd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/cms/cms_sd.c b/lib/libcrypto/cms/cms_sd.c
index 6c65844c935..2289c7e8a31 100644
--- a/lib/libcrypto/cms/cms_sd.c
+++ b/lib/libcrypto/cms/cms_sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_sd.c,v 1.17 2019/08/10 18:15:52 jsing Exp $ */
+/* $OpenBSD: cms_sd.c,v 1.18 2019/08/11 10:15:30 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -741,7 +741,7 @@ CMS_SignerInfo_sign(CMS_SignerInfo *si)
}
alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf,
- ASN1_ITEM_rptr(CMS_Attributes_Sign));
+ &CMS_Attributes_Sign_it);
if (!abuf)
goto err;
if (EVP_DigestSignUpdate(mctx, abuf, alen) <= 0)
@@ -802,7 +802,7 @@ CMS_SignerInfo_verify(CMS_SignerInfo *si)
goto err;
alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf,
- ASN1_ITEM_rptr(CMS_Attributes_Verify));
+ &CMS_Attributes_Verify_it);
if (!abuf)
goto err;
r = EVP_DigestVerifyUpdate(mctx, abuf, alen);