From: Simon Josefsson Date: Wed, 13 May 2009 12:42:39 +0000 (+0200) Subject: Fix crash. X-Git-Tag: gnutls_2_7_10~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9132dfdcc2cdb2de3e3e2ffc1f0328c1369de794;p=thirdparty%2Fgnutls.git Fix crash. --- diff --git a/lib/pk-libgcrypt.c b/lib/pk-libgcrypt.c index e61b5392c3..861117b411 100644 --- a/lib/pk-libgcrypt.c +++ b/lib/pk-libgcrypt.c @@ -402,7 +402,7 @@ _wrap_gcry_pk_verify (gnutls_pk_algorithm_t algo, const gnutls_datum_t * signature, const gnutls_pk_params_st * pk_params) { - gcry_sexp_t s_sig, s_hash, s_pkey; + gcry_sexp_t s_sig = NULL, s_hash = NULL, s_pkey = NULL; int rc = -1, ret; bigint_t hash; bigint_t tmp[2] = { NULL, NULL };