From: Nikos Mavrogiannopoulos Date: Wed, 16 Nov 2005 16:07:38 +0000 (+0000) Subject: Corrected a bug in certtool for 64 bit machines. Reported by Max Kellermann . --- diff --git a/NEWS b/NEWS index 3538e29dbc..6dd445486a 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,9 @@ See the end for copying conditions. ** Support for DHE-PSK cipher suites has been added. +** Corrected a bug in certtool for 64 bit machines. Reported +by Max Kellermann . + * Version 1.3.0 (2005-11-15) diff --git a/src/certtool.c b/src/certtool.c index 2bb51463dc..faae4414ef 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -277,7 +277,8 @@ generate_certificate (gnutls_x509_privkey * ret_key, gnutls_x509_crt ca_crt) { gnutls_x509_crt crt; gnutls_x509_privkey key = NULL; - int size, serial, client; + size_t size; + int serial, client; int days, result, ca_status; const char *str; int vers = 3; /* the default version in the certificate