forked from rpms/openssh
Update ldap extension to resolve #981058
This commit is contained in:
parent
e581af0a84
commit
f92cd01d62
@ -1162,7 +1162,7 @@ new file mode 100644
|
|||||||
index 0000000..525060a
|
index 0000000..525060a
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/ldapconf.c
|
+++ b/ldapconf.c
|
||||||
@@ -0,0 +1,720 @@
|
@@ -0,0 +1,722 @@
|
||||||
+/* $OpenBSD: ldapconf.c,v 1.1 2009/12/03 03:34:42 jfch Exp $ */
|
+/* $OpenBSD: ldapconf.c,v 1.1 2009/12/03 03:34:42 jfch Exp $ */
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2009 Jan F. Chadima. All rights reserved.
|
+ * Copyright (c) 2009 Jan F. Chadima. All rights reserved.
|
||||||
@ -1479,6 +1479,7 @@ index 0000000..525060a
|
|||||||
+ else
|
+ else
|
||||||
+ fatal("%.200s line %d: Bad soft/hard argument.", filename, linenum);
|
+ fatal("%.200s line %d: Bad soft/hard argument.", filename, linenum);
|
||||||
+ if (*intptr == -1)
|
+ if (*intptr == -1)
|
||||||
|
+ *intptr = value;
|
||||||
+ break;
|
+ break;
|
||||||
+
|
+
|
||||||
+ case lSSLPath:
|
+ case lSSLPath:
|
||||||
@ -1543,6 +1544,7 @@ index 0000000..525060a
|
|||||||
+ else
|
+ else
|
||||||
+ fatal("%.200s line %d: Bad never/hard/demand/alow/try argument.", filename, linenum);
|
+ fatal("%.200s line %d: Bad never/hard/demand/alow/try argument.", filename, linenum);
|
||||||
+ if (*intptr == -1)
|
+ if (*intptr == -1)
|
||||||
|
+ *intptr = value;
|
||||||
+ break;
|
+ break;
|
||||||
+
|
+
|
||||||
+ case lTLS_CaCertFile:
|
+ case lTLS_CaCertFile:
|
||||||
|
Loading…
Reference in New Issue
Block a user