Fix function name in peer_finished documentation
This commit is contained in:
parent
d47dc792ce
commit
5d7d83e869
|
|
@ -3212,7 +3212,7 @@ impl SslRef {
|
||||||
/// The total size of the message is returned, so this can be used to determine the size of the
|
/// The total size of the message is returned, so this can be used to determine the size of the
|
||||||
/// buffer required.
|
/// buffer required.
|
||||||
///
|
///
|
||||||
/// This corresponds to `SSL_get_finished`.
|
/// This corresponds to `SSL_get_peer_finished`.
|
||||||
pub fn peer_finished(&self, buf: &mut [u8]) -> usize {
|
pub fn peer_finished(&self, buf: &mut [u8]) -> usize {
|
||||||
unsafe {
|
unsafe {
|
||||||
ffi::SSL_get_peer_finished(self.as_ptr(), buf.as_mut_ptr() as *mut c_void, buf.len())
|
ffi::SSL_get_peer_finished(self.as_ptr(), buf.as_mut_ptr() as *mut c_void, buf.len())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue