summaryrefslogtreecommitdiff
path: root/www/apache13/files/patch-ad
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-06-02 19:12:45 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-06-02 19:12:45 +0000
commita157dbaede1f003db030cb82c5e9affc8047853b (patch)
treeb9ff99397a33f001f577e0e5e229be39c710c53f /www/apache13/files/patch-ad
parentUpdate to 1.4.1 (diff)
Understand '$1$' prefix for crypt() in dbmmanage
PR: 25031
Diffstat (limited to 'www/apache13/files/patch-ad')
-rw-r--r--www/apache13/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
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 {