diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-03-05 13:41:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-03-05 14:47:48 +0000 |
commit | 6ef869d7d0a9d2e7ea7908c0b5aab1cb451e00fa (patch) | |
tree | 057b8c4f5460cc5bd09c8768a81fa07a9ebc6cb2 /crypto/ocsp/ocsp_cl.c | |
parent | fd865cadcb603918bdcfcf44e487721c657a1117 (diff) | |
download | openssl-new-6ef869d7d0a9d2e7ea7908c0b5aab1cb451e00fa.tar.gz |
Make OCSP structures opaque.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/ocsp/ocsp_cl.c')
-rw-r--r-- | crypto/ocsp/ocsp_cl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c index 7e6ccdd4af..78d817db9e 100644 --- a/crypto/ocsp/ocsp_cl.c +++ b/crypto/ocsp/ocsp_cl.c @@ -73,6 +73,7 @@ #include <openssl/pem.h> #include <openssl/x509v3.h> #include <openssl/ocsp.h> +#include "ocsp_lcl.h" /* * Utility functions related to sending OCSP requests and extracting relevant @@ -216,6 +217,11 @@ OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp) return ASN1_item_unpack(rb->response, ASN1_ITEM_rptr(OCSP_BASICRESP)); } +ASN1_OCTET_STRING *OCSP_resp_get0_signature(OCSP_BASICRESP *bs) +{ + return bs->signature; +} + /* * Return number of OCSP_SINGLERESP reponses present in a basic response. */ |