aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl-utils.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-07-13 01:04:13 +0200
committerEvan Huus <eapache@gmail.com>2014-07-23 17:09:25 +0000
commit057ded827d36f55b8f91e9de888fd14e3b73d8c2 (patch)
tree889513e69bb6d1673017b31e33652790fc126367 /epan/dissectors/packet-ssl-utils.c
parentee231c526373b1c2e8c750fec0fc42befbfe3a97 (diff)
ssl-utils: stop exporting some symbols
Client/Server hello and Hello extensions are now dissected inside ssl-utils, no need to export them for the SSL or DTLS dissectors. Change-Id: I8f2405199f21616743fe74959f07cfa839565527 Reviewed-on: https://code.wireshark.org/review/3022 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r--epan/dissectors/packet-ssl-utils.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c
index ee8c81b6e1..66bd711d45 100644
--- a/epan/dissectors/packet-ssl-utils.c
+++ b/epan/dissectors/packet-ssl-utils.c
@@ -4875,7 +4875,7 @@ ssldecrypt_uat_fld_password_chk_cb(void* r _U_, const char* p, guint len _U_, co
/* dissect a list of hash algorithms, return the number of bytes dissected
this is used for the signature algorithms extension and for the
TLS1.2 certificate request */
-gint
+static gint
ssl_dissect_hash_alg_list(ssl_common_dissect_t *hf, tvbuff_t *tvb, proto_tree *tree,
guint32 offset, guint16 len)
{
@@ -5168,7 +5168,7 @@ ssl_dissect_hnd_hello_ext_cert_type(ssl_common_dissect_t *hf, tvbuff_t *tvb,
return offset;
}
-gint
+static gint
ssl_dissect_hnd_hello_common(ssl_common_dissect_t *hf, tvbuff_t *tvb,
proto_tree *tree, guint32 offset,
SslDecryptSession *ssl, gboolean from_server)
@@ -5236,6 +5236,11 @@ ssl_dissect_hnd_hello_common(ssl_common_dissect_t *hf, tvbuff_t *tvb,
return offset;
}
+static gint
+ssl_dissect_hnd_hello_ext(ssl_common_dissect_t *hf, tvbuff_t *tvb, proto_tree *tree,
+ guint32 offset, guint32 left, gboolean is_client,
+ SslSession *session, SslDecryptSession *ssl);
+
void
ssl_dissect_hnd_cli_hello(ssl_common_dissect_t *hf, tvbuff_t *tvb,
packet_info *pinfo, proto_tree *tree, guint32 offset,
@@ -5820,7 +5825,7 @@ ssl_dissect_hnd_hello_ext_ec_point_formats(ssl_common_dissect_t *hf, tvbuff_t *t
return offset;
}
-gint
+static gint
ssl_dissect_hnd_hello_ext(ssl_common_dissect_t *hf, tvbuff_t *tvb, proto_tree *tree,
guint32 offset, guint32 left, gboolean is_client,
SslSession *session, SslDecryptSession *ssl)