mirror of
https://github.com/vacp2p/boringssl.git
synced 2026-08-27 11:41:09 +00:00
rust: bssl-tls: Call inherent flush when flushing through std io trait
Signed-off-by: Xiangfei Ding <xfding@google.com> Change-Id: I4f285255134906b8a4004569071d12156a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/101412 Reviewed-by: Adam Langley <agl@google.com> Reviewed-by: David Benjamin <davidben@google.com> Reviewed-by: Rudolf Polzer <rpolzer@google.com>
This commit is contained in:
committed by
boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
fc3c79cfb7
commit
7496006103
@@ -76,7 +76,7 @@ impl<R> io::Write for TlsConnection<R, TlsMode> {
|
||||
}
|
||||
|
||||
fn flush(&mut self) -> io::Result<()> {
|
||||
Ok(())
|
||||
translate_res_for_stdio(self.flush()).map(|_| ())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user