Skip to content

Commit 55fc773

Browse files
committed
MFH of the Blowfish check and some innocent tweaks
1 parent c7aa37f commit 55fc773

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/standard/config.m4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ int main(int argc, char **argv)
4242
exit(result);
4343
}
4444
],[
45-
ac_cv_flush_io="no"
45+
ac_cv_flush_io=no
4646
],[
47-
ac_cv_flush_io="yes"
47+
ac_cv_flush_io=yes
4848
],[
49-
ac_cv_flush_io="no"
49+
ac_cv_flush_io=no
5050
])])
5151
if test "$ac_cv_flush_io" = "yes"; then
5252
AC_DEFINE(HAVE_FLUSHIO, 1, [Define if flush should be called explicitly after a buffered io.])
@@ -159,12 +159,12 @@ main() {
159159

160160
main() {
161161
#if HAVE_CRYPT
162-
char salt[25], answer[70];
162+
char salt[30], answer[70];
163163

164164
salt[0]='$'; salt[1]='2'; salt[2]='a'; salt[3]='$'; salt[4]='0'; salt[5]='7'; salt[6]='$'; salt[7]='\0';
165-
strcat(salt,"rasmuslerd");
165+
strcat(salt,"rasmuslerd............");
166166
strcpy(answer,salt);
167-
strcpy(&answer[16],"O............gl95GkTKn53Of.H4YchXl5PwvvW.5ri");
167+
strcpy(&answer[29],"nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra");
168168
exit (strcmp((char *)crypt("rasmuslerdorf",salt),answer));
169169
#else
170170
exit(0);

0 commit comments

Comments
 (0)