Skip to content

Commit 3f4308f

Browse files
committed
fixup! Add support for SSL_group_to_name and SSL_get_negotiated_group
Minor documentation fixes
1 parent 0d838a5 commit 3f4308f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

openssl/src/ssl/mod.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -3496,6 +3496,7 @@ impl SslRef {
34963496
/// reflects the group used for key exchange during the initial handshake
34973497
/// (otherwise it is from the current, non-resumption, connection).
34983498
/// This can be called by either client or server.
3499+
///
34993500
/// If the NID for the shared group is unknown then the value is set to the
35003501
/// bitwise OR of TLSEXT_nid_unknown (0x1000000) and the id of the group.
35013502
#[corresponds(SSL_get_negotiated_group)]
@@ -3504,9 +3505,9 @@ impl SslRef {
35043505
unsafe { cvt(ffi::SSL_get_negotiated_group(self.as_ptr())) }
35053506
}
35063507

3507-
/// Return retrieve the TLS group name associated with a given TLS
3508-
/// group ID, as registered via built-in or external providers and as
3509-
/// returned by a call to SSL_get1_groups() or SSL_get_shared_group().
3508+
/// Return the TLS group name associated with a given TLS group ID, as
3509+
/// registered via built-in or external providers and as returned by a call
3510+
/// to SSL_get1_groups() or SSL_get_shared_group().
35103511
///
35113512
/// If non-NULL, SSL_group_to_name() returns the TLS group name
35123513
/// corresponding to the given id as a NUL-terminated string.

0 commit comments

Comments
 (0)