Fix typos in error codes.
This commit is contained in:
parent
46e8ddaf64
commit
df82f5c85c
3
CHANGES
3
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]
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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},
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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++)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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},
|
||||
};
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user