MINOR: ssl: remove uneeded check in crtlist_parse_file

this condition is never true as we either break or goto error, so those
two lines could be removed in the current state of the code.

this is fixing github issue #862

Signed-off-by: William Dauchy <w.dauchy@criteo.com>
This commit is contained in:
William Dauchy 2020-10-02 15:27:20 +02:00 committed by William Lallemand
parent b9f6accc9e
commit 1d0206e71f

View File

@ -599,9 +599,6 @@ int crtlist_parse_file(char *file, struct bind_conf *bind_conf, struct proxy *cu
}
}
}
if (cfgerr & ERR_CODE)
goto error;
entry = NULL;
}