summaryrefslogtreecommitdiff
path: root/src/crypt.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-03-21 16:58:29 +0000
committerSimon Josefsson <simon@josefsson.org>2007-03-21 16:58:29 +0000
commitfe3257c2615d81805c1e149ba95295c3f19a9909 (patch)
tree92735b36289a98bc22335172e23222e515b6a216 /src/crypt.c
parent1e367da94efe28c67b675efb69e7963e52aee20a (diff)
downloadgnutls-fe3257c2615d81805c1e149ba95295c3f19a9909.tar.gz
Use size_t at appropriate places. Tiny patch by Deanna Phillips
<deanna@sdf.lonestar.org>.
Diffstat (limited to 'src/crypt.c')
-rw-r--r--src/crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypt.c b/src/crypt.c
index 8af67b8997..8f46fe116d 100644
--- a/src/crypt.c
+++ b/src/crypt.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2006 Simon Josefsson
+ * Copyright (C) 2004, 2005, 2006, 2007 Simon Josefsson
* Copyright (C) 2001,2003 Nikos Mavroyanopoulos
* Copyright (C) 2004 Free Software Foundation
*
@@ -187,7 +187,7 @@ _verify_passwd_int (const char *username, const char *passwd,
{
char _salt[1024];
gnutls_datum tmp, raw_salt, new_verifier;
- int salt_size;
+ size_t salt_size;
char *pos;
if (salt == NULL || verifier == NULL)