diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-01-13 09:11:53 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2017-01-13 08:13:59 +0000 |
commit | b34d93ad0e6fc63c43c220fd28ed1d7e2892f14b (patch) | |
tree | fc1f7106c897a3b81433f17f99071edeef062023 /epan/dissectors/packet-ssl.c | |
parent | c303679d999f38d92a00f0cf99ba0a000a9ff92f (diff) |
SSL: fix compilation without libgcrypt or gnutls
Change-Id: I785db404969f89a3f90eddbda5542ee6b676ddb8
Reviewed-on: https://code.wireshark.org/review/19623
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ssl.c')
-rw-r--r-- | epan/dissectors/packet-ssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c index c188c5bf2e..90548d527d 100644 --- a/epan/dissectors/packet-ssl.c +++ b/epan/dissectors/packet-ssl.c @@ -428,12 +428,14 @@ ssl_parse_uat(void) ssl_debug_flush(); } +#if defined(HAVE_LIBGNUTLS) && defined(HAVE_LIBGCRYPT) static void ssl_reset_uat(void) { g_hash_table_destroy(ssl_key_hash); ssl_key_hash = NULL; } +#endif static void ssl_parse_old_keys(void) |