authsrv: randomize aes key in mkkey(), not used yet.
This commit is contained in:
parent
c3487a4b49
commit
501774b096
1 changed files with 1 additions and 0 deletions
|
@ -1002,6 +1002,7 @@ void
|
||||||
mkkey(Authkey *k)
|
mkkey(Authkey *k)
|
||||||
{
|
{
|
||||||
randombytes((uchar*)k->des, DESKEYLEN);
|
randombytes((uchar*)k->des, DESKEYLEN);
|
||||||
|
randombytes((uchar*)k->aes, AESKEYLEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue