summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-01 00:40:56 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-01 00:40:56 +0100
commitf8118c1c2330bdcb8bf2df653f0cd17b66dc48cc (patch)
tree85795ce68e2c0c7eab6fa5c2a03e90972b2d185e
parent5bb45f3d784f53226942fde428a7cef8660127ad (diff)
Add RSE_INVAL.
-rw-r--r--lib/err.c2
-rw-r--r--lib/include/radsec/radsec.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/err.c b/lib/err.c
index 1ad76a6..fe79040 100644
--- a/lib/err.c
+++ b/lib/err.c
@@ -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. */
};