Rich Salz via RT wrote: > [SNIP] > out = dup_bio_out(FORMAT_TEXT); > - prog = opt_init(argc, argv, engine_options); > if (!engines || !pre_cmds || !post_cmds) > goto end; > + while ((argv1 = argv[1]) != NULL && *argv1 != '-') { > + sk_OPENSSL_STRING_push(engines, *argv1); > + argc--; > + argv++; > + } > + prog = opt_init(argc, argv, engine_options); > [SNIP] Above patch is not complete. It seems to opt_init stop processing on first non-option argument. In sample like : openssl engine dynamic \ -pre SO_PATH:/lib/libfoo.so \ -pre ID:foo \ -pre LOAD \ -pre "CMD_FOO:some input data"
Arguments after dynamic are considered as engines The code try to use engines like "-pre", "ID:foo" and "CMD_FOO:some input data". Another sample is " Or to simply see the list of commands supported by the "foo" ENGINE; openssl engine -vvvv dynamic \ -pre SO_PATH:/lib/libfoo.so \ -pre ID:foo \ -pre LOAD " In above case engine is between "normal" arguments. Roumen _______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev