We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac11e9 commit 8f48438Copy full SHA for 8f48438
osslsigncode.c
@@ -4290,11 +4290,11 @@ static int engine_load(GLOBAL_OPTIONS *options)
4290
const char *id = options->p11engine ? options->p11engine : "pkcs11";
4291
ENGINE *engine;
4292
4293
- if (strchr(id, '.')) {
4294
- /* Treat strings with a dot as paths to dynamic engine modules */
+ if (strpbrk(id, "/\\") || id[0] == '.') {
+ /* Treat as a path to a dynamic engine module */
4295
engine = engine_dynamic(id);
4296
} else {
4297
- /* Treat strings without a dot as engine IDs */
+ /* Treat as an engine ID */
4298
engine = ENGINE_by_id(id);
4299
if (!engine)
4300
fprintf(stderr, "Failed to find and load '%s' engine\n", id);
0 commit comments