pk7_attr.c: tidy includes
authortb <tb@openbsd.org>
Mon, 19 Feb 2024 15:37:44 +0000 (15:37 +0000)
committertb <tb@openbsd.org>
Mon, 19 Feb 2024 15:37:44 +0000 (15:37 +0000)
lib/libcrypto/pkcs7/pk7_attr.c

index 5eff524..52463aa 100644 (file)
@@ -1,4 +1,4 @@
-/* $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)