diff options
-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. */ }; |