summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp/ocsp_cl.c
diff options
context:
space:
mode:
authortb <>2024-03-02 09:08:41 +0000
committertb <>2024-03-02 09:08:41 +0000
commit571fe2f9899bd7827fb5664d23260ca3313b4042 (patch)
tree4587a5a5615e0deb2c1e1b46cb85fcf3f88e91e9 /src/lib/libcrypto/ocsp/ocsp_cl.c
parent072e3a802a3e57c8384497865cc93a9245048694 (diff)
downloadopenbsd-571fe2f9899bd7827fb5664d23260ca3313b4042.tar.gz
openbsd-571fe2f9899bd7827fb5664d23260ca3313b4042.tar.bz2
openbsd-571fe2f9899bd7827fb5664d23260ca3313b4042.zip
Remove beck's ASN.1 time API from public visibility
This API was needed since OpenSSL didn't have one. We now have variants of OpenSSL's API and will also expose BoringSSL's complementary API. The users of this API were ported to the OpenSSL variants and some may switch to BoringSSL's in the future. Part of it is still used internally. ASN1_time_tm_clamp_notafter() is still used by libtls (and only libtls). This will be fixed in a future bump. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_cl.c')
-rw-r--r--src/lib/libcrypto/ocsp/ocsp_cl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_cl.c b/src/lib/libcrypto/ocsp/ocsp_cl.c
index 89113f78b8..5ef2226785 100644
--- a/src/lib/libcrypto/ocsp/ocsp_cl.c
+++ b/src/lib/libcrypto/ocsp/ocsp_cl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp_cl.c,v 1.23 2023/07/08 10:44:00 beck Exp $ */ 1/* $OpenBSD: ocsp_cl.c,v 1.24 2024/03/02 09:08:41 tb Exp $ */
2/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL 2/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL
3 * project. */ 3 * project. */
4 4
@@ -71,6 +71,7 @@
71#include <openssl/x509.h> 71#include <openssl/x509.h>
72#include <openssl/x509v3.h> 72#include <openssl/x509v3.h>
73 73
74#include "asn1_local.h"
74#include "ocsp_local.h" 75#include "ocsp_local.h"
75 76
76/* Utility functions related to sending OCSP requests and extracting 77/* Utility functions related to sending OCSP requests and extracting