summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2001-06-10 22:54:29 +0000
committerRasmus Lerdorf <rasmus@php.net>2001-06-10 22:54:29 +0000
commit55fc773c5d5b3ccafa3b83b6520b01e06c8f8f66 (patch)
tree309ae5941a4adc498e7b77f4d5ef32aaaa36fe60
parentc7aa37f52a88bc48650dba3c35c02490cfecfad4 (diff)
downloadphp-git-55fc773c5d5b3ccafa3b83b6520b01e06c8f8f66.tar.gz
MFH of the Blowfish check and some innocent tweaks
-rw-r--r--ext/standard/config.m412
1 files 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);