forked from pool/gnutls
13 lines
456 B
Diff
13 lines
456 B
Diff
Index: gnutls-1.6.1/src/crypt.c
|
|
===================================================================
|
|
--- gnutls-1.6.1.orig/src/crypt.c
|
|
+++ gnutls-1.6.1/src/crypt.c
|
|
@@ -220,6 +220,7 @@ _verify_passwd_int (const char *username
|
|
|
|
/* encode the verifier into _salt */
|
|
salt_size = sizeof (_salt);
|
|
+ memset(_salt, '\0', salt_size);
|
|
if (gnutls_srp_base64_encode (&new_verifier, _salt, &salt_size) < 0)
|
|
{
|
|
fprintf (stderr, "Encoding error\n");
|