reinclude crypto.h: this is needed in HEAD only to get the __fips_constseg definition
[openssl.git] / ssl / ssl_lib.c
index 18e80d4ddc70f3011ffd2d38f2c011bd9ba1de11..1ba6e2d5d32ba0db33ee192dcd7f157c94d79bc4 100644 (file)
@@ -3341,6 +3341,11 @@ int SSL_cache_hit(SSL *s)
        return s->hit;
        }
 
+int SSL_is_server(SSL *s)
+       {
+       return s->server;
+       }
+
 #if defined(_WINDLL) && defined(OPENSSL_SYS_WIN16)
 #include "../crypto/bio/bss_file.c"
 #endif