diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-07-17 16:33:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-07-17 16:33:31 +0000 |
commit | 5c95c2ac23dd30f3c458e2738598383d2ca58181 (patch) | |
tree | 181e8b7d0663eeed579bbe7f97760f0ddad52157 /crypto/dh | |
parent | 454dbbc593cd8d9ddd7969e94c6118fc64c57f7b (diff) | |
download | openssl-5c95c2ac23dd30f3c458e2738598383d2ca58181.zip openssl-5c95c2ac23dd30f3c458e2738598383d2ca58181.tar.gz openssl-5c95c2ac23dd30f3c458e2738598383d2ca58181.tar.bz2 |
Fix various error codes to match functions.
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh.h | 2 | ||||
-rw-r--r-- | crypto/dh/dh_ameth.c | 2 | ||||
-rw-r--r-- | crypto/dh/dh_err.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 10bf3fe..ecd61f3 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -223,7 +223,7 @@ void ERR_load_DH_strings(void); /* Function codes. */ #define DH_F_COMPUTE_KEY 102 -#define DH_F_DHPARAMS_PRINT 100 +#define DH_F_DO_DH_PRINT 100 #define DH_F_DHPARAMS_PRINT_FP 101 #define DH_F_DH_BUILTIN_GENPARAMS 106 #define DH_F_DH_NEW_METHOD 105 diff --git a/crypto/dh/dh_ameth.c b/crypto/dh/dh_ameth.c index 2f2589b..0ff0fe7 100644 --- a/crypto/dh/dh_ameth.c +++ b/crypto/dh/dh_ameth.c @@ -381,7 +381,7 @@ static int do_dh_print(BIO *bp, const DH *x, int indent, if (0) { err: - DHerr(DH_F_DHPARAMS_PRINT,reason); + DHerr(DH_F_DO_DH_PRINT,reason); } if (m != NULL) OPENSSL_free(m); return(ret); diff --git a/crypto/dh/dh_err.c b/crypto/dh/dh_err.c index 2fdfc55..86d8cdd 100644 --- a/crypto/dh/dh_err.c +++ b/crypto/dh/dh_err.c @@ -71,7 +71,6 @@ static ERR_STRING_DATA DH_str_functs[]= { {ERR_FUNC(DH_F_COMPUTE_KEY), "COMPUTE_KEY"}, -{ERR_FUNC(DH_F_DHPARAMS_PRINT), "DHparams_print"}, {ERR_FUNC(DH_F_DHPARAMS_PRINT_FP), "DHparams_print_fp"}, {ERR_FUNC(DH_F_DH_BUILTIN_GENPARAMS), "DH_BUILTIN_GENPARAMS"}, {ERR_FUNC(DH_F_DH_NEW_METHOD), "DH_new_method"}, @@ -80,6 +79,7 @@ static ERR_STRING_DATA DH_str_functs[]= {ERR_FUNC(DH_F_DH_PRIV_ENCODE), "DH_PRIV_ENCODE"}, {ERR_FUNC(DH_F_DH_PUB_DECODE), "DH_PUB_DECODE"}, {ERR_FUNC(DH_F_DH_PUB_ENCODE), "DH_PUB_ENCODE"}, +{ERR_FUNC(DH_F_DO_DH_PRINT), "DO_DH_PRINT"}, {ERR_FUNC(DH_F_GENERATE_KEY), "GENERATE_KEY"}, {ERR_FUNC(DH_F_GENERATE_PARAMETERS), "GENERATE_PARAMETERS"}, {ERR_FUNC(DH_F_PKEY_DH_DERIVE), "PKEY_DH_DERIVE"}, |