diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-20 15:01:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-20 15:02:54 +0200 |
commit | ac1f960d4ac4345b5ec2f766cdc69e47632136d6 (patch) | |
tree | 050d8db7a8cfbe6614a32e3862768bcfdfca9d62 /lib/debug.c | |
parent | 369a364007a141c73831e95b60be4cd81eec0d63 (diff) | |
download | gnutls-ac1f960d4ac4345b5ec2f766cdc69e47632136d6.tar.gz |
Allow for conditional compilation of SSL 2.0 client hello support
This allows to completely remove SSL 2.0 support by calling configure
with the '--disable-ssl2-support' option.
Relates #97
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/debug.c b/lib/debug.c index 6ab12c6943..252f2470a6 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -90,9 +90,11 @@ const char case GNUTLS_HANDSHAKE_CLIENT_HELLO: return "CLIENT HELLO"; break; +#ifdef ENABLE_SSL2 case GNUTLS_HANDSHAKE_CLIENT_HELLO_V2: return "SSL2 CLIENT HELLO"; break; +#endif case GNUTLS_HANDSHAKE_SERVER_HELLO: return "SERVER HELLO"; break; |