SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
SSLDirConfigRec *dc = (SSLDirConfigRec *)ctx;
- if (!(cmd->path || dc)) {
- sc->szCipherSuite = arg;
+ if (cmd->path) {
+ dc->szCipherSuite = (char *)arg;
}
else {
- dc->szCipherSuite = (char *)arg;
+ sc->szCipherSuite = arg;
}
return NULL;
}
#ifdef SSL_EXPERIMENTAL_PERDIRCA
- if (!(cmd->path || dc)) {
- sc->szCACertificatePath = arg;
+ if (cmd->path) {
+ dc->szCACertificatePath = arg;
}
else {
- dc->szCACertificatePath = arg;
+ sc->szCACertificatePath = arg;
}
#else
sc->szCACertificatePath = arg;
}
#ifdef SSL_EXPERIMENTAL_PERDIRCA
- if (!(cmd->path || dc)) {
- sc->szCACertificateFile = arg;
+ if (cmd->path) {
+ dc->szCACertificateFile = arg;
}
else {
- dc->szCACertificateFile = arg;
+ sc->szCACertificateFile = arg;
}
#else
sc->szCACertificateFile = arg;
return err;
}
- if (!(cmd->path || dc)) {
- sc->nVerifyClient = id;
+ if (cmd->path) {
+ dc->nVerifyClient = id;
}
else {
- dc->nVerifyClient = id;
+ sc->nVerifyClient = id;
}
return NULL;
return err;
}
- if (!(cmd->path || dc)) {
- sc->nVerifyDepth = depth;
+ if (cmd->path) {
+ dc->nVerifyDepth = depth;
}
else {
- dc->nVerifyDepth = depth;
+ sc->nVerifyDepth = depth;
}
return NULL;