summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pkcs12
diff options
context:
space:
mode:
authorkenjiro <>2026-07-31 00:50:52 +0000
committerkenjiro <>2026-07-31 00:50:52 +0000
commite1b703522865e8996212ffc767bc616d3a7bc7b0 (patch)
tree04d3ad9ad4f09bcdb811daf80f2774e6d828e985 /src/lib/libcrypto/pkcs12
parent3d5c26fca686ebb3960c3fa26ceab85b5a95c559 (diff)
downloadopenbsd-e1b703522865e8996212ffc767bc616d3a7bc7b0.tar.gz
openbsd-e1b703522865e8996212ffc767bc616d3a7bc7b0.tar.bz2
openbsd-e1b703522865e8996212ffc767bc616d3a7bc7b0.zip
Add missing internal header includes
Include the relevant internal headers in implementation files that define internal functions. Also make asn1_local.h and pkcs12_local.h self-contained by including their corresponding public headers. ok tb beck
Diffstat (limited to 'src/lib/libcrypto/pkcs12')
-rw-r--r--src/lib/libcrypto/pkcs12/p12_decr.c3
-rw-r--r--src/lib/libcrypto/pkcs12/pkcs12_local.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs12/p12_decr.c b/src/lib/libcrypto/pkcs12/p12_decr.c
index 3090781eba..b4d8c4e7f8 100644
--- a/src/lib/libcrypto/pkcs12/p12_decr.c
+++ b/src/lib/libcrypto/pkcs12/p12_decr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p12_decr.c,v 1.28 2026/01/27 14:03:01 tb Exp $ */ 1/* $OpenBSD: p12_decr.c,v 1.29 2026/07/31 00:50:52 kenjiro 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 1999. 3 * project 1999.
4 */ 4 */
@@ -63,6 +63,7 @@
63 63
64#include "err_local.h" 64#include "err_local.h"
65#include "evp_local.h" 65#include "evp_local.h"
66#include "pkcs12_local.h"
66 67
67/* Encrypt/Decrypt a buffer based on password and algor, result in a 68/* Encrypt/Decrypt a buffer based on password and algor, result in a
68 * malloc'ed buffer 69 * malloc'ed buffer
diff --git a/src/lib/libcrypto/pkcs12/pkcs12_local.h b/src/lib/libcrypto/pkcs12/pkcs12_local.h
index 4a3ce4b3f0..b076784d89 100644
--- a/src/lib/libcrypto/pkcs12/pkcs12_local.h
+++ b/src/lib/libcrypto/pkcs12/pkcs12_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: pkcs12_local.h,v 1.6 2025/03/09 15:45:52 tb Exp $ */ 1/* $OpenBSD: pkcs12_local.h,v 1.7 2026/07/31 00:50:52 kenjiro 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 1999. 3 * project 1999.
4 */ 4 */
@@ -59,6 +59,8 @@
59#ifndef HEADER_PKCS12_LOCAL_H 59#ifndef HEADER_PKCS12_LOCAL_H
60#define HEADER_PKCS12_LOCAL_H 60#define HEADER_PKCS12_LOCAL_H
61 61
62#include <openssl/pkcs12.h>
63
62__BEGIN_HIDDEN_DECLS 64__BEGIN_HIDDEN_DECLS
63 65
64struct PKCS12_MAC_DATA_st { 66struct PKCS12_MAC_DATA_st {