diff --git a/src/functional/crypt.c b/src/functional/crypt.c index c23a1f9..9629651 100644 --- a/src/functional/crypt.c +++ b/src/functional/crypt.c @@ -5,6 +5,7 @@ static char *p; #define T(h,s,k) p = crypt(k,s); \ + if (!p) p ="*"; \ if (strcmp(p,h)!=0) t_error("crypt(%s, \"%s\") failed: got \"%s\" want \"%s\"\n", #k, s, p, h); int main()