fix error code
authorDr. Stephen Henson <steve@openssl.org>
Thu, 18 Oct 2012 16:21:39 +0000 (16:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 18 Oct 2012 16:21:39 +0000 (16:21 +0000)
crypto/evp/e_aes.c
crypto/evp/evp.h
crypto/evp/evp_err.c

index 783ef2f..c37010a 100644 (file)
@@ -582,7 +582,7 @@ static int aes_t4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
 
        if(ret < 0)
                {
-               EVPerr(EVP_F_AES_INIT_KEY,EVP_R_AES_KEY_SETUP_FAILED);
+               EVPerr(EVP_F_AES_T4_INIT_KEY,EVP_R_AES_KEY_SETUP_FAILED);
                return 0;
                }
 
index c30d06a..283dcab 100644 (file)
@@ -1285,6 +1285,7 @@ void ERR_load_EVP_strings(void);
 #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_T4_INIT_KEY                           178
 #define EVP_F_AES_XTS                                   172
 #define EVP_F_AES_XTS_CIPHER                            175
 #define EVP_F_ALG_MODULE_INIT                           177
index ab099f9..5742a94 100644 (file)
@@ -73,6 +73,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_T4_INIT_KEY),      "AES_T4_INIT_KEY"},
 {ERR_FUNC(EVP_F_AES_XTS),      "AES_XTS"},
 {ERR_FUNC(EVP_F_AES_XTS_CIPHER),       "AES_XTS_CIPHER"},
 {ERR_FUNC(EVP_F_ALG_MODULE_INIT),      "ALG_MODULE_INIT"},