aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ts/ts_conf.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 /crypto/ts/ts_conf.c
parent75bbf6e14c14583a7fd3c1ca03888d4eb5568d4f (diff)
downloadopenssl-70531c147c2d38b03f109312a270ccc0af6cf8d6.tar.gz
Make no-engine work again.
Diffstat (limited to 'crypto/ts/ts_conf.c')
-rw-r--r--crypto/ts/ts_conf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ts/ts_conf.c b/crypto/ts/ts_conf.c
index fbd294b4ba..c39be76f28 100644
--- a/crypto/ts/ts_conf.c
+++ b/crypto/ts/ts_conf.c
@@ -61,7 +61,9 @@
#include <openssl/crypto.h>
#include "cryptlib.h"
#include <openssl/pem.h>
+#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
+#endif
#include <openssl/ts.h>
/* Macro definitions for the configuration file. */
@@ -185,6 +187,8 @@ int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
return ret;
}
+#ifndef OPENSSL_NO_ENGINE
+
int TS_CONF_set_crypto_device(CONF *conf, const char *section,
const char *device)
{
@@ -230,6 +234,8 @@ int TS_CONF_set_default_engine(const char *name)
return ret;
}
+#endif
+
int TS_CONF_set_signer_cert(CONF *conf, const char *section,
const char *cert, TS_RESP_CTX *ctx)
{