From 70531c147c2d38b03f109312a270ccc0af6cf8d6 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 20 Dec 2008 17:04:40 +0000 Subject: Make no-engine work again. --- apps/ts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/ts.c') 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; -- cgit v1.2.3