ref: 501774b0968d59994d5012fab62fa8221d8b7923
parent: c3487a4b49b6988aad0e340ad9e986e4549b9317
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Aug 20 23:32:05 EDT 2015
authsrv: randomize aes key in mkkey(), not used yet.
--- a/sys/src/cmd/auth/authsrv.c
+++ b/sys/src/cmd/auth/authsrv.c
@@ -1002,6 +1002,7 @@
mkkey(Authkey *k)
{
randombytes((uchar*)k->des, DESKEYLEN);
+ randombytes((uchar*)k->aes, AESKEYLEN);
}
void