Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
This commit is contained in:
parent
7228bfb439
commit
b111c5b8ce
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue