From b111c5b8ce6de660578a0d27f1c012c37a250c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lutz=20J=C3=A4nicke?= Date: Thu, 21 Mar 2002 19:14:56 +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 0e70523a33..521527049d 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);