aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl-utils.h
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2008-01-03 09:32:12 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2008-01-03 09:32:12 +0000
commitdbd3a37c8c099a9d392a417bda5ab6ff20947ca1 (patch)
tree3432bb3271a67d026dc339a03a068d44bb23fbf3 /epan/dissectors/packet-ssl-utils.h
parente7b7a51f0f2459edc70f7b9cfbd7ed8868662114 (diff)
fix error if GNUTLS is not available
svn path=/trunk/; revision=23997
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.h')
-rw-r--r--epan/dissectors/packet-ssl-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h
index 9fa517b27a..4359f913c5 100644
--- a/epan/dissectors/packet-ssl-utils.h
+++ b/epan/dissectors/packet-ssl-utils.h
@@ -322,8 +322,10 @@ typedef struct _SslService {
} SslService;
typedef struct _Ssl_private_key {
+#ifdef HAVE_LIBGNUTLS
gnutls_x509_crt_t x509_cert;
gnutls_x509_privkey_t x509_pkey;
+#endif
SSL_PRIVATE_KEY *sexp_pkey;
} Ssl_private_key_t;