aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl-utils.c
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-01-04 13:26:45 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-01-04 13:26:45 +0000
commit8e6556a3ee3add87905dcc42ffa315c744eaa450 (patch)
treeeb678b7167c968ff8d8b5b00a455279de48d5ad6 /epan/dissectors/packet-ssl-utils.c
parentb9f69234ada4a9031830943880823525a0d751d4 (diff)
fix compilation without GnuTLS
svn path=/trunk/; revision=20305
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r--epan/dissectors/packet-ssl-utils.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c
index b7f9563019..67374d6cac 100644
--- a/epan/dissectors/packet-ssl-utils.c
+++ b/epan/dissectors/packet-ssl-utils.c
@@ -150,7 +150,7 @@ ssl_md5_cleanup(SSL_MD5_CTX* md)
}
gint
-ssl_cipher_setiv(gcry_cipher_hd_t *cipher,guchar* iv, gint iv_len)
+ssl_cipher_setiv(SSL_CIPHER_CTX *cipher, guchar* iv, gint iv_len)
{
/* guchar * ivp; */
gint ret;
@@ -1355,6 +1355,13 @@ ssl_decrypt_record(SslDecryptSession*ssl, SslDecoder* decoder, gint ct,
return 0;
}
+gint
+ssl_cipher_setiv(SSL_CIPHER_CTX *cipher, guchar* iv, gint iv_len)
+{
+ ssl_debug_printf("ssl_cipher_setiv: impossible without glutls.\n");
+ return 0;
+}
+
#endif /* HAVE_LIBGNUTLS */
/* get ssl data for this session. if no ssl data is found allocate a new one*/