Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2002-03-21 22:17:06 +0300
committerLutz Jänicke <jaenicke@openssl.org>2002-03-21 22:17:06 +0300
commita89cf50c59e6f306d50ffd085c240a1e7d87188d (patch)
treed21f10cdb5980b7ec9a23f9f93d2c8fc959d377b /demos
parentf90c544039ce350eec966880b178f9a2efc47985 (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.c2
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);