提交 eb48052e 编写于 作者: B Ben Kaduk

Fix more OCSP_resp_get0_signer() nits

Fix a typo for "retrieve" and some indentation.
Reviewed-by: NKurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/4919)
上级 631c37be
...@@ -139,7 +139,7 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, ...@@ -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, int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer,
STACK_OF(X509) *extra_certs) STACK_OF(X509) *extra_certs)
{ {
int ret; int ret;
......
...@@ -80,7 +80,7 @@ single response B<bs>. ...@@ -80,7 +80,7 @@ single response B<bs>.
OCSP_resp_get0_certs() returns any certificates included in 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 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 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 can be supplied in B<extra_certs> if the certificates that may have
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册