diff options
Diffstat (limited to 'src/lib/libcrypto/cmac/cmac.c')
-rw-r--r-- | src/lib/libcrypto/cmac/cmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c index e7b343e216..7135f5306e 100644 --- a/src/lib/libcrypto/cmac/cmac.c +++ b/src/lib/libcrypto/cmac/cmac.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cmac.c,v 1.12 2022/11/26 16:08:51 tb Exp $ */ | 1 | /* $OpenBSD: cmac.c,v 1.13 2022/12/26 07:18:51 jmc Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -167,7 +167,7 @@ CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, | |||
167 | ctx->nlast_block = 0; | 167 | ctx->nlast_block = 0; |
168 | return 1; | 168 | return 1; |
169 | } | 169 | } |
170 | /* Initialiase context */ | 170 | /* Initialise context */ |
171 | if (cipher && !EVP_EncryptInit_ex(&ctx->cctx, cipher, impl, NULL, NULL)) | 171 | if (cipher && !EVP_EncryptInit_ex(&ctx->cctx, cipher, impl, NULL, NULL)) |
172 | return 0; | 172 | return 0; |
173 | /* Non-NULL key means initialisation complete */ | 173 | /* Non-NULL key means initialisation complete */ |