1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

PGP: Fixed array size for encryption keys

This commit is contained in:
James Booth 2016-03-29 21:30:41 +01:00
parent 7b138b71db
commit 66467f976f

View File

@ -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;