diff options
author | jsing <> | 2018-03-17 14:44:34 +0000 |
---|---|---|
committer | jsing <> | 2018-03-17 14:44:34 +0000 |
commit | 3336e4a90f6da91d1f671bf921ad0384535d15c8 (patch) | |
tree | 7f27b7fd9a159fde0e65289be2886bff46655a7d /src/lib/libcrypto/ocsp/ocsp_cl.c | |
parent | e1a22b8c62b92cd313093f7abfeac785adc963e5 (diff) | |
download | openbsd-3336e4a90f6da91d1f671bf921ad0384535d15c8.tar.gz openbsd-3336e4a90f6da91d1f671bf921ad0384535d15c8.tar.bz2 openbsd-3336e4a90f6da91d1f671bf921ad0384535d15c8.zip |
Provide OCSP_SINGLERESP_get0_id().
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_cl.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: ocsp_cl.c,v 1.14 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: ocsp_cl.c,v 1.15 2018/03/17 14:44:34 jsing 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 | ||
@@ -390,3 +390,9 @@ OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, | |||
390 | 390 | ||
391 | return 1; | 391 | return 1; |
392 | } | 392 | } |
393 | |||
394 | const OCSP_CERTID * | ||
395 | OCSP_SINGLERESP_get0_id(const OCSP_SINGLERESP *single) | ||
396 | { | ||
397 | return single->certId; | ||
398 | } | ||