summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-13 14:42:39 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-13 14:42:39 +0200
commit9132dfdcc2cdb2de3e3e2ffc1f0328c1369de794 (patch)
tree6e00d218921f987655e9f9ea455f3c0aa470f2f5
parent7fca2f17d4a0137a88aea39d37fb93496dda9826 (diff)
downloadgnutls-9132dfdcc2cdb2de3e3e2ffc1f0328c1369de794.tar.gz
Fix crash.
-rw-r--r--lib/pk-libgcrypt.c2
1 files changed, 1 insertions, 1 deletions
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 };