Return the message from the radius server to the peer.
authorPaul Mackerras <paulus@samba.org>
Sun, 10 Jul 2005 10:28:55 +0000 (10:28 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 10 Jul 2005 10:28:55 +0000 (10:28 +0000)
pppd/plugins/radius/radius.c

index c4ef0a5cae4a14df4695e9c5c5b4220fc22869b0..9fe5e5a33bed434d0a753f774165e86a5748e4cb 100644 (file)
@@ -24,7 +24,7 @@
 *
 ***********************************************************************/
 static char const RCSID[] =
-"$Id: radius.c,v 1.29 2004/11/15 22:13:26 paulus Exp $";
+"$Id: radius.c,v 1.30 2005/07/10 10:28:55 paulus Exp $";
 
 #include "pppd.h"
 #include "chap-new.h"
@@ -471,6 +471,8 @@ radius_chap_verify(char *user, char *ourname, int id,
                         req_info);
     }
 
+    strlcpy(message, radius_msg, message_space);
+
     if (result == OK_RC) {
        if (!rstate.done_chap_once) {
            if (radius_setparams(received, radius_msg, req_info, digest,