Skip to content

Rework DSO API conditions and configuration option#8622

Closed
levitte wants to merge 5 commits intoopenssl:masterfrom
levitte:remove-no-dso
Closed

Rework DSO API conditions and configuration option#8622
levitte wants to merge 5 commits intoopenssl:masterfrom
levitte:remove-no-dso

Conversation

@levitte
Copy link
Copy Markdown
Member

@levitte levitte commented Mar 31, 2019

'no-dso' is meaningless, as it doesn't get any macro defined.
Therefore, we remove all checks of OPENSSL_NO_DSO. However, there may
be some odd platforms with no DSO scheme. For those, we generate the
internal macro DSO_NONE and use it.

'no-dso' is meaningless, as it doesn't get any macro defined.
Therefore, we remove all checks of OPENSSL_NO_DSO.  However, there may
be some odd platforms with no DSO scheme.  For those, we generate the
internal macro DSO_NONE aand use it.
@levitte levitte added the branch: master Applies to master branch label Mar 31, 2019
Copy link
Copy Markdown
Contributor

@richsalz richsalz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, kind of surprising how much simpler things got!

@levitte
Copy link
Copy Markdown
Member Author

levitte commented Apr 1, 2019

A question: should this be back-ported to 1.1.1? The no-dso option is similarly toothless there...

@levitte
Copy link
Copy Markdown
Member Author

levitte commented Apr 1, 2019

Meanwhile, I've merged into master.

31b6ed7 Rework DSO API conditions and configuration option

@paulidale
Copy link
Copy Markdown
Contributor

I think 1.1.1 too but don't feel strongly about it.

@levitte
Copy link
Copy Markdown
Member Author

levitte commented Apr 1, 2019

Done in #8628

@levitte levitte closed this Apr 1, 2019
levitte added a commit that referenced this pull request Apr 10, 2019
'no-dso' is meaningless, as it doesn't get any macro defined.
Therefore, we remove all checks of OPENSSL_NO_DSO.  However, there may
be some odd platforms with no DSO scheme.  For those, we generate the
internal macro DSO_NONE aand use it.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from #8622)
@Posolsvetla
Copy link
Copy Markdown

Hi, I guess, that with the removal of no-dso support, the no-dso build on Win is no longer supported?
The DSO_WIN32 is now defined, while before it wasn't (with no-dso used).
Is this intended or is it an oversight?
Thanks.

@levitte
Copy link
Copy Markdown
Member Author

levitte commented May 31, 2019

That's intended. That macro is really quite internal to the DSO sub-system, so it shouldn't make a difference outside of it.

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

Labels

branch: master Applies to master branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants