Build the 'openssl rehash' command on VMS version 8.3 and up
[openssl.git] / ssl / ssl_sess.c
index 128d2d79422fb696a04c98c0373d2e914aef3f5d..f13e466d2c0fedd0e255b965f005049e27c69fd9 100644 (file)
@@ -830,8 +830,6 @@ long SSL_SESSION_set_time(SSL_SESSION *s, long t)
 
 int SSL_SESSION_get_protocol_version(const SSL_SESSION *s)
 {
-    if (s == NULL)
-        return (0);
     return s->ssl_version;
 }