added msg_auth flag in radius_message_t sign() method
[strongswan.git] / src / libradius / radius_socket.c
index f848569..70500f5 100644 (file)
@@ -157,7 +157,8 @@ METHOD(radius_socket_t, request, radius_message_t*,
        /* set Message Identifier */
        request->set_identifier(request, this->identifier++);
        /* sign the request */
-       request->sign(request, NULL, this->secret, this->hasher, this->signer, rng);
+       request->sign(request, NULL, this->secret, this->hasher, this->signer,
+                                                  rng, rng != NULL);
 
        if (!check_connection(this, fd, port))
        {