summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/demos/maurice/example1.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-07-30 12:44:15 +0000
committernectar <nectar@FreeBSD.org>2002-07-30 12:44:15 +0000
commit050218e0d0c68a2e1a37afaab11e3c586d4f1b7d (patch)
tree923cfb7864437086b0894ec802dea54af2f73581 /crypto/openssl/demos/maurice/example1.c
parentef94fba97d02831a278eed043f886d0fdddabf34 (diff)
parent0aed2eea83b351d68092e43b5a9496ce3dd5043d (diff)
downloadFreeBSD-src-050218e0d0c68a2e1a37afaab11e3c586d4f1b7d.zip
FreeBSD-src-050218e0d0c68a2e1a37afaab11e3c586d4f1b7d.tar.gz
This commit was generated by cvs2svn to compensate for changes in r100928,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssl/demos/maurice/example1.c')
-rw-r--r--crypto/openssl/demos/maurice/example1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/demos/maurice/example1.c b/crypto/openssl/demos/maurice/example1.c
index 0e70523..52152704 100644
--- a/crypto/openssl/demos/maurice/example1.c
+++ b/crypto/openssl/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);
OpenPOWER on IntegriCloud