From 12f5dbb8b43bb3aa41e0dff589de9976c1a7a29e Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 5 Mar 2012 13:37:13 +0000
Subject: [PATCH] - Fixed MD type to SHA1
---
programs/x509/cert_req.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/x509/cert_req.c b/programs/x509/cert_req.c
index df23574fc..ec64e2c50 100644
--- a/programs/x509/cert_req.c
+++ b/programs/x509/cert_req.c
@@ -75,7 +75,7 @@ void write_certificate_request( rsa_context *rsa, x509_req_name *req_name,
size_t len = 0, olen = 4096;
memset(output_buf, 0, 4096);
- ret = x509_write_cert_req( output_buf, 4096, rsa, req_name );
+ ret = x509_write_cert_req( output_buf, 4096, rsa, req_name, SIG_RSA_SHA1 );
if( ret < 0 )
return;