diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-03-21 19:17:06 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-03-21 19:17:06 +0000 |
commit | a89cf50c59e6f306d50ffd085c240a1e7d87188d (patch) | |
tree | d21f10cdb5980b7ec9a23f9f93d2c8fc959d377b /demos | |
parent | f90c544039ce350eec966880b178f9a2efc47985 (diff) |
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'demos')
-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); |