diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-12 17:14:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-12 17:14:48 +0000 |
commit | ceb46789563c251cc8e682e1a95cb180fdd50cb0 (patch) | |
tree | 28af2cff131a4bdebe87c4b0d8f2657dcad8bb68 /crypto/dh/dh_err.c | |
parent | 0cb8499b73ec37cf1bcbd0d394375534b5e553a4 (diff) |
Extend DH ASN1 method to support public key encode/decode and parameter
utilities.
Diffstat (limited to 'crypto/dh/dh_err.c')
-rw-r--r-- | crypto/dh/dh_err.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/dh/dh_err.c b/crypto/dh/dh_err.c index 4e4deb6d13..2a44f1cc11 100644 --- a/crypto/dh/dh_err.c +++ b/crypto/dh/dh_err.c @@ -76,6 +76,8 @@ static ERR_STRING_DATA DH_str_functs[]= {ERR_FUNC(DH_F_DH_BUILTIN_GENPARAMS), "DH_BUILTIN_GENPARAMS"}, {ERR_FUNC(DH_F_DH_NEW_METHOD), "DH_new_method"}, {ERR_FUNC(DH_F_DH_PARAM_DECODE), "DH_PARAM_DECODE"}, +{ERR_FUNC(DH_F_DH_PUB_DECODE), "DH_PUB_DECODE"}, +{ERR_FUNC(DH_F_DH_PUB_ENCODE), "DH_PUB_ENCODE"}, {ERR_FUNC(DH_F_GENERATE_KEY), "GENERATE_KEY"}, {ERR_FUNC(DH_F_GENERATE_PARAMETERS), "GENERATE_PARAMETERS"}, {0,NULL} @@ -84,8 +86,11 @@ static ERR_STRING_DATA DH_str_functs[]= static ERR_STRING_DATA DH_str_reasons[]= { {ERR_REASON(DH_R_BAD_GENERATOR) ,"bad generator"}, +{ERR_REASON(DH_R_BN_DECODE_ERROR) ,"bn decode error"}, +{ERR_REASON(DH_R_DECODE_ERROR) ,"decode error"}, {ERR_REASON(DH_R_INVALID_PUBKEY) ,"invalid public key"}, {ERR_REASON(DH_R_NO_PRIVATE_VALUE) ,"no private value"}, +{ERR_REASON(DH_R_PARAMETER_ENCODING_ERROR),"parameter encoding error"}, {0,NULL} }; |