From a157dbaede1f003db030cb82c5e9affc8047853b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 2 Jun 2003 19:12:45 +0000 Subject: Understand '$1$' prefix for crypt() in dbmmanage PR: 25031 --- www/apache13/files/patch-ad | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/apache13/files/patch-ad (limited to 'www/apache13/files/patch-ad') diff --git a/www/apache13/files/patch-ad b/www/apache13/files/patch-ad new file mode 100644 index 000000000000..d92d2f447613 --- /dev/null +++ b/www/apache13/files/patch-ad @@ -0,0 +1,11 @@ +--- src/support/dbmmanage.bak Thu Mar 14 00:05:37 2002 ++++ src/support/dbmmanage Mon Jun 2 23:05:27 2003 +@@ -338,6 +338,8 @@ + } elsif (substr($chkpass, 0, 5) eq '{SHA}') { + need_sha1_crypt; + $crypt_method = "sha1"; ++ } elsif (substr($chkpass, 0, 3) eq '$1$') { ++ $crypt_method = "crypt"; + } elsif (length($chkpass) == 13 && $chkpass ne $testpass) { + $crypt_method = "crypt"; + } else { -- cgit v1.2.3