From: Ben Kaduk Date: Tue, 12 Dec 2017 17:41:26 +0000 (-0600) Subject: Fix more OCSP_resp_get0_signer() nits X-Git-Tag: OpenSSL_1_1_0h~158 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dea20b941f68c60fbe1885ecf8156a76eb30789a;p=oweals%2Fopenssl.git Fix more OCSP_resp_get0_signer() nits Fix a typo for "retrieve" and some indentation. Reviewed-by: Kurt Roeckx (cherry picked from commit eb48052ec96a7551391b5955f03f5ef70b3528f6) Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4723) --- 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/crypto/OCSP_resp_find_status.pod b/doc/crypto/OCSP_resp_find_status.pod index c54ec715ea..5123f0ad6d 100644 --- a/doc/crypto/OCSP_resp_find_status.pod +++ b/doc/crypto/OCSP_resp_find_status.pod @@ -76,7 +76,7 @@ single response B. OCSP_resp_get0_certs() returns any certificates included in B. -OCSP_resp_get0_signer() attempts to retrive the certificate that directly +OCSP_resp_get0_signer() attempts to retrieve the certificate that directly signed B. The OCSP protocol does not require that this certificate is included in the B field of the response, so additional certificates can be supplied in B if the certificates that may have