Commit 6d7aa71f authored by Mark Andrews's avatar Mark Andrews
Browse files

encrypt nonce and time

parent 35bcef66
......@@ -1575,6 +1575,9 @@ compute_sit(ns_client_t *client, isc_uint32_t when, isc_uint32_t nonce,
input[i + 8] = digest[i] ^ digest[i + 8];
isc_aes128_crypt(ns_g_server->secret, input + 8, digest);
break;
default:
isc_aes128_crypt(ns_g_server->secret, input, digest);
break;
}
memcpy(input, client->cookie, 8);
for (i = 0; i < 8; i++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment