Browse Source

* Clear the hash/rand strings after authing is complete.

svn: 2149
Bryan Drewery 21 years ago
parent
commit
d88dcf0e16
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/auth.c

+ 2 - 0
src/auth.c

@@ -86,6 +86,8 @@ void Auth::MakeHash(bool bd)
 
 
 void Auth::Done(bool _bd)
 void Auth::Done(bool _bd)
 {
 {
+  hash[0] = 0;
+  rand[0] = 0;
   Status(AUTHED);
   Status(AUTHED);
   bd = _bd;
   bd = _bd;
 }
 }