php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7035 Patch for crypt.c (OpenBSD possibly others)
Submitted: 2000-10-05 05:22 UTC Modified: 2001-01-07 12:22 UTC
From: swenson at heronetwork dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Latest CVS (05/10/2000) OS: OpenBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: swenson at heronetwork dot com
New email:
PHP Version: OS:

 

 [2000-10-05 05:22 UTC] swenson at heronetwork dot com
Just got latest CVS tarball installed on my two servers. I do not know if you have this patch for OpenBSD or not. So I am letting you know that it was needed.

--- ext/standard/crypt.c.orig      Sat Jul 29 16:10:54 2000
+++ ext/standard/crypt.c   Thu Jul 27 23:12:56 2000
@@ -71,7 +71,7 @@

 #if PHP_BLOWFISH_CRYPT
 #undef PHP_MAX_SALT_LEN
-#define PHP_MAX_SALT_LEN 17
+#define PHP_MAX_SALT_LEN 60  /* For OpenBSD */
 #endif

  /*

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-30 11:43 UTC] derick@php.net
We are sorting this out... devlist, any idea's on this one?

 [2000-12-07 11:47 UTC] sniper@php.net
Is this patch still needed with latest CVS ?

--Jani
 [2000-12-23 14:22 UTC] jon@php.net
According to Anil Madhavapeddy <avsm@openbsd.org>, this patch is still required.  
Someone should look into resolving this one soon.  Derick?
 [2001-01-07 12:22 UTC] derick@php.net
fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 14:00:02 2026 UTC