Remove the type variable
[openssl.git] / ssl / ssl_lib.c
index 0aef51f3618aed6f880ff2995060c5d924073732..cb303c419d17e13790dc9eddaf50e832323f6c01 100644 (file)
@@ -215,8 +215,6 @@ int SSL_clear(SSL *s)
         return 0;
     }
 
-    s->type = 0;
-
     statem_clear(s);
 
     s->version = s->method->version;
@@ -2469,7 +2467,6 @@ SSL *SSL_dup(SSL *s)
         return (NULL);
 
     ret->version = s->version;
-    ret->type = s->type;
     ret->method = s->method;
 
     if (s->session != NULL) {