1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/testing/pwauth/20-fix-warnings.patch
NHellFire 43075882a8 testing/pwauth: new aport
https://code.google.com/p/pwauth/
Authenticator for mod_authnz_external and Apache
2017-06-06 19:53:08 +00:00

25 lines
528 B
Diff

--- pwauth-2.3.11.orig/auth_sun.c
+++ pwauth-2.3.11/auth_sun.c
@@ -32,6 +32,9 @@
*/
#include "pwauth.h"
+#if defined(CHECK_LOGIN_EXPIRATION) || defined(CHECK_PASSWORD_EXPIRATION)
+#include <time.h>
+#endif
#ifdef SHADOW_SUN
#ifdef NEED_UID
--- pwauth-2.3.11.orig/main.c
+++ pwauth-2.3.11/main.c
@@ -43,8 +43,9 @@
int server_uids[]= {SERVER_UIDS, 0};
#endif
+int check_auth(char *login, char *passwd);
-main(int argc, char **argv)
+void main(int argc, char **argv)
{
#ifdef ENV_METHOD
char *login, *passwd;