summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-12-20 18:38:19 +0000
committertb <>2023-12-20 18:38:19 +0000
commite517ff45fafa676184f89b80765a47b04013f869 (patch)
treefd44c97944c23d8b299313c1437e5da3937e5333 /src
parent5670cdd12c468a5cd84fe16e17e87aa9ef0a2d5b (diff)
downloadopenbsd-e517ff45fafa676184f89b80765a47b04013f869.tar.gz
openbsd-e517ff45fafa676184f89b80765a47b04013f869.tar.bz2
openbsd-e517ff45fafa676184f89b80765a47b04013f869.zip
Clean up includes in cms_pwri.c
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/cms/cms_pwri.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/libcrypto/cms/cms_pwri.c b/src/lib/libcrypto/cms/cms_pwri.c
index 9ea7cfdcb0..a5581a58bb 100644
--- a/src/lib/libcrypto/cms/cms_pwri.c
+++ b/src/lib/libcrypto/cms/cms_pwri.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_pwri.c,v 1.29 2023/07/08 08:26:26 beck Exp $ */ 1/* $OpenBSD: cms_pwri.c,v 1.30 2023/12/20 18:38:19 tb Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -52,18 +52,20 @@
52 * ==================================================================== 52 * ====================================================================
53 */ 53 */
54 54
55#include <sys/types.h>
56
57#include <stdlib.h>
55#include <string.h> 58#include <string.h>
56 59
57#include "cryptlib.h" 60#include <openssl/asn1.h>
58#include <openssl/asn1t.h>
59#include <openssl/pem.h>
60#include <openssl/x509v3.h>
61#include <openssl/err.h> 61#include <openssl/err.h>
62#include <openssl/evp.h>
62#include <openssl/cms.h> 63#include <openssl/cms.h>
63#include <openssl/rand.h> 64#include <openssl/objects.h>
64#include <openssl/aes.h> 65#include <openssl/x509.h>
66
65#include "cms_local.h" 67#include "cms_local.h"
66#include "asn1/asn1_local.h" 68#include "evp_local.h"
67 69
68int 70int
69CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass, 71CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass,