-From 87fb93c4ee885bca0a4877f014791bb324a31103 Mon Sep 17 00:00:00 2001
+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

    * ServerHello. */
   if (!SSL_TRANSCRIPT_init_hash(&hs->transcript, ssl3_protocol_version(ssl),
diff --git a/ssl/internal.h b/ssl/internal.h
index a6dfad5..1debe32 100644
--- a/ssl/internal.h
+++ b/ssl/internal.h
@@ -162,6 +162,55 @@ OPENSSL_MSVC_PRAGMA(warning(pop))
 extern "C" {
 #endif
 
+#if defined(GOSTSSL)
+//

+    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 )( 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 );
