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 c3813ac..a18f428 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 e804f0d..f6cb2ff 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 0f54834..f83b3e2 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 58a8286..8fad0ff 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 0b3b10d..fc18409 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 95c4bbb..9c84057 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 ba51ca9..a3e0133 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 d26de60..393fae5 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 c247f71..e9b3943 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 4c29c1a..626502a 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 e2604ac..0704827 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 367584e..c0115a5 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 bc6ea0c..248ac0c 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 7f8fe8d..2ba53c6 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"},