steffengy / schannel-rs

Schannel API-bindings for rust (provides an interface for native SSL/TLS using windows APIs)
MIT License
49 stars 51 forks source link

Read approximation on SEC_E_INCOMPLETE_MESSAGE #9

Closed steffengy closed 8 years ago

steffengy commented 8 years ago

Basic implementation to use the approximation returned by the crypto api, to reduce the amount of API calls.

This essentially reads atleast the approximated amount of bytes.

sfackler commented 8 years ago

Looks good to me other than a couple nits!