Skip to main content

SSLGetPeerID

Function SSLGetPeerID 

Source
pub unsafe extern "C-unwind" fn SSLGetPeerID(
    context: &SSLContext,
    peer_id: NonNull<*const c_void>,
    peer_id_len: NonNull<usize>,
) -> i32
๐Ÿ‘ŽDeprecated:

No longer supported. Use Network.framework.

Available on crate feature SecureTransport only.
Expand description

ยงSafety

  • peer_id must be a valid pointer.
  • peer_id_len must be a valid pointer.