diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-01 00:40:56 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-01 00:40:56 +0100 |
commit | f8118c1c2330bdcb8bf2df653f0cd17b66dc48cc (patch) | |
tree | 85795ce68e2c0c7eab6fa5c2a03e90972b2d185e /lib | |
parent | 5bb45f3d784f53226942fde428a7cef8660127ad (diff) |
Add RSE_INVAL.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/err.c | 2 | ||||
-rw-r--r-- | lib/include/radsec/radsec.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -28,7 +28,7 @@ static const char *_errtxt[] = { "SSL error", /* 14 RSE_SSLERR */ "invalid packet", /* 15 RSE_INVALID_PKT */ "I/O timeout", /* 16 RSE_IOTIMEOUT */ - "ERR 17", /* RSE_ */ + "invalid argument", /* 17 RSE_INVAL */ "ERR 18", /* RSE_ */ "ERR 19", /* RSE_ */ "ERR 20", /* RSE_ */ diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h index 125d5cd..7fa5741 100644 --- a/lib/include/radsec/radsec.h +++ b/lib/include/radsec/radsec.h @@ -22,6 +22,7 @@ enum rs_err_code { RSE_SSLERR = 14, /* OpenSSL error. */ RSE_INVALID_PKT = 15, RSE_IOTIMEOUT = 16, + RSE_INVAL = 17, RSE_SOME_ERROR = 21, /* Unspecified error. Shouldn't happen. */ }; |