Skip to content

Commit dd26627

Browse files
committed
CDRIVER-2844 log PEM file error with LibreSSL
1 parent c145913 commit dd26627

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/libmongoc/src/mongoc/mongoc-libressl.c

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ mongoc_libressl_setup_certificate (mongoc_stream_tls_libressl_t *libressl,
4747

4848
file = tls_load_file (opt->pem_file, &file_len, (char *) opt->pem_pwd);
4949
if (!file) {
50+
MONGOC_ERROR ("Cannot load private key: '%s'", opt->pem_file);
5051
return false;
5152
}
5253

0 commit comments

Comments
 (0)