Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).

This commit is contained in:
Lutz Jänicke 2002-03-21 19:14:56 +00:00
parent 7228bfb439
commit b111c5b8ce

View file

@ -72,7 +72,7 @@ void main_encrypt(void)
pubKey[0] = ReadPublicKey(PUBFILE);
if(!pubKey)
if(!pubKey[0])
{
fprintf(stderr,"Error: can't load public key");
exit(1);