diff options
author | Linus Nordberg <linus@nordu.net> | 2012-04-26 10:12:36 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2012-04-26 10:12:36 +0200 |
commit | e6b234bb547479f8862badeee58d1b1415a2439d (patch) | |
tree | 6884911f9b5f8f1e9be933802001c1144d72412c /lib/err.c | |
parent | 4e81d5cf94e408fcc1398359abeea9a7afc7fdb9 (diff) |
Add an error code.
Also add error text for missing RSE_CRED.
Diffstat (limited to 'lib/err.c')
-rw-r--r-- | lib/err.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,8 @@ static const char *_errtxt[] = { "I/O timeout", /* 18 RSE_TIMEOUT_IO */ "timeout", /* 19 RSE_TIMEOUT */ "peer disconnected", /* 20 RSE_DISCO */ + "invalid credentials", /* 21 RSE_CRED */ + "certificate validation error", /* 22 RSE_CERT */ }; #define ERRTXT_SIZE (sizeof(_errtxt) / sizeof(*_errtxt)) |