From 3336e4a90f6da91d1f671bf921ad0384535d15c8 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 17 Mar 2018 14:44:34 +0000 Subject: Provide OCSP_SINGLERESP_get0_id(). --- src/lib/libcrypto/ocsp/ocsp_cl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/ocsp/ocsp_cl.c') diff --git a/src/lib/libcrypto/ocsp/ocsp_cl.c b/src/lib/libcrypto/ocsp/ocsp_cl.c index 04ea6866a5..c2cd9da09a 100644 --- a/src/lib/libcrypto/ocsp/ocsp_cl.c +++ b/src/lib/libcrypto/ocsp/ocsp_cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp_cl.c,v 1.14 2017/01/29 17:49:23 beck Exp $ */ +/* $OpenBSD: ocsp_cl.c,v 1.15 2018/03/17 14:44:34 jsing Exp $ */ /* Written by Tom Titchener for the OpenSSL * project. */ @@ -390,3 +390,9 @@ OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, return 1; } + +const OCSP_CERTID * +OCSP_SINGLERESP_get0_id(const OCSP_SINGLERESP *single) +{ + return single->certId; +} -- cgit v1.2.3-55-g6feb