Home
last modified time | relevance | path

Searched refs:key_path (Results 1 – 5 of 5) sorted by relevance

/demos/quic/server/
A Dserver.c46 static SSL_CTX *create_ctx(const char *cert_path, const char *key_path) in create_ctx() argument
60 if (SSL_CTX_use_PrivateKey_file(ctx, key_path, SSL_FILETYPE_PEM) <= 0) { in create_ctx()
61 fprintf(stderr, "couldn't load key file: %s\n", key_path); in create_ctx()
/demos/guide/
A Dquic-server-block.c89 static SSL_CTX *create_ctx(const char *cert_path, const char *key_path) in create_ctx() argument
128 if (SSL_CTX_use_PrivateKey_file(ctx, key_path, SSL_FILETYPE_PEM) <= 0) { in create_ctx()
129 fprintf(stderr, "couldn't load key file: %s\n", key_path); in create_ctx()
A Dquic-server-non-block.c89 static SSL_CTX *create_ctx(const char *cert_path, const char *key_path) in create_ctx() argument
128 if (SSL_CTX_use_PrivateKey_file(ctx, key_path, SSL_FILETYPE_PEM) <= 0) { in create_ctx()
129 fprintf(stderr, "couldn't load key file: %s\n", key_path); in create_ctx()
/demos/http3/
A Dossl-nghttp3-demo-server.c905 static SSL_CTX *create_ctx(const char *cert_path, const char *key_path) in create_ctx() argument
919 if (SSL_CTX_use_PrivateKey_file(ctx, key_path, SSL_FILETYPE_PEM) <= 0) { in create_ctx()
920 fprintf(stderr, "couldn't load key file: %s\n", key_path); in create_ctx()
/demos/quic/poll-server/
A Dquic-server-ssl-poll-http.c1796 create_ctx(const char *cert_path, const char *key_path) in create_ctx() argument
1835 if (SSL_CTX_use_PrivateKey_file(ctx, key_path, SSL_FILETYPE_PEM) <= 0) { in create_ctx()
1836 DPRINTF(stderr, "couldn't load key file: %s\n", key_path); in create_ctx()

Completed in 34 milliseconds