  SSL_do_handshake(SSL *s)
  {
  	int	ret = 1;
-@@ -2457,6 +3383,19 @@
+@@ -2457,6 +3389,19 @@
   * one of these calls will reset it
   */
  void

 SSL_get_shutdown(const SSL *s)
 {
 	return (s->shutdown);
@@ -2839,12 +3902,34 @@
 }
 
 SSL_CTX *

 SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth)
 {
 	X509_VERIFY_PARAM_set_depth(ctx->param, depth);
@@ -2292,6 +3162,42 @@
 	return (dhp);
 }
 
