mirror of
https://github.com/openssl/openssl.git
synced 2024-11-25 19:13:48 +08:00
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
This commit is contained in:
parent
be3d90de02
commit
7e58aa7d71
@ -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 New Issue
Block a user