Diffarent Error codes have same value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Diffarent Error codes have same value

konark

Hi All ,

 

 

I found in ssl.h header file that error codes repeats many times like.....

 

#define SSL_R_BAD_ECDSA_SIGNATURE                                 1112

#define SSL_R_KEY_ARG_TOO_LONG                                      1112

#define SSL_R_BAD_ECDSA_SIGNATURE                                 1112

 

#define SSL_R_MISSING_TMP_ECDH_KEY                                1114

#define SSL_R_SSL2_CONNECTION_ID_TOO_LONG                  1114

 

 

#define SSL_R_BAD_ECPOINT                                      1113

#define SSL_R_SSL3_SESSION_ID_TOO_LONG                         1113

 

 

There are many such instances . What is the reason for assigning same value for different error codes...

 

 

Regards,

konark

 

 

 

***************************************************************************************

            This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

 

Reply | Threaded
Open this post in threaded view
|

Re: Diffarent Error codes have same value

Nils Larsch
Konark wrote:

> Hi All ,
>
>  
>
>  
>
> I found in ssl.h header file that error codes repeats many times like.....
>
>  
>
> #define SSL_R_BAD_ECDSA_SIGNATURE                                 1112
>
> #define SSL_R_KEY_ARG_TOO_LONG                                      1112
>
> #define SSL_R_BAD_ECDSA_SIGNATURE                                 1112
>
>  
>
> #define SSL_R_MISSING_TMP_ECDH_KEY                                1114
>
> #define SSL_R_SSL2_CONNECTION_ID_TOO_LONG                  1114
>
>  
>
>  
>
> #define SSL_R_BAD_ECPOINT                                      1113
>
> #define SSL_R_SSL3_SESSION_ID_TOO_LONG                         1113
>
>  
>
>  
>
> There are many such instances . What is the reason for assigning same
> value for different error codes...

this should be fixed in the cvs

Cheers,
Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]