use errx on failures, not warnx

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14587 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-02-23 17:30:48 +00:00
parent 76b11e195f
commit 1b00602939

View File

@@ -211,7 +211,7 @@ s2k(char *password, const char *salt, char akey[8])
DES_string_to_key(pw, &k);
if (memcmp(akey, &k, 8) != 0)
warnx("key wrong for %s", pw);
errx(1, "key wrong for %s", pw);
free(pw);
}