1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Add a missing const

Dummy version of 'aes_setup_ni` function (for compilers that do not
support AES extenstions) must have same signature as actual function
This commit is contained in:
Pavel Kryukov 2018-05-26 14:16:12 +03:00 committed by Simon Tatham
parent 2611e69983
commit f4ca28a0f4

View File

@ -1707,7 +1707,7 @@ static void aes_setup_ni(AESContext * ctx,
#else /* COMPILER_SUPPORTS_AES_NI */
static void aes_setup_ni(AESContext * ctx, unsigned char *key, int keylen)
static void aes_setup_ni(AESContext * ctx, const unsigned char *key, int keylen)
{
assert(0);
}