Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

Commit 19a7f19

Browse files
author
Jamie Turner
committed
Merge pull request #90 from stash/ssl-flag
Honor the ssl config file & command-line option
2 parents 0b88039 + 667f3d7 commit 19a7f19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configuration.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,10 @@ void config_param_validate (char *k, char *v, stud_config *cfg, char *file, int
538538
struct stat st;
539539

540540
if (strcmp(k, "tls") == 0) {
541-
//cfg->ENC_TLS = 1;
541+
cfg->ETYPE = ENC_TLS;
542542
}
543543
else if (strcmp(k, "ssl") == 0) {
544-
//cfg->ENC_TLS = 0;
544+
cfg->ETYPE = ENC_SSL;
545545
}
546546
else if (strcmp(k, CFG_CIPHERS) == 0) {
547547
if (v != NULL && strlen(v) > 0) {

0 commit comments

Comments
 (0)