This declaration seems to have been added into the header file accidently.
[openssl.git] / ssl / ssl3.h
index ccdbfa6d298760af78248c4286c43181c873df76..f616763830e3362da08ab44b0a90c247b5d2bd7e 100644 (file)
@@ -240,9 +240,9 @@ typedef struct ssl3_state_st
        /* storage for Alert/Handshake protocol data received but not
         * yet processed by ssl3_read_bytes: */
        unsigned char alert_fragment[2];
-       int alert_fragment_len;
+       unsigned int alert_fragment_len;
        unsigned char handshake_fragment[4];
-       int handshake_fragment_len;
+       unsigned int handshake_fragment_len;
 
        /* partial write - check the numbers match */
        unsigned int wnum;      /* number of bytes sent so far */