summaryrefslogtreecommitdiff
path: root/security/pam-pgsql/files/patch-md5
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam-pgsql/files/patch-md5')
-rw-r--r--security/pam-pgsql/files/patch-md56
1 files changed, 3 insertions, 3 deletions
diff --git a/security/pam-pgsql/files/patch-md5 b/security/pam-pgsql/files/patch-md5
index c68fa892c3ff..177c2696cd2b 100644
--- a/security/pam-pgsql/files/patch-md5
+++ b/security/pam-pgsql/files/patch-md5
@@ -3,7 +3,7 @@ greatly simplifying things...
--- pam_pgsql.c Wed Apr 18 16:47:57 2001
+++ pam_pgsql.c Wed Jan 9 14:46:01 2002
-@@ -14,5 +14,7 @@
+@@ -14,6 +14,7 @@
#include <syslog.h>
#include <ctype.h>
-#include <mhash.h>
@@ -12,6 +12,7 @@ greatly simplifying things...
+#include <md5.h>
#include <time.h>
#include <libpq-fe.h>
+-#include <crypt.h>
@@ -336,32 +336,7 @@
s = strdup(crypt(pass, crypt_make_salt()));
break;
@@ -48,7 +49,7 @@ greatly simplifying things...
+ break;
case PW_CLEAR:
default:
-@@ -416,35 +391,15 @@
+@@ -416,34 +391,15 @@
}
break;
- case PW_MD5: {
@@ -77,7 +78,6 @@ greatly simplifying things...
-
- if(strcmp(buf, stored_pw) == 0)
- rc = PAM_SUCCESS;
--
- free(buf);
- }
- }