Permalink
Browse files

Honor the tls & ssl config file directives

  • Loading branch information...
1 parent a9b5aca commit 667f3d7f6e8813c5dd2d44b04bcbda1919432dcb @stash stash committed Apr 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 configuration.c
View
@@ -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) {

0 comments on commit 667f3d7

Please sign in to comment.