]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
use new nettle's name for gcm_aes_auth().
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 21 May 2011 07:37:58 +0000 (09:37 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 21 May 2011 08:02:19 +0000 (10:02 +0200)
lib/nettle/cipher.c

index ba9b214bdeefac31184c539b70d2d11e0892d969..e4e6d7f07546f53e0c549bd70e1875d54cf14b92 100644 (file)
@@ -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;