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

This commit is contained in:
Lutz Jänicke 2002-03-21 19:16:02 +00:00
parent be3d90de02
commit 7e58aa7d71

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