Home | History | Annotate | Download | only in apps

Lines Matching refs:engine

136 #include <openssl/engine.h>
787 const char *pass, ENGINE *e, const char *cert_descrip)
863 const char *pass, ENGINE *e, const char *key_descrip)
881 BIO_printf(err,"no engine specified\n");
888 BIO_printf(err,"cannot load %s from engine\n",key_descrip);
961 const char *pass, ENGINE *e, const char *key_descrip)
979 BIO_printf(bio_err,"no engine specified\n");
1116 const char *pass, ENGINE *e, const char *desc,
1215 const char *pass, ENGINE *e, const char *desc)
1223 const char *pass, ENGINE *e, const char *desc)
1455 /* Try to load an engine in a shareable library */
1456 static ENGINE *try_load_engine(BIO *err, const char *engine, int debug)
1458 ENGINE *e = ENGINE_by_id("dynamic");
1461 if (!ENGINE_ctrl_cmd_string(e, "SO_PATH", engine, 0)
1471 ENGINE *setup_engine(BIO *err, const char *engine, int debug)
1473 ENGINE *e = NULL;
1475 if (engine)
1477 if(strcmp(engine, "auto") == 0)
1479 BIO_printf(err,"enabling auto ENGINE support\n");
1483 if((e = ENGINE_by_id(engine)) == NULL
1484 && (e = try_load_engine(err, engine, debug)) == NULL)
1486 BIO_printf(err,"invalid engine \"%s\"\n", engine);
1498 BIO_printf(err,"can't use that engine\n");
1504 BIO_printf(err,"engine \"%s\" set.\n", ENGINE_get_id(e));