Skip to content

openssl: enable PKCS12 support for !BoringSSL - #1948

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/openssl-pkcs12
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/openssl-pkcs12

Conversation

@bagder

@bagder bagder commented Oct 5, 2017

Copy link
Copy Markdown
Member

Enable PKCS12 for all non-boringssl builds without relying on configure
or cmake checks.

Bug: https://curl.haxx.se/mail/lib-2017-10/0007.html
Reported-by: Christian Schmitz

Enable PKCS12 for all non-boringssl builds without relying on configure
or cmake checks.

Bug: https://curl.haxx.se/mail/lib-2017-10/0007.html
Reported-by: Christian Schmitz
@bagder bagder closed this in 62a721e Oct 9, 2017
@bagder
bagder deleted the bagder/openssl-pkcs12 branch October 9, 2017 09:30
@bagder

bagder commented Oct 9, 2017

Copy link
Copy Markdown
Member Author

No feedback on this take but I merged anyway as I believe this is the right way forward.

@gvanem

gvanem commented Nov 22, 2017

Copy link
Copy Markdown
Contributor

What about the case with multiple SSL backends; both -DUSE_OPENSSL (meaning true OpenSSL) and
-DOPENSSL_IS_BORINGSSL?

Is it possible to detect that at compile time? No #error don't do that! for that in the code now AFAICS..

@jay

jay commented Nov 22, 2017 •

Copy link
Copy Markdown
Member

What about the case with multiple SSL backends; both -DUSE_OPENSSL (meaning true OpenSSL) and
-DOPENSSL_IS_BORINGSSL?

I don't think it's possible to use both of those at the same time. edit: I mean you either use openssl or boringssl. USE_OPENSSL should be defined in either case

@gvanem

gvanem commented Nov 22, 2017 •

Copy link
Copy Markdown
Contributor

I know; I got the error for a missing <pkcs12.h> in BoringSSL. Hence the question.

@jay

jay commented Nov 22, 2017

Copy link
Copy Markdown
Member

I'm lost. If you are building with BoringSSL then the pkcs stuff should not be included. In other words -DUSE_OPENSSL -DOPENSSL_IS_BORINGSSL then no pkcs

@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

3 participants