File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,10 @@ TLS options
409409
410410 get/set allowed cipher suites
411411
412+ .. py :data :: OPT_X_TLS_CTX
413+
414+ get address of internal memory address of TLS context (**DO NOT USE **)
415+
412416.. py :data :: OPT_X_TLS_PEERCERT
413417
414418 Get peer's certificate as binary ASN.1 data structure (DER)
@@ -472,6 +476,12 @@ TLS options
472476
473477 get/set path to /dev/urandom (**DO NOT USE **)
474478
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+
475485.. note ::
476486
477487 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):
267267
268268 Int ('OPT_DEFBASE' , optional = True ),
269269
270+ TLSInt ('OPT_X_TLS' , optional = True ),
271+ TLSInt ('OPT_X_TLS_CTX' ),
270272 TLSInt ('OPT_X_TLS_CACERTFILE' ),
271273 TLSInt ('OPT_X_TLS_CACERTDIR' ),
272274 TLSInt ('OPT_X_TLS_CERTFILE' ),
Original file line number Diff line number Diff line change @@ -202,6 +202,12 @@ add_int(OPT_DEFBASE);
202202
203203
204204#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 );
205211add_int (OPT_X_TLS_CACERTFILE );
206212add_int (OPT_X_TLS_CACERTDIR );
207213add_int (OPT_X_TLS_CERTFILE );
You can’t perform that action at this time.
0 commit comments