aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-26 23:07:40 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-26 23:07:40 +0000
commit807d69ac80e6fd837c152e6b82ce8373c7c6ac0d (patch)
tree0375227cc4119cea93b1e52604903c356e0d3c5c
parentebb8adeee7b24246e2fa49246dc7f80b66261d64 (diff)
If HAVE_LIBGNUTLS isn't defined, don't build functions that are used
only if HAVE_LIBGNUTLS is defined. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36878 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-ssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index 2f8f5ce54a..14b278ba61 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -4210,6 +4210,7 @@ ssl_looks_like_valid_pct_handshake(tvbuff_t *tvb, const guint32 offset,
/* UAT */
+#ifdef HAVE_LIBGNUTLS
static void
ssldecrypt_free_cb(void* r)
{
@@ -4250,6 +4251,7 @@ UAT_CSTRING_CB_DEF(sslkeylist_uats,port,ssldecrypt_assoc_t)
UAT_CSTRING_CB_DEF(sslkeylist_uats,protocol,ssldecrypt_assoc_t)
UAT_CSTRING_CB_DEF(sslkeylist_uats,keyfile,ssldecrypt_assoc_t)
UAT_CSTRING_CB_DEF(sslkeylist_uats,password,ssldecrypt_assoc_t)
+#endif
/*********************************************************************
*