X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fuams%2Fuams_pgp.c;h=ced79fe54d4871875217ecf156cf93ea98d95fe5;hb=644c7d4f1a295df818a7f8339ac750821e7c26dc;hp=6be6f308b0e9bd88ae980630947cd7e0313dfcea;hpb=2fe5085b11511198a18aac9cb879b16f4f1d703d;p=netatalk.git diff --git a/etc/uams/uams_pgp.c b/etc/uams/uams_pgp.c index 6be6f308..ced79fe5 100644 --- a/etc/uams/uams_pgp.c +++ b/etc/uams/uams_pgp.c @@ -1,5 +1,5 @@ /* - * $Id: uams_pgp.c,v 1.4 2001-02-27 17:07:43 rufustfirefly Exp $ + * $Id: uams_pgp.c,v 1.5 2001-06-25 20:13:45 rufustfirefly Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * Copyright (c) 1999 Adrian Sun (asun@u.washington.edu) @@ -8,13 +8,16 @@ #ifdef HAVE_CONFIG_H #include "config.h" -#endif +#endif /* HAVE_CONFIG_H */ #ifdef UAM_PGP + #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif /* HAVE_UNISTD_H */ #include #include @@ -22,7 +25,7 @@ #include #include #include -#else +#else /* OPENSSL_DHX */ #include #include #include @@ -153,7 +156,7 @@ static int pgp_logincont(void *obj, struct passwd **uam_pwd, *uam_pwd = pgppwd; return AFP_OK; } -#endif AFS +#endif /* AFS */ rbuf[PASSWDLEN] = '\0'; p = crypt( rbuf, pgppwd->pw_passwd ); @@ -187,4 +190,4 @@ UAM_MODULE_EXPORT struct uam_export uams_pgp = { uam_setup, uam_cleanup }; -#endif +#endif /* UAM_PGP */