aboutsummaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-10-28 22:40:40 +0000
committerRichard Levitte <levitte@openssl.org>2000-10-28 22:40:40 +0000
commit32d862ede4540acfdc8fe7f56bf583f7a2be3dbb (patch)
treedfe7455ed8f0d32e9c171f76122643cbb6b8dc58 /apps/x509.c
parenta44f26d5c90c068e585faffeebe10cc9c51b9e78 (diff)
downloadopenssl-32d862ede4540acfdc8fe7f56bf583f7a2be3dbb.tar.gz
Add the possibility to use keys handled by engines in more
applications.
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/x509.c b/apps/x509.c
index ea5b0b8526..de25790145 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -853,7 +853,7 @@ bad:
if (Upkey == NULL)
{
Upkey=load_key(bio_err,
- keyfile,keyformat, passin);
+ keyfile,keyformat, passin, e);
if (Upkey == NULL) goto end;
}
#ifndef NO_DSA
@@ -871,7 +871,8 @@ bad:
if (CAkeyfile != NULL)
{
CApkey=load_key(bio_err,
- CAkeyfile,CAkeyformat, passin);
+ CAkeyfile,CAkeyformat, passin,
+ e);
if (CApkey == NULL) goto end;
}
#ifndef NO_DSA
@@ -898,7 +899,7 @@ bad:
else
{
pk=load_key(bio_err,
- keyfile,FORMAT_PEM, passin);
+ keyfile,FORMAT_PEM, passin, e);
if (pk == NULL) goto end;
}