Lines Matching refs:dhpkey
2113 EVP_PKEY *dhpkey = NULL; in s_server_main() local
2116 dhpkey = load_keyparams(dhfile, FORMAT_UNDEF, 0, "DH", "DH parameters"); in s_server_main()
2118 dhpkey = load_keyparams_suppress(s_cert_file, FORMAT_UNDEF, 0, "DH", in s_server_main()
2121 if (dhpkey != NULL) { in s_server_main()
2128 if (dhpkey == NULL) { in s_server_main()
2135 if (!EVP_PKEY_up_ref(dhpkey)) { in s_server_main()
2136 EVP_PKEY_free(dhpkey); in s_server_main()
2139 if (!SSL_CTX_set0_tmp_dh_pkey(ctx, dhpkey)) { in s_server_main()
2143 EVP_PKEY_free(dhpkey); in s_server_main()
2144 EVP_PKEY_free(dhpkey); in s_server_main()
2160 EVP_PKEY_free(dhpkey); in s_server_main()
2161 dhpkey = dhpkey2; in s_server_main()
2164 if (dhpkey == NULL) { in s_server_main()
2166 } else if (!SSL_CTX_set0_tmp_dh_pkey(ctx2, dhpkey)) { in s_server_main()
2169 EVP_PKEY_free(dhpkey); in s_server_main()
2172 dhpkey = NULL; in s_server_main()
2174 EVP_PKEY_free(dhpkey); in s_server_main()