Searched refs:server_cfg (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/regress/lib/libtls/tls/ |
| D | tlstest.c | 297 struct tls_config *client_cfg, *server_cfg; in test_tls() local 318 if ((server_cfg = tls_config_new()) == NULL) in test_tls() 321 errx(1, "failed to parse protocols: %s", tls_config_error(server_cfg)); in test_tls() 322 if (tls_config_set_protocols(server_cfg, protocols) == -1) in test_tls() 323 errx(1, "failed to set protocols: %s", tls_config_error(server_cfg)); in test_tls() 324 if (tls_config_set_ciphers(server_cfg, ciphers) == -1) in test_tls() 325 errx(1, "failed to set ciphers: %s", tls_config_error(server_cfg)); in test_tls() 326 if (tls_config_set_keypair_file(server_cfg, certfile, keyfile) == -1) in test_tls() 328 tls_config_error(server_cfg)); in test_tls() 333 if (tls_configure(server, server_cfg) == -1) in test_tls() [all …]
|
| /openbsd/src/usr.bin/ssh/ |
| D | sshd.c | 1072 accumulate_host_timing_secret(struct sshbuf *server_cfg, in accumulate_host_timing_secret() argument 1085 if (ssh_digest_update(ctx, sshbuf_ptr(server_cfg), in accumulate_host_timing_secret() 1086 sshbuf_len(server_cfg)) != 0) in accumulate_host_timing_secret()
|