diff options
author | James Booth <boothj5@gmail.com> | 2016-03-29 21:30:41 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-03-29 21:30:41 +0100 |
commit | 66467f976f28579009b33b4759616eb31693de50 (patch) | |
tree | 935faa868a30f0bf9a401d500b16de50cb4dc277 /src/pgp | |
parent | 7b138b71db8cabfd228ecf61b406fe194aee19fb (diff) | |
download | profani-tty-66467f976f28579009b33b4759616eb31693de50.tar.gz |
PGP: Fixed array size for encryption keys
Diffstat (limited to 'src/pgp')
-rw-r--r-- | src/pgp/gpg.c | 2 |
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; |