Permalink
Browse files

Merge pull request #90 from stash/ssl-flag

Honor the ssl config file & command-line option
  • Loading branch information...
2 parents 0b88039 + 667f3d7 commit 19a7f19686bcdbd689c6fbea31f68a276e62d886 Jamie Turner committed Sep 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 configuration.c
View
@@ -538,10 +538,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) {

0 comments on commit 19a7f19

Please sign in to comment.