From: Bodo Möller Date: Fri, 11 Feb 2000 17:18:50 +0000 (+0000) Subject: Corrections. X-Git-Tag: OpenSSL_0_9_5beta1~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ebf0be142ea19ee2b452d9403d6bc5b14cc41ae;p=oweals%2Fopenssl.git Corrections. --- diff --git a/CHANGES b/CHANGES index ec11b648c9..2e10a0f8c5 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,7 @@ Changes between 0.9.4 and 0.9.5 [xx XXX 2000] - *) New 'passwd' tool, currently only -fcrypt is implemented. + *) New 'passwd' tool for crypt(3) and apr1 password hashes. [Bodo Moeller] *) Add command line password options to the remaining applications. diff --git a/Makefile.org b/Makefile.org index 257f6a5b66..d4f381e694 100644 --- a/Makefile.org +++ b/Makefile.org @@ -262,7 +262,7 @@ dclean: rehash: rehash.time rehash.time: certs @(OPENSSL="`pwd`/apps/openssl"; export OPENSSL; sh tools/c_rehash certs) - touch .rehash.time + touch rehash.time test: tests diff --git a/apps/passwd.c b/apps/passwd.c index 7e3eb7af16..06155979f4 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -1,6 +1,10 @@ /* apps/passwd.c */ -#if !defined(NO_DES) || !defined(NO_MD5) +#if defined NO_MD5 || defined CHARSET_EBCDIC +# define NO_APR1 +#endif + +#if !defined(NO_DES) || !defined(NO_APR1) #include #include @@ -12,10 +16,6 @@ #include #include -#if defined NO_MD5 || defined CHARSET_EBCDIC -# define NO_APR1 -#endif - #ifndef NO_DES # include #endif @@ -461,6 +461,11 @@ static int do_passwd(int passed_salt, char **salt_p, char **salt_malloc_p, err: return 0; } -#endif - +#else +int MAIN(int argc, char **argv) + { + fputs("Program not available.\n", stderr) + EXIT(1); + } +#endif