Embed various signature algorithms.
[openssl.git] / crypto / asn1 / t_req.c
index d9966a3848402e10d39b3bdd50f53dd4f9a2bb0d..8ea350d7a30247547e51a3e6ac15189cc5ef4376 100644 (file)
@@ -227,7 +227,7 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
     }
 
     if (!(cflag & X509_FLAG_NO_SIGDUMP)) {
-        if (!X509_signature_print(bp, x->sig_alg, x->signature))
+        if (!X509_signature_print(bp, &x->sig_alg, x->signature))
             goto err;
     }