Document CA file & dir compiler options

and fix a trivia typo
This commit is contained in:
David 2021-08-04 19:03:12 -07:00
parent a269b94ad8
commit 8cfcd00045
3 changed files with 9 additions and 2 deletions

View file

@ -266,7 +266,7 @@ int stream_enable_ssl(PTSTREAM *pts, const char *proxy_arg) {
#ifndef DEFAULT_CA_FILE
const char *ca_file = NULL;
#else
const char *ca_file = DEFAULT_CA_FILE; /* Default cert file from in Makefile */
const char *ca_file = DEFAULT_CA_FILE; /* Default cert file from Makefile */
#endif /* !DEFAULT_CA_FILE */
#ifndef DEFAULT_CA_DIR
const char *ca_dir = "/etc/ssl/certs/"; /* Default cert directory if none given */