New option no-ssl3-method which removes SSLv3_*method
[openssl.git] / crypto / ts / ts_conf.c
index fef8eeef324a50d3c0d3cbc58f0551bceed19816..c39be76f28432628ff763b5487976b3daa5990cc 100644 (file)
 
 #include <string.h>
 
+#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. */
@@ -183,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)
        {
@@ -228,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)
        {