diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-03-21 19:16:02 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-03-21 19:16:02 +0000 |
commit | 7e58aa7d71c08929f61d24e221174ed35c210795 (patch) | |
tree | 02641c4b91680b69adff08a47fcb627ad7d22fd7 | |
parent | be3d90de02138273d054bb9d6b4381754b34676d (diff) | |
download | openssl-new-7e58aa7d71c08929f61d24e221174ed35c210795.tar.gz |
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
-rw-r--r-- | demos/maurice/example1.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |