summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2001-09-21 20:31:49 +0000
committerTom Lane2001-09-21 20:31:49 +0000
commitc1c888a9de0c062182552e66ca766b252ca140bc (patch)
tree627829c42bcbcc8e84e563fe685158fcb4404a04 /src/include
parent4e77b4a5487c074e3e9882feef816f87e3a03a18 (diff)
Code review for MD5 authorization patch. Clean up some breakage
(salts were always zero!?), add much missing documentation.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/hba.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 6525d5ecb3f..840bc3e05a4 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -4,7 +4,7 @@
* Interface to hba.c
*
*
- * $Id: hba.h,v 1.26 2001/09/06 03:23:38 momjian Exp $
+ * $Id: hba.h,v 1.27 2001/09/21 20:31:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -31,9 +31,6 @@
typedef enum UserAuth
{
-#ifdef USE_PAM
- uaPAM,
-#endif /* USE_PAM */
uaReject,
uaKrb4,
uaKrb5,
@@ -41,7 +38,10 @@ typedef enum UserAuth
uaIdent,
uaPassword,
uaCrypt,
- uaMD5
+ uaMD5,
+#ifdef USE_PAM
+ uaPAM
+#endif /* USE_PAM */
} UserAuth;
typedef struct Port hbaPort;