From: Lutz Jänicke Date: Thu, 21 Mar 2002 19:16:02 +0000 (+0000) Subject: Fix buggy if-condition (thomas poindessous ). X-Git-Tag: OpenSSL_0_9_6d~20^2~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7e58aa7d71c08929f61d24e221174ed35c210795;p=oweals%2Fopenssl.git Fix buggy if-condition (thomas poindessous ). --- diff --git a/demos/maurice/example1.c b/demos/maurice/example1.c index da2c6d31c5..1ef8299900 100644 --- a/demos/maurice/example1.c +++ b/demos/maurice/example1.c @@ -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);