ENGINE *setup_engine(const char *engine, int debug)
{
ENGINE *e = NULL;
ENGINE *setup_engine(const char *engine, int debug)
{
ENGINE *e = NULL;
+#ifndef OPENSSL_NO_ENGINE
if (engine) {
if (strcmp(engine, "auto") == 0) {
BIO_printf(bio_err, "enabling auto ENGINE support\n");
if (engine) {
if (strcmp(engine, "auto") == 0) {
BIO_printf(bio_err, "enabling auto ENGINE support\n");
BIO_printf(bio_err, "engine \"%s\" set.\n", ENGINE_get_id(e));
}
BIO_printf(bio_err, "engine \"%s\" set.\n", ENGINE_get_id(e));
}
void release_engine(ENGINE *e)
{
void release_engine(ENGINE *e)
{
-# ifdef OPENSSL_NO_ENGINE
-# define setup_engine(engine, debug) NULL
-# else
ENGINE *setup_engine(const char *engine, int debug);
ENGINE *setup_engine(const char *engine, int debug);
void release_engine(ENGINE *e);
void release_engine(ENGINE *e);
# ifndef OPENSSL_NO_OCSP
OCSP_RESPONSE *process_responder(OCSP_REQUEST *req,
const char *host, const char *path,
# ifndef OPENSSL_NO_OCSP
OCSP_RESPONSE *process_responder(OCSP_REQUEST *req,
const char *host, const char *path,