summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2024-03-29 02:22:18 +0000
committerjsing <>2024-03-29 02:22:18 +0000
commitafa268daab7803faa5d66e8692a9a14e96698389 (patch)
tree584d648b7ecad7c2c9132a7cead70e2a579dbd7e
parent7536eba9a09ea33b8a77ea48b1384919b4c61aa2 (diff)
downloadopenbsd-afa268daab7803faa5d66e8692a9a14e96698389.tar.gz
openbsd-afa268daab7803faa5d66e8692a9a14e96698389.tar.bz2
openbsd-afa268daab7803faa5d66e8692a9a14e96698389.zip
Stop using pem2.h.
Somewhere in the past 25 years, the circular dependency between err and pem went away. Stop pulling in pem2.h and just use pem.h directly (pem2.h can probably be removed at some point, but that remains for another day). ok joshua@ tb@
-rw-r--r--src/lib/libcrypto/err/err_all.c4
-rw-r--r--src/lib/libcrypto/pem/pem.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/err/err_all.c b/src/lib/libcrypto/err/err_all.c
index ea6c0af409..9f135a2f58 100644
--- a/src/lib/libcrypto/err/err_all.c
+++ b/src/lib/libcrypto/err/err_all.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: err_all.c,v 1.35 2024/03/24 06:05:41 tb Exp $ */ 1/* $OpenBSD: err_all.c,v 1.36 2024/03/29 02:22:18 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -74,7 +74,7 @@
74#include <openssl/kdf.h> 74#include <openssl/kdf.h>
75#include <openssl/objects.h> 75#include <openssl/objects.h>
76#include <openssl/ocsp.h> 76#include <openssl/ocsp.h>
77#include <openssl/pem2.h> 77#include <openssl/pem.h>
78#include <openssl/pkcs12.h> 78#include <openssl/pkcs12.h>
79#include <openssl/rand.h> 79#include <openssl/rand.h>
80#include <openssl/ts.h> 80#include <openssl/ts.h>
diff --git a/src/lib/libcrypto/pem/pem.h b/src/lib/libcrypto/pem/pem.h
index 130acbccf4..af841caee6 100644
--- a/src/lib/libcrypto/pem/pem.h
+++ b/src/lib/libcrypto/pem/pem.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: pem.h,v 1.26 2023/04/25 17:51:36 tb Exp $ */ 1/* $OpenBSD: pem.h,v 1.27 2024/03/29 02:22:18 jsing Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -69,7 +69,6 @@
69#endif 69#endif
70#include <openssl/evp.h> 70#include <openssl/evp.h>
71#include <openssl/x509.h> 71#include <openssl/x509.h>
72#include <openssl/pem2.h>
73 72
74#ifdef __cplusplus 73#ifdef __cplusplus
75extern "C" { 74extern "C" {