summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-11-16 16:07:38 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-11-16 16:07:38 +0000
commit708e6e05a567e741ef67b428eba500eb6baca8a6 (patch)
treee2231f385bcfb801abe25fde391875ae17aadcb0 /src
parent64f821b18dbe07ba8ee8d08ab0552369dff6eecd (diff)
downloadgnutls-708e6e05a567e741ef67b428eba500eb6baca8a6.tar.gz
Corrected a bug in certtool for 64 bit machines. Reported by Max Kellermann <max@duempel.org>.
Diffstat (limited to 'src')
-rw-r--r--src/certtool.c3
1 files changed, 2 insertions, 1 deletions
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