diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-24 01:38:58 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-24 01:38:58 +0000 |
commit | dfc2b16e29873c54c6bf7623bac02c2e2571e827 (patch) | |
tree | 2f7b526daf62f42536c034d6f9820bccdec4a9af /epan/dissectors/packet-ssl-utils.h | |
parent | 1909b97d4d4b235fc6b3232bee3e3285d876b26d (diff) |
Fix mess with ssl_version_short_names[] being defined multiple places
now that it is no longer a static variable in packet-ssl-utils.h.
Leaving it as static caused a warning turned error that it was unused
in the current file (packet-ssl-utils.h). Resolution: Move the variable
to packet-ssl.c and declare as extern in packet-dtls.c - the only other
place that needs it.
svn path=/trunk/; revision=21161
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.h')
-rw-r--r-- | epan/dissectors/packet-ssl-utils.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h index 114a00cd9a..139e37fab2 100644 --- a/epan/dissectors/packet-ssl-utils.h +++ b/epan/dissectors/packet-ssl-utils.h @@ -69,18 +69,6 @@ #define SSL_VER_DTLS 5 #define SSL_VER_PCT 6 -/* corresponds to the #defines above */ - -const gchar* ssl_version_short_names[] = { - "SSL", - "SSLv2", - "SSLv3", - "TLSv1", - "TLSv1.1", - "DTLSv1.0", - "PCT" -}; - /* other defines */ #define SSL_ID_CHG_CIPHER_SPEC 0x14 #define SSL_ID_ALERT 0x15 |