After renaming init, update errors.
authorRich Salz <rsalz@akamai.com>
Wed, 10 Feb 2016 20:20:48 +0000 (15:20 -0500)
committerRich Salz <rsalz@openssl.org>
Wed, 10 Feb 2016 20:52:32 +0000 (15:52 -0500)
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/cpt_err.c
crypto/init.c
include/openssl/crypto.h
include/openssl/ssl.h
ssl/ssl_err.c
ssl/ssl_init.c

index d1e4b33b5c4d062c71c84d5389829553c4047ebf..e9a0a22585c4b23bcb8e9a92c413bbfc6b910980 100644 (file)
@@ -84,8 +84,7 @@ static ERR_STRING_DATA CRYPTO_str_functs[] = {
     {ERR_FUNC(CRYPTO_F_INT_DUP_EX_DATA), "INT_DUP_EX_DATA"},
     {ERR_FUNC(CRYPTO_F_INT_FREE_EX_DATA), "INT_FREE_EX_DATA"},
     {ERR_FUNC(CRYPTO_F_INT_NEW_EX_DATA), "INT_NEW_EX_DATA"},
-    {ERR_FUNC(CRYPTO_F_OPENSSL_INIT_CRYPTO_LIBRARY_START),
-     "OPENSSL_INIT_crypto_library_start"},
+    {ERR_FUNC(CRYPTO_F_OPENSSL_INIT_CRYPTO), "OPENSSL_init_crypto"},
     {ERR_FUNC(CRYPTO_F_OPENSSL_MEMDUP), "OPENSSL_MEMDUP"},
     {0, NULL}
 };
index cb9d65a4ddd1835a2bccfda30b176fa0891a43e4..e6dd084f55ecc970ac6537f70f42ccdc8d96becd 100644 (file)
@@ -638,8 +638,7 @@ int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
              * sets an error etc
              */
             stoperrset = 1;
-            CRYPTOerr(CRYPTO_F_OPENSSL_INIT_CRYPTO_LIBRARY_START,
-                      ERR_R_INIT_FAIL);
+            CRYPTOerr(CRYPTO_F_OPENSSL_INIT_CRYPTO, ERR_R_INIT_FAIL);
         }
         return 0;
     }
index 4199466d66eb37597f2eb49617ee8ba9ffbf38ed..d68551dd2be897d3694ea19b57b8d754c6f5618d 100644 (file)
@@ -628,7 +628,7 @@ void ERR_load_CRYPTO_strings(void);
 # define CRYPTO_F_INT_DUP_EX_DATA                         106
 # define CRYPTO_F_INT_FREE_EX_DATA                        107
 # define CRYPTO_F_INT_NEW_EX_DATA                         108
-# define CRYPTO_F_OPENSSL_INIT_CRYPTO_LIBRARY_START       116
+# define CRYPTO_F_OPENSSL_INIT_CRYPTO                     116
 # define CRYPTO_F_OPENSSL_MEMDUP                          114
 
 /* Reason codes. */
index 87ea39cd08888c49dc19be0bb7aaae4c1b05f7cd..c4b9826ccb211b6d69c627a72616683bc990fd23 100644 (file)
@@ -1986,7 +1986,7 @@ void ERR_load_SSL_strings(void);
 # define SSL_F_DTLS_CONSTRUCT_HELLO_VERIFY_REQUEST        385
 # define SSL_F_DTLS_GET_REASSEMBLED_MESSAGE               370
 # define SSL_F_DTLS_PROCESS_HELLO_VERIFY                  386
-# define SSL_F_OPENSSL_INIT_SSL_LIBRARY_START             342
+# define SSL_F_OPENSSL_INIT_SSL                           342
 # define SSL_F_READ_STATE_MACHINE                         352
 # define SSL_F_SSL3_ADD_CERT_TO_BUF                       296
 # define SSL_F_SSL3_CALLBACK_CTRL                         233
index 4dc889555286e6874b1944735d86324e737a263d..4570fbb83f30bd544877cbeb767c651ebd67fa3c 100644 (file)
@@ -103,8 +103,7 @@ static ERR_STRING_DATA SSL_str_functs[] = {
     {ERR_FUNC(SSL_F_DTLS_GET_REASSEMBLED_MESSAGE),
      "dtls_get_reassembled_message"},
     {ERR_FUNC(SSL_F_DTLS_PROCESS_HELLO_VERIFY), "dtls_process_hello_verify"},
-    {ERR_FUNC(SSL_F_OPENSSL_INIT_SSL_LIBRARY_START),
-     "OPENSSL_INIT_ssl_library_start"},
+    {ERR_FUNC(SSL_F_OPENSSL_INIT_SSL), "OPENSSL_init_ssl"},
     {ERR_FUNC(SSL_F_READ_STATE_MACHINE), "read_state_machine"},
     {ERR_FUNC(SSL_F_SSL3_ADD_CERT_TO_BUF), "SSL3_ADD_CERT_TO_BUF"},
     {ERR_FUNC(SSL_F_SSL3_CALLBACK_CTRL), "ssl3_callback_ctrl"},
index e7fc63dd115de7a6e80375a75f93e4376e2acf97..bf3cd235c47882df9e368fa72bba14f3e6076095 100644 (file)
@@ -311,7 +311,7 @@ int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
              * sets an error etc
              */
             stoperrset = 1;
-            SSLerr(SSL_F_OPENSSL_INIT_SSL_LIBRARY_START, ERR_R_INIT_FAIL);
+            SSLerr(SSL_F_OPENSSL_INIT_SSL, ERR_R_INIT_FAIL);
         }
         return 0;
     }