File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,10 @@ TLS options
409
409
410
410
get/set allowed cipher suites
411
411
412
+ .. py :data :: OPT_X_TLS_CTX
413
+
414
+ get address of internal memory address of TLS context (**DO NOT USE **)
415
+
412
416
.. py :data :: OPT_X_TLS_PEERCERT
413
417
414
418
Get peer's certificate as binary ASN.1 data structure (DER)
@@ -472,6 +476,12 @@ TLS options
472
476
473
477
get/set path to /dev/urandom (**DO NOT USE **)
474
478
479
+ .. py :data :: OPT_X_TLS
480
+
481
+ .. deprecated :: 3.3.0
482
+ The option is deprecated in OpenLDAP and should no longer be used. It
483
+ will be removed in the future.
484
+
475
485
.. note ::
476
486
477
487
OpenLDAP supports several TLS/SSL libraries. OpenSSL is the most common
Original file line number Diff line number Diff line change @@ -267,6 +267,8 @@ class Str(Constant):
267
267
268
268
Int ('OPT_DEFBASE' , optional = True ),
269
269
270
+ TLSInt ('OPT_X_TLS' , optional = True ),
271
+ TLSInt ('OPT_X_TLS_CTX' ),
270
272
TLSInt ('OPT_X_TLS_CACERTFILE' ),
271
273
TLSInt ('OPT_X_TLS_CACERTDIR' ),
272
274
TLSInt ('OPT_X_TLS_CERTFILE' ),
Original file line number Diff line number Diff line change @@ -202,6 +202,12 @@ add_int(OPT_DEFBASE);
202
202
203
203
204
204
#if HAVE_TLS
205
+
206
+ #if defined(LDAP_OPT_X_TLS )
207
+ add_int (OPT_X_TLS );
208
+ #endif
209
+
210
+ add_int (OPT_X_TLS_CTX );
205
211
add_int (OPT_X_TLS_CACERTFILE );
206
212
add_int (OPT_X_TLS_CACERTDIR );
207
213
add_int (OPT_X_TLS_CERTFILE );
You can’t perform that action at this time.
0 commit comments