projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714fa68
)
Correct an error code.
author
Linus Nordberg
<linus@nordu.net>
Thu, 3 Mar 2011 13:02:40 +0000
(14:02 +0100)
committer
Linus Nordberg
<linus@nordu.net>
Thu, 3 Mar 2011 13:02:40 +0000
(14:02 +0100)
lib/packet.c
patch
|
blob
|
history
diff --git
a/lib/packet.c
b/lib/packet.c
index
ea1a07f
..
2ef7e45
100644
(file)
--- a/
lib/packet.c
+++ b/
lib/packet.c
@@
-46,9
+46,11
@@
_do_send (struct rs_packet *pkt)
assert (pkt->rpkt);
assert (!pkt->original);
+ /* Add Message-Authenticator, RFC 2869. */
+ /* FIXME: Make Message-Authenticator optional? */
vp = paircreate (PW_MESSAGE_AUTHENTICATOR, PW_TYPE_OCTETS);
if (!vp)
- return rs_err_conn_push_fl (pkt->conn, RSE_
NOMEM
, __FILE__, __LINE__,
+ return rs_err_conn_push_fl (pkt->conn, RSE_
FR
, __FILE__, __LINE__,
"paircreate: %s", fr_strerror ());
pairadd (&pkt->rpkt->vps, vp);