Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
Submitted by: Reviewed by: PR:
This commit is contained in:
parent
f90c544039
commit
a89cf50c59
@ -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…
x
Reference in New Issue
Block a user