From 7e58aa7d71c08929f61d24e221174ed35c210795 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Thu, 21 Mar 2002 19:16:02 +0000 Subject: [PATCH] Fix buggy if-condition (thomas poindessous ). --- demos/maurice/example1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1