Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
6902-Add-new-api-conn_info-for-SSL-connections-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6902-Add-new-api-conn_info-for-SSL-connections-to-LDAP-se.patch of Package erlang
From f77a95e9cd4f8f5d201219f2837fdf7e68e34550 Mon Sep 17 00:00:00 2001 From: anupamasingh10 <anupamasingh31@gmail.com> Date: Mon, 27 Feb 2023 10:22:10 +0100 Subject: [PATCH 2/8] Add new api conn_info for SSL connections to LDAP server --- lib/eldap/doc/src/eldap.xml | 12 ++++++------ lib/ssl/src/ssl.erl | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/eldap/doc/src/eldap.xml b/lib/eldap/doc/src/eldap.xml index 8f08514886..5efcbd4c86 100644 --- a/lib/eldap/doc/src/eldap.xml +++ b/lib/eldap/doc/src/eldap.xml @@ -550,20 +550,20 @@ Control2 = eldap:paged_result_control(PageSize, Cookie1), </func> <func> <name since="OTP 26.0">conn_info(Handle) -> {ok, Data} | {error, Reason}</name> - <fsummary>Returns all the connection information. + <fsummary>When LDAP is run over TLS, returns information about the TLS connection. </fsummary> <type> <v>Handle = handle()</v> <v>Data = ssl:connection_info()</v> </type> - <desc><p>Returns the most relevant information for SSL connection to an LDAP server, ssl options - that are undefined will be filtered out. Note that values that affect the security of the - connection will only be returned if explicitly requested by conn_info/2.</p> + <desc><p>Returns the most relevant information for SSL connection to an LDAP server. + See also ssl:connection_information/1.</p> </desc> </func> <func> <name since="OTP 26.0">conn_info(Handle, Items) -> {ok, Data} | {error, Reason}</name> - <fsummary>Returns the requested connection information. + <fsummary>When LDAP is run over TLS, returns requested information items about the TLS + connection. </fsummary> <type> <v>Handle = handle()</v> @@ -571,7 +571,7 @@ Control2 = eldap:paged_result_control(PageSize, Cookie1), <v>Data = ssl:connection_info()</v> </type> <desc><p>Returns the requested information items about the SSL connection to LDAP server, - if they are defined.</p> + if they are defined. See also ssl:connection_information/2.</p> </desc> </func> diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index 8050b354bd..d46b09cff7 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -141,7 +141,8 @@ named_curve/0, sign_scheme/0, group/0, - connection_info/0 + connection_info/0, + connection_info_items/0 ]). %% ------------------------------------------------------------------------------------------------------- -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor