OCaml SSL bindings.
CHANGES:
Ssl.flush
isn't successful (#104, #120)Ssl.Runtime_lock
module. The functions in this module
don't release the OCaml runtime lock. While they don't allow other OCaml
threads to run concurrently, they don't perform any copying in the underlying
data, leading certain workloads to be faster than their counterparts that
release the lock. (#106)Ssl.output_string
writes the whole string by retrying the
operation with unwritten bytes (#103, #116)ERR_clear_error
before the underlying
OpenSSL call (#118)Ssl.Error
to retrieve OpenSSL errors in a structured way (#119)CHANGES:
Ssl.close_notify
to perform a one-way shutdown (#63, #96).CHANGES:
add_extra_chain_cert
to send additional chain certificates to the peer.add_cert_to_store
: to allow verification of the peer certificate CA.set_ip
: sets the expected IP address to be verified on a SSL socket.use_certificate_from_string
(#71) to read any type of key (rather
than just RSA).CAMLparamX
and CAMLreturn
calls (#90).use_certificate_from_string
(#54).get_verify_error_string
, get_start_date
, get_expiration_date
(#57).version
(#60).