From: Linus Nordberg Date: Mon, 28 Feb 2011 23:40:56 +0000 (+0100) Subject: Add RSE_INVAL. X-Git-Tag: libradsec-0.0.1~38 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=radsecproxy.git;a=commitdiff_plain;h=f8118c1c2330bdcb8bf2df653f0cd17b66dc48cc Add RSE_INVAL. --- 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. */ };