about summary refs log tree commit diff stats
path: root/src/pgp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pgp')
-rw-r--r--src/pgp/gpg.c2
1 files changed, 1 insertions, 1 deletions
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;