diff options
author | Nikos Mavrogiannopoulos <nmav@crystal.(none)> | 2008-08-28 23:28:34 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@crystal.(none)> | 2008-08-28 23:28:34 +0300 |
commit | 371593f611c503ebea0c07b93ff9e42ae03681a0 (patch) | |
tree | cd5057a871679506458f2e3c22468c243cf14a8a /lib/opencdk/read-packet.c | |
parent | 0d538af03deb419020897d18741a1038552e07ca (diff) | |
download | gnutls-371593f611c503ebea0c07b93ff9e42ae03681a0.tar.gz |
avoid using gcrypt function.
Diffstat (limited to 'lib/opencdk/read-packet.c')
-rw-r--r-- | lib/opencdk/read-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opencdk/read-packet.c b/lib/opencdk/read-packet.c index bc3c58bcc8..5b423945fa 100644 --- a/lib/opencdk/read-packet.c +++ b/lib/opencdk/read-packet.c @@ -359,7 +359,7 @@ read_secret_key (cdk_stream_t inp, size_t pktlen, cdk_pkt_seckey_t sk) if (sk->protect.s2k->mode == CDK_S2K_GNU_EXT) sk->protect.ivlen = 0; else { - sk->protect.ivlen = gcry_cipher_get_algo_blklen (sk->protect.algo); + sk->protect.ivlen = _gnutls_cipher_get_block_size ( sk->protect.algo); if (!sk->protect.ivlen) return CDK_Inv_Packet; rc = stream_read (inp, sk->protect.iv, sk->protect.ivlen, &nread); |