summaryrefslogtreecommitdiff
path: root/lib/gnutls_cipher.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2009-12-02 21:12:22 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2009-12-02 21:12:22 +0200
commitb373f5d1aac157916c6b44cb6a2ec505e4b46784 (patch)
treee5a5fca8e08732645547a36ba254fa267ae70257 /lib/gnutls_cipher.c
parent5e1d605d30cda30004d9821260b9afd7ca547579 (diff)
downloadgnutls-b373f5d1aac157916c6b44cb6a2ec505e4b46784.tar.gz
Exported gnutls_cipher_get_block_size() and all hash functions added to libgnutls.map.
Expanded benchmark with 3DES and ARCFOUR. Corrected test that used non-existing symbol.
Diffstat (limited to 'lib/gnutls_cipher.c')
-rw-r--r--lib/gnutls_cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c
index bdfdbaa307..23325c6685 100644
--- a/lib/gnutls_cipher.c
+++ b/lib/gnutls_cipher.c
@@ -310,7 +310,7 @@ _gnutls_compressed2ciphertext (gnutls_session_t session,
write_mac_algorithm);
gnutls_protocol_t ver;
int blocksize =
- _gnutls_cipher_get_block_size (session->security_parameters.
+ gnutls_cipher_get_block_size (session->security_parameters.
write_bulk_cipher_algorithm);
cipher_type_t block_algo =
_gnutls_cipher_is_block (session->security_parameters.
@@ -449,7 +449,7 @@ _gnutls_ciphertext2compressed (gnutls_session_t session,
major = _gnutls_version_get_major (ver);
blocksize =
- _gnutls_cipher_get_block_size (session->security_parameters.
+ gnutls_cipher_get_block_size (session->security_parameters.
read_bulk_cipher_algorithm);
/* initialize MAC