From 66467f976f28579009b33b4759616eb31693de50 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 29 Mar 2016 21:30:41 +0100 Subject: PGP: Fixed array size for encryption keys --- src/pgp/gpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pgp') diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c index 1884bfa9..8900915b 100644 --- a/src/pgp/gpg.c +++ b/src/pgp/gpg.c @@ -603,7 +603,7 @@ p_gpg_encrypt(const char *const barejid, const char *const message, const char * return NULL; } - gpgme_key_t keys[2]; + gpgme_key_t keys[3]; keys[0] = NULL; keys[1] = NULL; -- cgit 1.4.1-2-gfad0