about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-03-29 21:30:41 +0100
committerJames Booth <boothj5@gmail.com>2016-03-29 21:30:41 +0100
commit66467f976f28579009b33b4759616eb31693de50 (patch)
tree935faa868a30f0bf9a401d500b16de50cb4dc277 /src
parent7b138b71db8cabfd228ecf61b406fe194aee19fb (diff)
downloadprofani-tty-66467f976f28579009b33b4759616eb31693de50.tar.gz
PGP: Fixed array size for encryption keys
Diffstat (limited to 'src')
-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;