Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Honor the tls & ssl config file directives

  • Loading branch information...
commit 72e919f31b43588f588bc217c13f4123306c1df8 1 parent 5cd8c10
@stash authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 configuration.c
View
4 configuration.c
@@ -528,10 +528,10 @@ void config_param_validate (char *k, char *v, stud_config *cfg, char *file, int
struct stat st;
if (strcmp(k, "tls") == 0) {
- //cfg->ENC_TLS = 1;
+ cfg->ETYPE = ENC_TLS;
}
else if (strcmp(k, "ssl") == 0) {
- //cfg->ENC_TLS = 0;
+ cfg->ETYPE = ENC_SSL;
}
else if (strcmp(k, CFG_CIPHERS) == 0) {
if (v != NULL && strlen(v) > 0) {
Please sign in to comment.
Something went wrong with that request. Please try again.