Fix typos in error codes.
authorUlf Möller <ulf@openssl.org>
Mon, 19 Apr 1999 14:45:02 +0000 (14:45 +0000)
committerUlf Möller <ulf@openssl.org>
Mon, 19 Apr 1999 14:45:02 +0000 (14:45 +0000)
14 files changed:
CHANGES
crypto/bio/bio.err
crypto/bio/bio.h
crypto/bio/bio_err.c
crypto/bio/bio_lib.c
crypto/bio/bss_conn.c
crypto/bn/bn.err
crypto/bn/bn.org
crypto/bn/bn_blind.c
crypto/bn/bn_err.c
crypto/evp/digest.c
crypto/evp/evp.err
crypto/evp/evp.h
crypto/evp/evp_err.c

diff --git a/CHANGES b/CHANGES
index c3813ac35882734962aef49404c182d5cb146700..a18f428e9bf2c9747a34acf2b8600105cd5283c4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@
 
  Changes between 0.9.2b and 0.9.3
 
+  *) Fix typos in error codes.
+     [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>, Ulf Möller]
+
   *) Remove defunct assembler files from Configure.
      [Ulf Möller]
 
index e804f0d524e0384b92e384e223dcea0d76fe8f36..f6cb2ff3e4f05f8a8458df36c1176290d73e09c6 100644 (file)
@@ -35,7 +35,7 @@
 #define BIO_R_KEEPALIVE                                         109
 #define BIO_R_NBIO_CONNECT_ERROR                        110
 #define BIO_R_NO_ACCEPT_PORT_SPECIFIED                  111
-#define BIO_R_NO_HOSTHNAME_SPECIFIED                    112
+#define BIO_R_NO_HOSTNAME_SPECIFIED                     112
 #define BIO_R_NO_PORT_DEFINED                           113
 #define BIO_R_NO_PORT_SPECIFIED                                 114
 #define BIO_R_NULL_PARAMETER                            115
@@ -43,6 +43,6 @@
 #define BIO_R_UNABLE_TO_BIND_SOCKET                     117
 #define BIO_R_UNABLE_TO_CREATE_SOCKET                   118
 #define BIO_R_UNABLE_TO_LISTEN_SOCKET                   119
-#define BIO_R_UNINITALISED                              120
+#define BIO_R_UNINITIALIZED                             120
 #define BIO_R_UNSUPPORTED_METHOD                        121
 #define BIO_R_WSASTARTUP                                122
index 0f54834f6088cbd04bfeeeb70ec6823f2ecc9db1..f83b3e2f244b8d24a0d35d9fc524adced7d1f4a3 100644 (file)
@@ -719,7 +719,7 @@ int BIO_printf();
 #define BIO_R_KEEPALIVE                                         109
 #define BIO_R_NBIO_CONNECT_ERROR                        110
 #define BIO_R_NO_ACCEPT_PORT_SPECIFIED                  111
-#define BIO_R_NO_HOSTHNAME_SPECIFIED                    112
+#define BIO_R_NO_HOSTNAME_SPECIFIED                     112
 #define BIO_R_NO_PORT_DEFINED                           113
 #define BIO_R_NO_PORT_SPECIFIED                                 114
 #define BIO_R_NULL_PARAMETER                            115
@@ -727,7 +727,7 @@ int BIO_printf();
 #define BIO_R_UNABLE_TO_BIND_SOCKET                     117
 #define BIO_R_UNABLE_TO_CREATE_SOCKET                   118
 #define BIO_R_UNABLE_TO_LISTEN_SOCKET                   119
-#define BIO_R_UNINITALISED                              120
+#define BIO_R_UNINITIALIZED                             120
 #define BIO_R_UNSUPPORTED_METHOD                        121
 #define BIO_R_WSASTARTUP                                122
  
index 58a82867a37921fb24a6bbef06c8c51d92502879..8fad0ff73019d2a4433b5342c0a6364a42599e2a 100644 (file)
@@ -100,7 +100,7 @@ static ERR_STRING_DATA BIO_str_reasons[]=
 {BIO_R_KEEPALIVE                         ,"keepalive"},
 {BIO_R_NBIO_CONNECT_ERROR                ,"nbio connect error"},
 {BIO_R_NO_ACCEPT_PORT_SPECIFIED          ,"no accept port specified"},
-{BIO_R_NO_HOSTHNAME_SPECIFIED            ,"no hosthname specified"},
+{BIO_R_NO_HOSTNAME_SPECIFIED             ,"no hostname specified"},
 {BIO_R_NO_PORT_DEFINED                   ,"no port defined"},
 {BIO_R_NO_PORT_SPECIFIED                 ,"no port specified"},
 {BIO_R_NULL_PARAMETER                    ,"null parameter"},
@@ -108,7 +108,7 @@ static ERR_STRING_DATA BIO_str_reasons[]=
 {BIO_R_UNABLE_TO_BIND_SOCKET             ,"unable to bind socket"},
 {BIO_R_UNABLE_TO_CREATE_SOCKET           ,"unable to create socket"},
 {BIO_R_UNABLE_TO_LISTEN_SOCKET           ,"unable to listen socket"},
-{BIO_R_UNINITALISED                      ,"uninitalised"},
+{BIO_R_UNINITIALIZED                     ,"uninitialized"},
 {BIO_R_UNSUPPORTED_METHOD                ,"unsupported method"},
 {BIO_R_WSASTARTUP                        ,"wsastartup"},
 {0,NULL},
index 0b3b10d2878714171bd64f10a34db30f54eede96..fc18409e1d00db0d5b26bf61278fcf56c0ec1c06 100644 (file)
@@ -162,7 +162,7 @@ int outl;
 
        if (!b->init)
                {
-               BIOerr(BIO_F_BIO_READ,BIO_R_UNINITALISED);
+               BIOerr(BIO_F_BIO_READ,BIO_R_UNINITIALIZED);
                return(-2);
                }
 
@@ -200,7 +200,7 @@ int inl;
 
        if (!b->init)
                {
-               BIOerr(BIO_F_BIO_WRITE,BIO_R_UNINITALISED);
+               BIOerr(BIO_F_BIO_WRITE,BIO_R_UNINITIALIZED);
                return(-2);
                }
 
@@ -241,7 +241,7 @@ const char *in;
 
        if (!b->init)
                {
-               BIOerr(BIO_F_BIO_PUTS,BIO_R_UNINITALISED);
+               BIOerr(BIO_F_BIO_PUTS,BIO_R_UNINITIALIZED);
                return(-2);
                }
 
@@ -275,7 +275,7 @@ int inl;
 
        if (!b->init)
                {
-               BIOerr(BIO_F_BIO_GETS,BIO_R_UNINITALISED);
+               BIOerr(BIO_F_BIO_GETS,BIO_R_UNINITIALIZED);
                return(-2);
                }
 
index 95c4bbbc03b72adf4441b21355e07119abef3ff4..9c84057e1be6165ea7374bc1420d98a91a7394e9 100644 (file)
@@ -159,7 +159,7 @@ BIO_CONNECT *c;
                        p=c->param_hostname;
                        if (p == NULL)
                                {
-                               BIOerr(BIO_F_CONN_STATE,BIO_R_NO_HOSTHNAME_SPECIFIED);
+                               BIOerr(BIO_F_CONN_STATE,BIO_R_NO_HOSTNAME_SPECIFIED);
                                goto exit_loop;
                                }
                        for ( ; *p != '\0'; p++)
index ba51ca93b12905df7193b2b8201e24f700cf3490..a3e0133d7ef02c8ebe4233d16dc9191bb1b4a116 100644 (file)
@@ -28,5 +28,5 @@
 #define BN_R_ENCODING_ERROR                             104
 #define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA               105
 #define BN_R_INVALID_LENGTH                             106
-#define BN_R_NOT_INITALISED                             107
+#define BN_R_NOT_INITIALIZED                            107
 #define BN_R_NO_INVERSE                                         108
index d26de6093f4dd058dea741913446925ba9975cc0..393fae5a64b4c83347161dd357c306acdefe57e9 100644 (file)
@@ -596,7 +596,7 @@ int BN_div_recp();
 #define BN_R_ENCODING_ERROR                             104
 #define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA               105
 #define BN_R_INVALID_LENGTH                             106
-#define BN_R_NOT_INITALISED                             107
+#define BN_R_NOT_INITIALIZED                            107
 #define BN_R_NO_INVERSE                                         108
  
 #ifdef  __cplusplus
index c247f71c8ae237f04e5c788428c3077092778dd0..e9b39430e1976577e5a24fcf21dc0b6c1063f27e 100644 (file)
@@ -106,7 +106,7 @@ BN_CTX *ctx;
 
        if ((b->A == NULL) || (b->Ai == NULL))
                {
-               BNerr(BN_F_BN_BLINDING_UPDATE,BN_R_NOT_INITALISED);
+               BNerr(BN_F_BN_BLINDING_UPDATE,BN_R_NOT_INITIALIZED);
                goto err;
                }
                
@@ -127,7 +127,7 @@ BN_CTX *ctx;
 
        if ((b->A == NULL) || (b->Ai == NULL))
                {
-               BNerr(BN_F_BN_BLINDING_CONVERT,BN_R_NOT_INITALISED);
+               BNerr(BN_F_BN_BLINDING_CONVERT,BN_R_NOT_INITIALIZED);
                return(0);
                }
        return(BN_mod_mul(n,n,b->A,b->mod,ctx));
@@ -143,7 +143,7 @@ BN_CTX *ctx;
        bn_check_top(n);
        if ((b->A == NULL) || (b->Ai == NULL))
                {
-               BNerr(BN_F_BN_BLINDING_INVERT,BN_R_NOT_INITALISED);
+               BNerr(BN_F_BN_BLINDING_INVERT,BN_R_NOT_INITIALIZED);
                return(0);
                }
        if ((ret=BN_mod_mul(n,n,b->Ai,b->mod,ctx)) >= 0)
index 4c29c1ac559d12f08b627140c3d51168f64adebd..626502a0e3444224abee66b2a6f9af6837caaf50 100644 (file)
@@ -91,7 +91,7 @@ static ERR_STRING_DATA BN_str_reasons[]=
 {BN_R_ENCODING_ERROR                     ,"encoding error"},
 {BN_R_EXPAND_ON_STATIC_BIGNUM_DATA       ,"expand on static bignum data"},
 {BN_R_INVALID_LENGTH                     ,"invalid length"},
-{BN_R_NOT_INITALISED                     ,"not initalised"},
+{BN_R_NOT_INITIALIZED                     ,"not initialized"},
 {BN_R_NO_INVERSE                         ,"no inverse"},
 {0,NULL},
        };
index e2604ac8ca2ac7b6c190c6508d1da7062b37a53d..0704827be10c29c99fb2528ba46a00aee7d87c03 100644 (file)
@@ -91,7 +91,7 @@ unsigned int *size;
 int EVP_MD_CTX_copy(EVP_MD_CTX *out, EVP_MD_CTX *in)
 {
     if ((in == NULL) || (in->digest == NULL)) {
-        EVPerr(EVP_F_EVP_MD_CTX_COPY,EVP_R_INPUT_NOT_INITALISED);
+        EVPerr(EVP_F_EVP_MD_CTX_COPY,EVP_R_INPUT_NOT_INITIALIZED);
        return 0;
     }
     memcpy((char *)out,(char *)in,in->digest->ctx_size);
index 367584e8a7499fdcffcfd13ded3b709529df4a36..c0115a50a992dff7b9531ada53d961cb1d4a50c6 100644 (file)
@@ -27,7 +27,7 @@
 #define EVP_R_DIFFERENT_KEY_TYPES                       101
 #define EVP_R_ENCODE_ERROR                              115
 #define EVP_R_EVP_PBE_CIPHERINIT_ERROR                  119
-#define EVP_R_INPUT_NOT_INITALISED                      111
+#define EVP_R_INPUT_NOT_INITIALIZED                     111
 #define EVP_R_IV_TOO_LARGE                              102
 #define EVP_R_KEYGEN_FAILURE                            120
 #define EVP_R_MISSING_PARMATERS                                 103
index bc6ea0c0339b2f49ddae6f800fa4d9f319ad87ce..248ac0c1910fda67206481cb8b4fba04b5b53ae0 100644 (file)
@@ -809,7 +809,7 @@ int EVP_CIPHER_get_asn1_iv();
 #define EVP_R_DIFFERENT_KEY_TYPES                       101
 #define EVP_R_ENCODE_ERROR                              115
 #define EVP_R_EVP_PBE_CIPHERINIT_ERROR                  119
-#define EVP_R_INPUT_NOT_INITALISED                      111
+#define EVP_R_INPUT_NOT_INITIALIZED                     111
 #define EVP_R_IV_TOO_LARGE                              102
 #define EVP_R_KEYGEN_FAILURE                            120
 #define EVP_R_MISSING_PARMATERS                                 103
index 7f8fe8d5faf2f4605bea3ab460f31253602f5896..2ba53c6baf958e9a89bccea6541cfd46bc0f5077 100644 (file)
@@ -92,7 +92,7 @@ static ERR_STRING_DATA EVP_str_reasons[]=
 {EVP_R_DIFFERENT_KEY_TYPES               ,"different key types"},
 {EVP_R_ENCODE_ERROR                      ,"encode error"},
 {EVP_R_EVP_PBE_CIPHERINIT_ERROR          ,"evp pbe cipherinit error"},
-{EVP_R_INPUT_NOT_INITALISED              ,"input not initalised"},
+{EVP_R_INPUT_NOT_INITIALIZED             ,"input not initialized"},
 {EVP_R_IV_TOO_LARGE                      ,"iv too large"},
 {EVP_R_KEYGEN_FAILURE                    ,"keygen failure"},
 {EVP_R_MISSING_PARMATERS                 ,"missing parmaters"},