Searched refs:secret_hex (Results 1 – 2 of 2) sorted by relevance
/openbsd/usr.sbin/nsd/ |
H A D | remote.c | 2305 char secret_hex[NSD_COOKIE_SECRET_SIZE * 2 + 1]; in cookie_secret_file_dump() local 2319 secret_hex, sizeof(secret_hex)); in cookie_secret_file_dump() 2322 secret_hex[NSD_COOKIE_SECRET_SIZE * 2] = '\0'; in cookie_secret_file_dump() 2323 fprintf(f, "%s\n", secret_hex); in cookie_secret_file_dump() 2325 explicit_bzero(secret_hex, sizeof(secret_hex)); in cookie_secret_file_dump() 2430 char secret_hex[NSD_COOKIE_SECRET_SIZE * 2 + 1]; in do_print_cookie_secrets() local 2438 secret_hex, sizeof(secret_hex)); in do_print_cookie_secrets() 2441 secret_hex[NSD_COOKIE_SECRET_SIZE * 2] = '\0'; in do_print_cookie_secrets() 2443 (void)ssl_printf(ssl, "active : %s\n", secret_hex); in do_print_cookie_secrets() 2445 (void)ssl_printf(ssl, "staging: %s\n", secret_hex); in do_print_cookie_secrets() [all …]
|
/openbsd/usr.sbin/unbound/daemon/ |
H A D | remote.c | 3205 char secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2 + 1]; in cookie_secret_file_dump() local 3230 UNBOUND_COOKIE_SECRET_SIZE, secret_hex, in cookie_secret_file_dump() 3231 sizeof(secret_hex)); in cookie_secret_file_dump() 3234 secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2] = '\0'; in cookie_secret_file_dump() 3235 fprintf(f, "%s\n", secret_hex); in cookie_secret_file_dump() 3237 explicit_bzero(secret_hex, sizeof(secret_hex)); in cookie_secret_file_dump() 3386 UNBOUND_COOKIE_SECRET_SIZE, secret_hex, in do_print_cookie_secrets() 3387 sizeof(secret_hex)); in do_print_cookie_secrets() 3390 secret_hex[UNBOUND_COOKIE_SECRET_SIZE * 2] = '\0'; in do_print_cookie_secrets() 3397 secret_hex); in do_print_cookie_secrets() [all …]
|