summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-02-19 15:37:44 +0000
committertb <>2024-02-19 15:37:44 +0000
commitf91bfb97798b3d6d7b7488e3ac55a6e61c23451b (patch)
treef812a8bb443d4710fe4e4ed726447fcf79d32321
parent88609c61aec3732d110011eb1718f26a6a976eba (diff)
downloadopenbsd-f91bfb97798b3d6d7b7488e3ac55a6e61c23451b.tar.gz
openbsd-f91bfb97798b3d6d7b7488e3ac55a6e61c23451b.tar.bz2
openbsd-f91bfb97798b3d6d7b7488e3ac55a6e61c23451b.zip
pk7_attr.c: tidy includes
-rw-r--r--src/lib/libcrypto/pkcs7/pk7_attr.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/pkcs7/pk7_attr.c b/src/lib/libcrypto/pkcs7/pk7_attr.c
index 5eff5241ef..52463aa3a3 100644
--- a/src/lib/libcrypto/pkcs7/pk7_attr.c
+++ b/src/lib/libcrypto/pkcs7/pk7_attr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pk7_attr.c,v 1.14 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: pk7_attr.c,v 1.15 2024/02/19 15:37:44 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -57,14 +57,12 @@
57 */ 57 */
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <stdlib.h> 60
61#include <openssl/bio.h>
62#include <openssl/asn1.h> 61#include <openssl/asn1.h>
63#include <openssl/asn1t.h> 62#include <openssl/err.h>
64#include <openssl/pem.h> 63#include <openssl/objects.h>
65#include <openssl/pkcs7.h> 64#include <openssl/pkcs7.h>
66#include <openssl/x509.h> 65#include <openssl/x509.h>
67#include <openssl/err.h>
68 66
69int 67int
70PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, STACK_OF(X509_ALGOR) *cap) 68PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, STACK_OF(X509_ALGOR) *cap)