[go: nahoru, domu]

Skip to content

Commit

Permalink
Update latency-optimization.c
Browse files Browse the repository at this point in the history
  • Loading branch information
chidea authored Jun 28, 2018
1 parent 119f395 commit 9a7cfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/libh2o/latency-optimization.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int main(int argc, char **argv)
OpenSSL_add_all_algorithms();
if (mode_server) {
ssl_ctx = SSL_CTX_new(SSLv23_server_method());
SSL_CTX_use_certificate_file(ssl_ctx, "examples/h2o/server.crt", SSL_FILETYPE_PEM);
SSL_CTX_use_certificate_chain_file(ssl_ctx, "examples/h2o/server.crt");
SSL_CTX_use_PrivateKey_file(ssl_ctx, "examples/h2o/server.key", SSL_FILETYPE_PEM);
} else {
ssl_ctx = SSL_CTX_new(SSLv23_client_method());
Expand Down

0 comments on commit 9a7cfb1

Please sign in to comment.