From: Nikos Mavrogiannopoulos Date: Sat, 21 May 2011 07:37:58 +0000 (+0200) Subject: use new nettle's name for gcm_aes_auth(). X-Git-Tag: gnutls_2_99_2~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2865b443111657152e2dc57fbbefee33b859c5b2;p=thirdparty%2Fgnutls.git use new nettle's name for gcm_aes_auth(). --- diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c index ba9b214bde..e4e6d7f075 100644 --- a/lib/nettle/cipher.c +++ b/lib/nettle/cipher.c @@ -186,7 +186,7 @@ wrap_nettle_cipher_init (gnutls_cipher_algorithm_t algo, void **_ctx) ctx->encrypt = _gcm_encrypt; ctx->decrypt = _gcm_decrypt; ctx->i_encrypt = (nettle_crypt_func*) aes_bidi_encrypt; - ctx->auth = (auth_func)gcm_aes_auth; + ctx->auth = (auth_func)gcm_aes_update; ctx->tag = (tag_func)gcm_aes_digest; ctx->ctx_ptr = &ctx->ctx.aes_gcm; ctx->block_size = AES_BLOCK_SIZE;