/*
- * $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)
#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
#ifdef UAM_PGP
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif /* HAVE_UNISTD_H */
#include <pwd.h>
#include <syslog.h>
#include <openssl/bn.h>
#include <openssl/dh.h>
#include <openssl/cast.h>
-#else
+#else /* OPENSSL_DHX */
#include <bn.h>
#include <dh.h>
#include <cast.h>
*uam_pwd = pgppwd;
return AFP_OK;
}
-#endif AFS
+#endif /* AFS */
rbuf[PASSWDLEN] = '\0';
p = crypt( rbuf, pgppwd->pw_passwd );
uam_setup, uam_cleanup
};
-#endif
+#endif /* UAM_PGP */