summaryrefslogtreecommitdiffstats
path: root/apps/ts.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-12-20 17:04:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-12-20 17:04:40 +0000
commit70531c147c2d38b03f109312a270ccc0af6cf8d6 (patch)
tree0ef375be374bef4018aa0a2c560aaec44c9e6464 /apps/ts.c
parent75bbf6e14c14583a7fd3c1ca03888d4eb5568d4f (diff)
Make no-engine work again.
Diffstat (limited to 'apps/ts.c')
-rw-r--r--apps/ts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/ts.c b/apps/ts.c
index edeab82318..08b8c4a9e1 100644
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -813,9 +813,10 @@ static TS_RESP *create_response(CONF *conf, const char *section, char *engine,
/* Setting serial number provider callback. */
if (!TS_CONF_set_serial(conf, section, serial_cb, resp_ctx)) goto end;
-
+#ifndef OPENSSL_NO_ENGINE
/* Setting default OpenSSL engine. */
if (!TS_CONF_set_crypto_device(conf, section, engine)) goto end;
+#endif
/* Setting TSA signer certificate. */
if (!TS_CONF_set_signer_cert(conf, section, signer, resp_ctx)) goto end;