summaryrefslogtreecommitdiff
path: root/gcm-aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcm-aes.c')
-rw-r--r--gcm-aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcm-aes.c b/gcm-aes.c
index 37213c3c..c35bc68b 100644
--- a/gcm-aes.c
+++ b/gcm-aes.c
@@ -34,7 +34,7 @@ gcm_aes_set_key(struct gcm_aes_ctx *ctx, size_t length, const uint8_t *key)
{
aes_set_encrypt_key (&ctx->cipher, length, key);
gcm_set_key (&ctx->key, &ctx->cipher,
- (nettle_crypt_func *) aes_encrypt);
+ (nettle_cipher_func *) aes_encrypt);
}
void