Lines Matching refs:private_key
154 const char *cert, const char *private_key, argument
177 int n = (int)lws_tls_generic_cert_checks(vhost, cert, private_key), m;
179 if (!cert && !private_key)
202 private_key = NULL;
231 if (private_key) {
233 if (SSL_CTX_use_PrivateKey_file(vhost->tls.ssl_ctx, private_key,
244 private_key, error, s);
289 if (lws_tls_alloc_pem_to_der_file(vhost->context, private_key,
392 if (n != LWS_TLS_EXTANT_ALTERNATIVE && private_key) {
394 if (SSL_CTX_use_PrivateKey_file(vhost->tls.ssl_ctx, private_key,
398 private_key, error,