summaryrefslogtreecommitdiff
path: root/lib/gnutls_srp.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-08-29 11:14:49 +0200
committerSimon Josefsson <simon@josefsson.org>2008-08-29 11:14:49 +0200
commit0c0fdef9b3fb603e8a170a598351aec5c27896c7 (patch)
tree3fcc24d71d4819c2ff18e75b2557945cdc2c3c00 /lib/gnutls_srp.c
parentc6de7cca81ff88231815866178d5d553bed21b7b (diff)
downloadgnutls-0c0fdef9b3fb603e8a170a598351aec5c27896c7.tar.gz
Fix warnings.
Diffstat (limited to 'lib/gnutls_srp.c')
-rw-r--r--lib/gnutls_srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_srp.c b/lib/gnutls_srp.c
index a6722a8e33..2c0c9293ab 100644
--- a/lib/gnutls_srp.c
+++ b/lib/gnutls_srp.c
@@ -284,7 +284,7 @@ _gnutls_calc_srp_A (bigint_t * a, bigint_t g, bigint_t n)
/* generate x = SHA(s | SHA(U | ":" | p))
* The output is exactly 20 bytes
*/
-int
+static int
_gnutls_calc_srp_sha (const char *username, const char *password,
opaque * salt, int salt_size, size_t * size,
void *digest)