Wireshark-bugs: [Wireshark-bugs] [Bug 7657] New: 'gnutls_datum' is deprecated

Date: Tue, 21 Aug 2012 11:20:12 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7657

           Summary: 'gnutls_datum' is deprecated
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Dissection engine (libwireshark)
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: info@xxxxxxxxxxxxxxx


Build Information:
wireshark/epan/dissectors/packet-ssl-utils.c: In function 'ssl_load_key':
wireshark/epan/dissectors/packet-ssl-utils.c:2772:5: error: 'gnutls_datum' is
deprecated (declared at /usr/include/gnutls/gnutls.h:717)
[-Werror=deprecated-declarations]


--
patch

Index: epan/dissectors/packet-ssl-utils.c
===================================================================
--- epan/dissectors/packet-ssl-utils.c    (revision 44604)
+++ epan/dissectors/packet-ssl-utils.c    (working copy)
@@ -2769,7 +2769,7 @@
      * format, and a datum -> s-exp convertion function does not exist.
      */
     gnutls_x509_privkey_t priv_key;
-    gnutls_datum          key;
+    gnutls_datum_t          key;
     gint                  size;
     guint                 bytes;

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.