Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
d23fe134
Commit
d23fe134
authored
Jul 15, 2015
by
Jan Včelák
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libdnssec, add error codes for DS computation
parent
e522a1ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/dnssec/lib/dnssec/error.h
src/dnssec/lib/dnssec/error.h
+5
-0
src/dnssec/lib/error.c
src/dnssec/lib/error.c
+5
-0
No files found.
src/dnssec/lib/dnssec/error.h
View file @
d23fe134
...
...
@@ -70,6 +70,7 @@ enum dnssec_error {
DNSSEC_INVALID_KEY_ALGORITHM
,
DNSSEC_INVALID_KEY_SIZE
,
DNSSEC_INVALID_KEY_ID
,
DNSSEC_INVALID_KEY_NAME
,
DNSSEC_NO_PUBLIC_KEY
,
DNSSEC_NO_PRIVATE_KEY
,
...
...
@@ -78,9 +79,13 @@ enum dnssec_error {
DNSSEC_SIGN_INIT_ERROR
,
DNSSEC_SIGN_ERROR
,
DNSSEC_INVALID_SIGNATURE
,
DNSSEC_INVALID_NSEC3_ALGORITHM
,
DNSSEC_NSEC3_HASHING_ERROR
,
DNSSEC_INVALID_DS_ALGORITHM
,
DNSSEC_DS_HASHING_ERROR
,
DNSSEC_CONFIG_MALFORMED
,
DNSSEC_CONFIG_INVALID_KEY_ID
,
...
...
src/dnssec/lib/error.c
View file @
d23fe134
...
...
@@ -47,6 +47,7 @@ static const error_message_t ERROR_MESSAGES[] = {
{
DNSSEC_INVALID_KEY_ALGORITHM
,
"invalid key algorithm"
},
{
DNSSEC_INVALID_KEY_SIZE
,
"invalid key size"
},
{
DNSSEC_INVALID_KEY_ID
,
"invalid key ID"
},
{
DNSSEC_INVALID_KEY_NAME
,
"invalid key name"
},
{
DNSSEC_NO_PUBLIC_KEY
,
"no public key"
},
{
DNSSEC_NO_PRIVATE_KEY
,
"no private key"
},
...
...
@@ -55,9 +56,13 @@ static const error_message_t ERROR_MESSAGES[] = {
{
DNSSEC_SIGN_INIT_ERROR
,
"signing initialization error"
},
{
DNSSEC_SIGN_ERROR
,
"signing error"
},
{
DNSSEC_INVALID_SIGNATURE
,
"invalid signature"
},
{
DNSSEC_INVALID_NSEC3_ALGORITHM
,
"invalid NSEC3 algorithm"
},
{
DNSSEC_NSEC3_HASHING_ERROR
,
"NSEC3 hashing error"
},
{
DNSSEC_INVALID_DS_ALGORITHM
,
"invalid DS algorithm"
},
{
DNSSEC_DS_HASHING_ERROR
,
"DS hashing error"
},
{
DNSSEC_CONFIG_MALFORMED
,
"malformed config value"
},
{
DNSSEC_CONFIG_INVALID_KEY_ID
,
"invalid key ID in config"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment