Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Honor the tls & ssl config file directives

  • Loading branch information...
commit 72e919f31b43588f588bc217c13f4123306c1df8 1 parent 5cd8c10
Jeremy Stashewsky authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 configuration.c
4 configuration.c
@@ -528,10 +528,10 @@ void config_param_validate (char *k, char *v, stud_config *cfg, char *file, int
528 528 struct stat st;
529 529
530 530 if (strcmp(k, "tls") == 0) {
531   - //cfg->ENC_TLS = 1;
  531 + cfg->ETYPE = ENC_TLS;
532 532 }
533 533 else if (strcmp(k, "ssl") == 0) {
534   - //cfg->ENC_TLS = 0;
  534 + cfg->ETYPE = ENC_SSL;
535 535 }
536 536 else if (strcmp(k, CFG_CIPHERS) == 0) {
537 537 if (v != NULL && strlen(v) > 0) {

0 comments on commit 72e919f

Please sign in to comment.
Something went wrong with that request. Please try again.