replaced freeswan ttodata by own chunk_{to|from}_{hex|base64} functions

This commit is contained in:
Martin Willi
2008-04-24 13:26:22 +00:00
parent 71983b5cc9
commit 9213ad27c2
11 changed files with 230 additions and 538 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ static void create_sid(private_session_t *this, request_t *request)
if (rng)
{
rng->get_bytes(rng, sizeof(buf), buf);
this->sid = chunk_to_hex(chunk, FALSE);
this->sid = chunk_to_hex(chunk, NULL, FALSE).ptr;
request->add_cookie(request, "SID", this->sid);
rng->destroy(rng);
}