提交 75ef61d7 编写于 作者: D Dr. Stephen Henson

typo

Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 40ffdc9c
......@@ -318,9 +318,9 @@ X509_NAME *X509_REQ_get_subject_name(X509_REQ *req)
void X509_REQ_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
X509_REQ *req)
{
if (psig == NULL)
if (psig != NULL)
*psig = req->signature;
if (palg == NULL)
if (palg != NULL)
*palg = &req->sig_alg;
}
......
......@@ -166,9 +166,9 @@ STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl)
void X509_CRL_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
X509_CRL *crl)
{
if (psig == NULL)
if (psig != NULL)
*psig = crl->signature;
if (palg == NULL)
if (palg != NULL)
*palg = &crl->sig_alg;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册