Skip to content
Snippets Groups Projects
Commit 72030d9c authored by Daniel Salzman's avatar Daniel Salzman
Browse files

knsec3hash: fix dead code (CID1135458)

parent db3ef252
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ static bool parse_nsec3_params(knot_nsec3_params_t *params, const char *salt,
*/
int main(int argc, char *argv[])
{
bool enable_idn = false;
bool enable_idn = true;
struct option options[] = {
{ "version", no_argument, 0, 'V' },
......@@ -100,8 +100,8 @@ int main(int argc, char *argv[])
#ifdef LIBIDN
// Set up localization.
if (setlocale(LC_CTYPE, "") != NULL) {
enable_idn = true;
if (setlocale(LC_CTYPE, "") == NULL) {
enable_idn = false;
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment