Fix more OCSP_resp_get0_signer() nits
authorBen Kaduk <kaduk@mit.edu>
Tue, 12 Dec 2017 17:41:26 +0000 (11:41 -0600)
committerBen Kaduk <kaduk@mit.edu>
Wed, 13 Dec 2017 01:08:22 +0000 (19:08 -0600)
Fix a typo for "retrieve" and some indentation.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(cherry picked from commit eb48052ec96a7551391b5955f03f5ef70b3528f6)

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4723)

crypto/ocsp/ocsp_vfy.c
doc/crypto/OCSP_resp_find_status.pod

index 89147d93ae9f1ac72b8cc21ddc328d5b8b576b9e..9a8d343866217eb0215856a9ef3f154a9dc9a0cc 100644 (file)
@@ -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;
 
index c54ec715eade9a4dbde65e82d478a0447426e155..5123f0ad6da4880ab4d4e22a439316f62b7b98e0 100644 (file)
@@ -76,7 +76,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