Skip to content

Fix bug #80269: OpenSSL sets Subject wrong with extraattribs parameter #12979

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

Closed
wants to merge 1 commit into from

Conversation

bukka
Copy link
Member

@bukka bukka commented Dec 19, 2023

The extra_attributes parameter in openssl_csr_new was implemented in a way that does not make much sense. It behaves like dn in terms of setting subject entries but the cnf attributes are set only if this parameter is present. This changes the behavior of this parameter and sets attributes instead. It also overrides any attributes set in config. That should make the parameter more useful but it is only for master (requires updating UPGRADING) as it is in some way still BC break even though it was broken previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant