Tweak option error messages#10774
Tweak option error messages#10774richsalz wants to merge 2 commits intoopenssl:masterfrom richsalz:fix-unknown-message
Conversation
Better messages for unknown option, unknown cipher, unknown digest. Fixes #10773
|
A great impovement, indeed! But don't you think it would make the output even more readable if you would add colons? |
A cherry-pick to 1.1.1. would be o.k for me. After all, it's an improvement of the error diagnostics. |
|
fixup commit pushed. |
|
It's at least arguable of this should go back to 1.1.1. Changed error messages in a stable release is generally not seen as stable. I would rather avoid that. |
|
I have removed the branch: 1.1.1 label - consider it a "hold" for any back fit. |
That's ok for me. I was already tempted to ask whether error messages are considered part of the 'API contract', but then I refrained from doing it. Anyway, if there is a non-negligible chance to break existing scripts because they parse the error messages, it's better not to do it. |
Better messages for unknown option, unknown cipher, unknown digest. Fixes #10773 Reviewed-by: Dmitry Belyavskiy <[email protected]> Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Matthias St. Pierre <[email protected]> (Merged from #10774)
|
Merged to master as e0e68f9, thanks! |
OpenSSL 3 has changed the format of the error message for an unknown option to the CLI. Update the test to allow for the older and newer message formats. PR-URL: #38027 Refs: openssl/openssl#10774 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
OpenSSL 3 has changed the format of the error message for an unknown option to the CLI. Update the test to allow for the older and newer message formats. PR-URL: #38027 Refs: openssl/openssl#10774 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
OpenSSL 3 has changed the format of the error message for an unknown option to the CLI. Update the test to allow for the older and newer message formats. PR-URL: #38027 Refs: openssl/openssl#10774 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Better messages for unknown option, unknown cipher, unknown digest.
Fixes #10773
Should be easy to cherry-pick.