summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/auth_rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index 1f34ae3459..0561e6818e 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -220,7 +220,7 @@ int gen_rsa_client_kx(GNUTLS_STATE state, opaque ** data)
CERTIFICATE_AUTH_INFO auth = state->gnutls_key->auth_info;
gnutls_datum sdata; /* data to send */
MPI params[MAX_PARAMS_SIZE];
- int params_len;
+ int params_len = MAX_PARAMS_SIZE;
int ret, i;
GNUTLS_Version ver;