diff options
Diffstat (limited to 'crypto/openssl/demos/maurice/example1.c')
-rw-r--r-- | crypto/openssl/demos/maurice/example1.c | 2 |
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); |