From eb48052ec96a7551391b5955f03f5ef70b3528f6 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Tue, 12 Dec 2017 11:41:26 -0600 Subject: [PATCH] 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) --- crypto/ocsp/ocsp_vfy.c | 2 +- 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. 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 -- 2.25.1