From 55fc773c5d5b3ccafa3b83b6520b01e06c8f8f66 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 10 Jun 2001 22:54:29 +0000 Subject: MFH of the Blowfish check and some innocent tweaks --- ext/standard/config.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 8f432bd052..cdfa5269dc 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -42,11 +42,11 @@ int main(int argc, char **argv) exit(result); } ],[ - ac_cv_flush_io="no" + ac_cv_flush_io=no ],[ - ac_cv_flush_io="yes" + ac_cv_flush_io=yes ],[ - ac_cv_flush_io="no" + ac_cv_flush_io=no ])]) if test "$ac_cv_flush_io" = "yes"; then AC_DEFINE(HAVE_FLUSHIO, 1, [Define if flush should be called explicitly after a buffered io.]) @@ -159,12 +159,12 @@ main() { main() { #if HAVE_CRYPT - char salt[25], answer[70]; + char salt[30], answer[70]; salt[0]='$'; salt[1]='2'; salt[2]='a'; salt[3]='$'; salt[4]='0'; salt[5]='7'; salt[6]='$'; salt[7]='\0'; - strcat(salt,"rasmuslerd"); + strcat(salt,"rasmuslerd............"); strcpy(answer,salt); - strcpy(&answer[16],"O............gl95GkTKn53Of.H4YchXl5PwvvW.5ri"); + strcpy(&answer[29],"nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra"); exit (strcmp((char *)crypt("rasmuslerdorf",salt),answer)); #else exit(0); -- cgit v1.2.1