Skip to content

Commit

Permalink
Use inner algorithm when printing certificate.
Browse files Browse the repository at this point in the history
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 004efdb)
  • Loading branch information
dcsp authored and snhenson committed Jan 22, 2015
1 parent 3577e01 commit f11818c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/asn1/t_x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
}

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;
#if 0
if (BIO_printf(bp, "%8sSignature Algorithm: ", "") <= 0)
Expand Down

0 comments on commit f11818c

Please sign in to comment.