diff options
Diffstat (limited to 'libntp/authkeys.c')
-rw-r--r-- | libntp/authkeys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libntp/authkeys.c b/libntp/authkeys.c index d28b4b932b84..29671ac922bb 100644 --- a/libntp/authkeys.c +++ b/libntp/authkeys.c @@ -611,6 +611,9 @@ authhavekey( /* * The key is found and trusted. Initialize the key cache. + * The cache really should be a struct savekey to streamline + * this code. Using a sk pointer would be even faster but more + * fragile around pointing to freed memory. */ cache_keyid = sk->keyid; cache_type = sk->type; @@ -927,6 +930,7 @@ authdecrypt( pkt, length, size, keyno); } + /* password decoding helpers */ static size_t pwdecode_plain( |