From df82f5c85c5443d96cdb6c0d61ff4ffe28965929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Mon, 19 Apr 1999 14:45:02 +0000 Subject: [PATCH] Fix typos in error codes. --- CHANGES | 3 +++ crypto/bio/bio.err | 4 ++-- crypto/bio/bio.h | 4 ++-- crypto/bio/bio_err.c | 4 ++-- crypto/bio/bio_lib.c | 8 ++++---- crypto/bio/bss_conn.c | 2 +- crypto/bn/bn.err | 2 +- crypto/bn/bn.org | 2 +- crypto/bn/bn_blind.c | 6 +++--- crypto/bn/bn_err.c | 2 +- crypto/evp/digest.c | 2 +- crypto/evp/evp.err | 2 +- crypto/evp/evp.h | 2 +- crypto/evp/evp_err.c | 2 +- 14 files changed, 24 insertions(+), 21 deletions(-) diff --git a/CHANGES b/CHANGES index c3813ac358..a18f428e9b 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,9 @@ Changes between 0.9.2b and 0.9.3 + *) Fix typos in error codes. + [Martin Kraemer , Ulf Möller] + *) Remove defunct assembler files from Configure. [Ulf Möller] diff --git a/crypto/bio/bio.err b/crypto/bio/bio.err index e804f0d524..f6cb2ff3e4 100644 --- a/crypto/bio/bio.err +++ b/crypto/bio/bio.err @@ -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 diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 0f54834f60..f83b3e2f24 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -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 diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index 58a82867a3..8fad0ff730 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -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}, diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c index 0b3b10d287..fc18409e1d 100644 --- a/crypto/bio/bio_lib.c +++ b/crypto/bio/bio_lib.c @@ -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); } diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index 95c4bbbc03..9c84057e1b 100644 --- a/crypto/bio/bss_conn.c +++ b/crypto/bio/bss_conn.c @@ -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++) diff --git a/crypto/bn/bn.err b/crypto/bn/bn.err index ba51ca93b1..a3e0133d7e 100644 --- a/crypto/bn/bn.err +++ b/crypto/bn/bn.err @@ -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 diff --git a/crypto/bn/bn.org b/crypto/bn/bn.org index d26de6093f..393fae5a64 100644 --- a/crypto/bn/bn.org +++ b/crypto/bn/bn.org @@ -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 diff --git a/crypto/bn/bn_blind.c b/crypto/bn/bn_blind.c index c247f71c8a..e9b39430e1 100644 --- a/crypto/bn/bn_blind.c +++ b/crypto/bn/bn_blind.c @@ -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) diff --git a/crypto/bn/bn_err.c b/crypto/bn/bn_err.c index 4c29c1ac55..626502a0e3 100644 --- a/crypto/bn/bn_err.c +++ b/crypto/bn/bn_err.c @@ -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}, }; diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c index e2604ac8ca..0704827be1 100644 --- a/crypto/evp/digest.c +++ b/crypto/evp/digest.c @@ -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); diff --git a/crypto/evp/evp.err b/crypto/evp/evp.err index 367584e8a7..c0115a50a9 100644 --- a/crypto/evp/evp.err +++ b/crypto/evp/evp.err @@ -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 diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index bc6ea0c033..248ac0c191 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -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 diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index 7f8fe8d5fa..2ba53c6baf 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -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"}, -- GitLab