[openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2014-04-29 Thread Tim Hudson via RT
Marking issue as resolved.

SteveH checked in fixes.
https://github.com/openssl/openssl/commit/2911575c6e790541e495927a60121d7546a66962

Tim.

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2013-11-13 Thread Piotr Sikora via RT
Hey guys,
could you please look into it? Right now, this is show-stopper for
adding ALPN support for nginx.

Attached patches against current master and OpenSSL_1_0_2-stable branch.

Best regards,
Piotr Sikora



Fix-compilation-with-no-nextprotoneg-master.patch
Description: Binary data


Fix-compilation-with-no-nextprotoneg-OpenSSL_1_0_2-stable.patch
Description: Binary data


Re: [openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2013-08-07 Thread Adam Langley via RT
On Mon, Aug 5, 2013 at 7:50 PM, Piotr Sikora pi...@cloudflare.com wrote:
 While it cannot be enabled via ./config options, compiling OpenSSL
 with this define turned out to be extremely useful while adding ALPN
 support to 3rd-party software (i.e. to make sure that nothing in the
 added ALPN support relies on NPN code).

 Also, I wanted to make sure that SSL_select_next_proto() is not part
 of NPN and that it will be available going forward.

I need to backport ALPN to 1.0.2 at some point, but I'll wait until
this is in. (So, likely will be after my vacation.)

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


[openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2013-08-06 Thread Piotr Sikora via RT
Hello,
attached patch fixes build with OPENSSL_NO_NEXTPROTONEG.

While it cannot be enabled via ./config options, compiling OpenSSL
with this define turned out to be extremely useful while adding ALPN
support to 3rd-party software (i.e. to make sure that nothing in the
added ALPN support relies on NPN code).

Also, I wanted to make sure that SSL_select_next_proto() is not part
of NPN and that it will be available going forward.

Best regards,
Piotr Sikora



Fix-build-with-OPENSSL_NO_NEXTPROTONEG.patch
Description: Binary data


[openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2013-08-06 Thread Stephen Henson via RT
On Tue Aug 06 10:05:56 2013, pi...@cloudflare.com wrote:

 While it cannot be enabled via ./config options,

Why not? The standard way to include such options is via config or Configure
and some platforms (e.g. Windows) require this.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2013-08-06 Thread Piotr Sikora
Hey Steve,

 While it cannot be enabled via ./config options,

 Why not? The standard way to include such options is via config or Configure
 and some platforms (e.g. Windows) require this.

Actually, it turns out that I was wrong, so please ignore that part.

For the reference:
What I meant is that currently (i.e. git master, nothing to do with
the patch) OPENSSL_NO_NEXTPROTONEG cannot be enabled via ./config
options and I had to pass it via CFLAGS, but that turned out to be
just a user error... I didn't know that no-XXX is automatically
translated to OPENSSL_NO_XXX and I was trying to disable NPN with
no-npn (as described in CHANGES), which obviously didn't do much
good... no-nextprotoneg works fine, though :)

Best regards,
Piotr Sikora
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #3106] [PATCH] Fix build with OPENSSL_NO_NEXTPROTONEG.

2013-08-06 Thread Piotr Sikora via RT
Hey Steve,

 While it cannot be enabled via ./config options,

 Why not? The standard way to include such options is via config or Configure
 and some platforms (e.g. Windows) require this.

Actually, it turns out that I was wrong, so please ignore that part.

For the reference:
What I meant is that currently (i.e. git master, nothing to do with
the patch) OPENSSL_NO_NEXTPROTONEG cannot be enabled via ./config
options and I had to pass it via CFLAGS, but that turned out to be
just a user error... I didn't know that no-XXX is automatically
translated to OPENSSL_NO_XXX and I was trying to disable NPN with
no-npn (as described in CHANGES), which obviously didn't do much
good... no-nextprotoneg works fine, though :)

Best regards,
Piotr Sikora


__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org