X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffunctional%2Fcrypt.c;h=9629651b3cacd55b4848f4f7579d25c813252fc9;hb=c6fc4f04d62c2c495717268f73427f83ff685ff5;hp=c23a1f93ccf37349ee94a4b4a06f107d1e918303;hpb=a5c51cacefe9b424d77839490422c6e871bc6e63;p=libc-test 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()