Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken "openssl genrsa" and other misc option issues #339

Closed
wants to merge 1 commit into from

Conversation

aeijdenberg
Copy link
Contributor

genrsa is missing a break; statement after capturing the out file argument and as such many spurious warnings about missing engines are displayed (at least on Mac OS X systems, I didn't see these warnings on Linux earlier today).

A quick grep revealed 2 other similar issues.

…empt to load engine with name of out.key.

e.g. without fix, operation succeeds but with warnings:

$ apps/openssl genrsa -out out.key
invalid engine "out.key"
140735214080848:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:172:filename(/usr/local/ssl/lib/engines/libout.key.dylib): dlopen(/usr/local/ssl/lib/engines/libout.key.dylib, 2): image not found
140735214080848:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:228:
140735214080848:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:458:
140735214080848:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:379:id=out.key
140735214080848:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:172:filename(libout.key.dylib): dlopen(libout.key.dylib, 2): image not found
140735214080848:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:228:
140735214080848:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:458:
Generating RSA private key, 2048 bit long modulus
.............+++
.............................................................................................................+++
e is 65537 (0x010001)

A quick grep for "=" on a line before "case" found two other similar issues addressed in same commit.
@richsalz
Copy link
Contributor

fixed thanks!

@richsalz richsalz closed this Jul 31, 2015
@aeijdenberg aeijdenberg deleted the fixgenrsabug branch July 31, 2015 15:40
mcr pushed a commit to mcr/openssl that referenced this pull request Jun 22, 2021
…algorithm

ts: simplify OpenSSL::Timestamp::Request#algorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants