We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6a5587 commit 7ba055fCopy full SHA for 7ba055f
ssl/openssl.c
@@ -49,7 +49,7 @@ hssl_ctx_t hssl_ctx_new(hssl_ctx_opt_t* param) {
49
}
50
51
if (param->crt_file && *param->crt_file) {
52
- if (!SSL_CTX_use_certificate_file(ctx, param->crt_file, SSL_FILETYPE_PEM)) {
+ if (!SSL_CTX_use_certificate_chain_file(ctx, param->crt_file)) {
53
fprintf(stderr, "ssl crt_file error!\n");
54
goto error;
55
0 commit comments