浏览代码

Merge pull request #752 from krzk/ssl-fix-pem-load-error-msg

Use correct name of file (certificate chain) in error message
bel2125 6 年之前
父节点
当前提交
b04adb18e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -15556,7 +15556,7 @@ ssl_use_pem_file(struct mg_context *phys_ctx,
 			mg_cry_ctx_internal(phys_ctx,
 			mg_cry_ctx_internal(phys_ctx,
 			                    "%s: cannot use certificate chain file %s: %s",
 			                    "%s: cannot use certificate chain file %s: %s",
 			                    __func__,
 			                    __func__,
-			                    pem,
+			                    chain,
 			                    ssl_error());
 			                    ssl_error());
 			return 0;
 			return 0;
 		}
 		}