ENGINE_register_all_complete() will register all implementations of all
[openssl.git] / apps / apps.c
index 2c2974224fc920c2d49eeef95bcf64177e6d1db8..1089c8b8a3d6ab7bcbf0dca2032400cdd0f82b95 100644 (file)
@@ -1150,6 +1150,12 @@ ENGINE *setup_engine(BIO *err, const char *engine, int debug)
 
         if (engine)
                 {
+               if(strcmp(engine, "auto") == 0)
+                       {
+                       BIO_printf(err,"enabling auto ENGINE support\n");
+                       ENGINE_register_all_complete();
+                       return NULL;
+                       }
                if((e = ENGINE_by_id(engine)) == NULL)
                        {
                        BIO_printf(err,"invalid engine \"%s\"\n", engine);