Introduce TLSEXT_STATUSTYPE_nothing constant
authorMatt Caswell <matt@openssl.org>
Wed, 7 Dec 2016 17:27:22 +0000 (17:27 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 17:21:09 +0000 (17:21 +0000)
commitcbb0954471b16a40e67639522b30009393983285
tree921c784c8ca2fc299b0f8bfc1439c331654f5e72
parentd270de322c7bfb9c1e7509fbc24e3bf6fde713e6
Introduce TLSEXT_STATUSTYPE_nothing constant

The existing code used the magic number -1 to represent the absence of
a status_type in the extension. This commit replaces it with a macro.

Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c