Fix --cert option that was accidentally broken by the new --cert-fd support.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@53 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
parent
db0a562025
commit
6e8862b6b5
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ static void parseArgs(int argc, char * const argv[]) {
|
|||
if (!hasSSL) {
|
||||
warn("Ignoring certificate directory, as SSL support is unavailable");
|
||||
}
|
||||
if (certificateFd) {
|
||||
if (certificateFd >= 0) {
|
||||
fatal("Cannot set both a certificate directory and file handle");
|
||||
}
|
||||
if (certificateDir) {
|
||||
|
|
Loading…
Reference in a new issue