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:
authorRichard Levitte <levitte@openssl.org>2002-03-31 03:36:17 +0400
committerRichard Levitte <levitte@openssl.org>2002-03-31 03:36:17 +0400
commitc14688ec73d9c5fa7b85c55f947b301d26425973 (patch)
treea838210647d5f9fc17a4240c27b2250aa4905eed /demos
parentff0a0c46a7ba5d48054aced40c121be6cb7f34f6 (diff)
Merge in changes from 0.9.6-stable. This should definitely be done a
little more often.
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 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);