 +    size_t   ( EXPLICITSSL_CALL * sk_push )( _STACK * sk, void * p );
 +    void *   ( EXPLICITSSL_CALL * sk_value )( const _STACK * sk, size_t i );
 +    void     ( EXPLICITSSL_CALL * sk_pop_free )( _STACK * sk, void( * free_func )( void * ) );
-+    int      ( EXPLICITSSL_CALL * ssl_get_new_session )( void * hs, int is_server );
++    int      ( EXPLICITSSL_CALL * ssl_get_new_session )( SSL_HANDSHAKE * hs, int is_server );
 +    X509 *   ( EXPLICITSSL_CALL * d2i_X509 )( X509 ** x, const unsigned char ** in, long len );
 +    int      ( EXPLICITSSL_CALL * X509_up_ref )( X509 * x );
 +    void     ( EXPLICITSSL_CALL * X509_free )( X509 * x );

---
 include/openssl/ssl.h  |   8 ++++
 ssl/handshake_client.c |  11 +++++
 ssl/internal.h         |  67 ++++++++++++++++++++++++++
 ssl/ssl_cipher.c       |  36 ++++++++++++++
 ssl/ssl_lib.c          | 128 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 250 insertions(+)

diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 3131539..fcc1fd5 100644

From fd9e23f9b1bf40b2874d046454b6bd22976b6f53 Mon Sep 17 00:00:00 2001
From: Dmitrii Pichulin <deem@deem.ru>
Date: Mon, 24 Apr 2017 13:25:48 +0300
Subject: [PATCH] added GOSTSSL
