Welcome! Log In Create A New Profile

Advanced

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Piotr Sikora
July 29, 2014 07:20PM
Hey Maxim,

> I think that it's better idea to preserve the common code rather
> than to add unneded #ifndef's.

Well, my argument for #ifndefs is that both BoringSSL and LibreSSL
(for which I have patch in my queue) removed support for export cipher
suites, so I don't see a point in calling a function that we know
doesn't do anything and that might be removed sooner rather than
later.

BoringSSL made SSL_CTX_set_tmp_rsa_callback() a no-op (at least for
now) and just ignores the callback.

LibreSSL sets and calls the callback (because of the
SSL_OP_EPHEMERAL_RSA, which is still supported, even though it
violates TLS standard), but I expect it might get removed soon... and
then, depending on their implementation, it might put an error on the
error queue, which will just mess things for us.

I'm going to send the LibreSSL patch in a moment and let's see if the
#ifndefs are still bothering you, but I feel rather strongly about
keeping them.

> This one scares me though. In particular, because BoringSSL
> managed to move various EVP_* functions to CIPHER library, and
> this looks strange. I also wonder how many similar changes are
> unnoticed because they don't break build...

Rest seems to work fine :)

I'm rather committed to switching to BoringSSL myself in the near
future, so this is more than just "it compiles" change.

Best regards,
Piotr Sikora

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 1 of 2] SSL: fix build with OPENSSL_NO_ENGINE and/or OPENSSL_NO_OCSP

Piotr Sikora 1136 July 28, 2014 07:06PM

[PATCH 2 of 2] SSL: let it build against BoringSSL

Piotr Sikora 369 July 28, 2014 07:06PM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Maxim Dounin 331 July 29, 2014 06:16PM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Piotr Sikora 295 July 29, 2014 07:20PM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Piotr Sikora 311 July 29, 2014 07:40PM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Maxim Dounin 329 July 30, 2014 12:22AM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Maxim Dounin 305 July 30, 2014 12:16AM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Piotr Sikora 315 July 30, 2014 12:58AM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Piotr Sikora 293 July 30, 2014 01:34AM

Re: [PATCH 2 of 2] SSL: let it build against BoringSSL

Maxim Dounin 381 July 30, 2014 08:24AM

Re: [PATCH 1 of 2] SSL: fix build with OPENSSL_NO_ENGINE and/or OPENSSL_NO_OCSP

Maxim Dounin 340 July 29, 2014 06:10PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready