From: Nikos Mavrogiannopoulos Date: Mon, 23 May 2011 20:57:26 +0000 (+0200) Subject: SHA256 is the default hash algorithm in certtool. X-Git-Tag: gnutls_2_99_2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e22fc7cc7bd584c476c726f03b90ef84044ed393;p=thirdparty%2Fgnutls.git SHA256 is the default hash algorithm in certtool. --- diff --git a/src/certtool.c b/src/certtool.c index dce9c5447e..f35efbb50c 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -50,7 +50,7 @@ #include "certtool-gaa.h" #include "certtool-common.h" -#define SIGN_HASH GNUTLS_DIG_SHA1 +#define SIGN_HASH GNUTLS_DIG_SHA256 static void privkey_info_int (gnutls_x509_privkey_t key); static void print_crl_info (gnutls_x509_crl_t crl, FILE * out);