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_1-pre1~301 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=eb48052ec96a7551391b5955f03f5ef70b3528f6;ds=sidebyside Fix more OCSP_resp_get0_signer() nits Fix a typo for "retrieve" and some indentation. Reviewed-by: Kurt Roeckx (Merged from https://github.com/openssl/openssl/pull/4919) --- 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. 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