diff options
author | Ben Kaduk <kaduk@mit.edu> | 2017-12-12 11:41:26 -0600 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2017-12-12 16:46:11 -0600 |
commit | eb48052ec96a7551391b5955f03f5ef70b3528f6 (patch) | |
tree | e2e08ba748856966cbbd812622822c865a893ecf | |
parent | 631c37be3239aab846c14643d03cf127d8778197 (diff) |
Fix more OCSP_resp_get0_signer() nits
Fix a typo for "retrieve" and some indentation.
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/4919)
-rw-r--r-- | crypto/ocsp/ocsp_vfy.c | 2 | ||||
-rw-r--r-- | doc/man3/OCSP_resp_find_status.pod | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c index 89147d93ae..9a8d343866 100644 --- a/crypto/ocsp/ocsp_vfy.c +++ b/crypto/ocsp/ocsp_vfy.c @@ -139,7 +139,7 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, } int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer, - STACK_OF(X509) *extra_certs) + STACK_OF(X509) *extra_certs) { int ret; diff --git a/doc/man3/OCSP_resp_find_status.pod b/doc/man3/OCSP_resp_find_status.pod index 72afea73d7..af7fb1dea6 100644 --- a/doc/man3/OCSP_resp_find_status.pod +++ b/doc/man3/OCSP_resp_find_status.pod @@ -80,7 +80,7 @@ single response B<bs>. OCSP_resp_get0_certs() returns any certificates included in B<bs>. -OCSP_resp_get0_signer() attempts to retrive the certificate that directly +OCSP_resp_get0_signer() attempts to retrieve the certificate that directly signed B<bs>. The OCSP protocol does not require that this certificate is included in the B<certs> field of the response, so additional certificates can be supplied in B<extra_certs> if the certificates that may have |