New option no-ssl3-method which removes SSLv3_*method
[openssl.git] / crypto / ts / ts_conf.c
index fbd294b4ba5cf320ff9fc032341c66147621ce6e..c39be76f28432628ff763b5487976b3daa5990cc 100644 (file)
@@ -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)
        {