]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Corrected a bug in certtool for 64 bit machines. Reported by Max Kellermann <max...
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 16 Nov 2005 16:07:38 +0000 (16:07 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 16 Nov 2005 16:07:38 +0000 (16:07 +0000)
NEWS
src/certtool.c

diff --git a/NEWS b/NEWS
index 3538e29dbc2d288b83832455fc75c7a827bdd51e..6dd445486ada42b1ebdbca3cf06c640f2bf2bc93 100644 (file)
--- 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 <max@duempel.org>.
+
 
 * Version 1.3.0 (2005-11-15)
 
index 2bb51463dc8272af2e974fbda9bfd09ca324bea2..faae4414ef7d9836e57261a0e7b6bedc93e357a5 100644 (file)
@@ -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