]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix crash.
authorSimon Josefsson <simon@josefsson.org>
Wed, 13 May 2009 12:42:39 +0000 (14:42 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 13 May 2009 12:42:39 +0000 (14:42 +0200)
lib/pk-libgcrypt.c

index e61b5392c3b6d6b60236f1dcdd6c45a620ab07cc..861117b41162586143fbfb9ac61c801dc39efba1 100644 (file)
@@ -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 };