Fix the patch (a header and an empty line) and remove last mentions
of the shortlived pqescape.c.
This commit is contained in:
parent
97a8737613
commit
ef458af235
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54220
@ -2,8 +2,7 @@
|
||||
|
||||
.PATH: ${FILESDIR}
|
||||
|
||||
SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c \
|
||||
pqescape.c
|
||||
SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c
|
||||
LIB= pam_pgsql
|
||||
SHLIB_NAME=${LIB}.so
|
||||
|
||||
|
@ -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);
|
||||
- }
|
||||
- }
|
||||
|
Loading…
Reference in New Issue
Block a user