Tolerate fragmentation and interleaving in the SSL 3/TLS record layer.
[openssl.git] / ssl / ssl2.h
index d7f24ac1b4e82e6117ea0197cfacf75345692957..01d41c88c57fcb05b55f2475287ae45fa38a1415 100644 (file)
@@ -151,7 +151,7 @@ extern "C" {
 #define  CERT          char
 #endif
 
-typedef struct ssl2_ctx_st
+typedef struct ssl2_state_st
        {
        int three_byte_header;
        int clear_text;         /* clear text */
@@ -214,7 +214,7 @@ typedef struct ssl2_ctx_st
                unsigned int clen;
                unsigned int rlen;
                } tmp;
-       } SSL2_CTX;
+       } SSL2_STATE;
 
 /* SSLv2 */
 /* client */