-/* $OpenBSD: pk7_attr.c,v 1.14 2023/02/16 08:38:17 tb Exp $ */
+/* $OpenBSD: pk7_attr.c,v 1.15 2024/02/19 15:37:44 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2001.
*/
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <openssl/bio.h>
+
#include <openssl/asn1.h>
-#include <openssl/asn1t.h>
-#include <openssl/pem.h>
+#include <openssl/err.h>
+#include <openssl/objects.h>
#include <openssl/pkcs7.h>
#include <openssl/x509.h>
-#include <openssl/err.h>
int
PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, STACK_OF(X509_ALGOR) *cap)