version 1.160, 2021/01/27 10:05:28 |
version 1.161, 2021/04/03 06:18:40 |
|
|
double delay; |
double delay; |
|
|
(void)snprintf(b, sizeof b, "%llu%s", |
(void)snprintf(b, sizeof b, "%llu%s", |
(unsigned long long)options.timing_secret, user); |
(unsigned long long)options.timing_secret, user); |
if (ssh_digest_memory(SSH_DIGEST_SHA512, b, strlen(b), hash, len) != 0) |
if (ssh_digest_memory(SSH_DIGEST_SHA512, b, strlen(b), hash, len) != 0) |
fatal_f("ssh_digest_memory"); |
fatal_f("ssh_digest_memory"); |
/* 0-4.2 ms of delay */ |
/* 0-4.2 ms of delay */ |
|
|
auth2_record_info(Authctxt *authctxt, const char *fmt, ...) |
auth2_record_info(Authctxt *authctxt, const char *fmt, ...) |
{ |
{ |
va_list ap; |
va_list ap; |
int i; |
int i; |
|
|
free(authctxt->auth_method_info); |
free(authctxt->auth_method_info); |
authctxt->auth_method_info = NULL; |
authctxt->auth_method_info = NULL; |