Use inner algorithm when printing certificate.
Reviewed-by: Stephen Henson <steve@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit 004efdbb41f731d36bf12d251909aaa08704a756)
This commit is contained in:
parent
cda8845ded
commit
73f8982017
@ -164,7 +164,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(cflag & X509_FLAG_NO_SIGNAME)) {
|
if (!(cflag & X509_FLAG_NO_SIGNAME)) {
|
||||||
if (X509_signature_print(bp, x->sig_alg, NULL) <= 0)
|
if (X509_signature_print(bp, ci->signature, NULL) <= 0)
|
||||||
goto err;
|
goto err;
|
||||||
#if 0
|
#if 0
|
||||||
if (BIO_printf(bp, "%8sSignature Algorithm: ", "") <= 0)
|
if (BIO_printf(bp, "%8sSignature Algorithm: ", "") <= 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user