diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 13:14:15 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 13:14:15 -0500 |
commit | b29ecac1d63aacab6a914ccf49a6a9ef52c23530 (patch) | |
tree | f37d43931b93ec17197d10e30c295c075004a475 /src | |
parent | 5aeb33c74956c392815a814b5839adc693463882 (diff) | |
download | lite-xl-plugin-manager-b29ecac1d63aacab6a914ccf49a6a9ef52c23530.tar.gz lite-xl-plugin-manager-b29ecac1d63aacab6a914ccf49a6a9ef52c23530.zip |
Won't actually have an error so simplified.
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -620,9 +620,7 @@ static int lpm_certs(lua_State* L) { if (status < 0) return luaL_mbedtls_error(L, status, "mbedtls_x509_crt_parse_file failed to parse CA certificate %s", path); if (status > 0 && print_trace) { - char err[256]; - mbedtls_snprintf(1, err, sizeof(err), status, "failed to parse %d certificates in %s", status, path); - fprintf(stderr, "[ssl] mbedtls_x509_crt_parse_file %s: %s.\n", path, err); + fprintf(stderr, "[ssl] mbedtls_x509_crt_parse_file on %s failed to parse %d certificates, but still still succeeded.\n", path, status); fflush(stderr); } mbedtls_ssl_conf_ca_chain(&ssl_config, &x509_certificate, NULL); |