diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-05-14 10:28:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-05-14 10:35:38 +0200 |
commit | 89faab9e9e9123f39e8c0c6f8da1f67de423254a (patch) | |
tree | e9c1a3256d1b0cfa46ac094976435fec87586603 /lib/hash_int.c | |
parent | d5611fdb2d89d32ac4f217058e5b70f61407b907 (diff) | |
download | gnutls-89faab9e9e9123f39e8c0c6f8da1f67de423254a.tar.gz |
Allow for conditional compilation of SSL 3.0 protocol
This allows to completely remove SSL 3.0 support by calling configure
with the '--disable-ssl3' option.
Resolves #93
Diffstat (limited to 'lib/hash_int.c')
-rw-r--r-- | lib/hash_int.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hash_int.c b/lib/hash_int.c index 5201a16843..efcbf9093f 100644 --- a/lib/hash_int.c +++ b/lib/hash_int.c @@ -252,6 +252,7 @@ void _gnutls_mac_deinit(mac_hd_st * handle, void *digest) handle->handle = NULL; } +#ifdef ENABLE_SSL3 inline static int get_padsize(gnutls_mac_algorithm_t algorithm) { switch (algorithm) { @@ -532,3 +533,5 @@ _gnutls_ssl3_generate_random(void *secret, int secret_len, return 0; } + +#endif |