From: Dr. Stephen Henson Date: Fri, 16 Sep 2011 23:04:07 +0000 (+0000) Subject: Typo. X-Git-Tag: OpenSSL_1_0_1-beta1~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0d29439525277c05325f6a8184b1ab2c6866713;p=openssl Typo. --- diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index d84bc80ef9..6dc9234012 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -106,6 +106,7 @@ typedef struct /* * AES-NI section */ + extern unsigned int OPENSSL_ia32cap_P[2]; #define AESNI_CAPABLE (1<<(57-32)) @@ -473,7 +474,7 @@ static int aesni_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, if (FIPS_module_mode() && !(ctx->flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW) && (len > (1L<<20)*16)) { - EVPerr(EVPNI_F_AES_XTS, EVP_R_TOO_LARGE); + EVPerr(EVP_F_AESNI_XTS_CIPHER, EVP_R_TOO_LARGE); return -1; } #endif diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index 828af5fb5c..49d2240883 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -1253,6 +1253,7 @@ void ERR_load_EVP_strings(void); /* Function codes. */ #define EVP_F_AESNI_INIT_KEY 165 +#define EVP_F_AESNI_XTS_CIPHER 176 #define EVP_F_AES_INIT_KEY 133 #define EVP_F_AES_XTS 172 #define EVP_F_AES_XTS_CIPHER 175 diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index e3c7752968..db0f76d59b 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -71,6 +71,7 @@ static ERR_STRING_DATA EVP_str_functs[]= { {ERR_FUNC(EVP_F_AESNI_INIT_KEY), "AESNI_INIT_KEY"}, +{ERR_FUNC(EVP_F_AESNI_XTS_CIPHER), "AESNI_XTS_CIPHER"}, {ERR_FUNC(EVP_F_AES_INIT_KEY), "AES_INIT_KEY"}, {ERR_FUNC(EVP_F_AES_XTS), "AES_XTS"}, {ERR_FUNC(EVP_F_AES_XTS_CIPHER), "AES_XTS_CIPHER"},