Avoid warning on Win32.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 8 Oct 2005 17:31:18 +0000 (17:31 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 8 Oct 2005 17:31:18 +0000 (17:31 +0000)
ssl/ssl.h

index 120c7a3..0fd8ea3 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -754,7 +754,7 @@ struct ssl_ctx_st
         * actual record size can be more than this due to
         * padding and MAC overheads.
         */
-       int max_send_fragment;
+       unsigned int max_send_fragment;
        };
 
 #define SSL_SESS_CACHE_OFF                     0x0000
@@ -976,7 +976,7 @@ struct ssl_st
        int first_packet;
        int client_version;     /* what was passed, used for
                                 * SSLv3/TLS rollback check */
-       int max_send_fragment;
+       unsigned int max_send_fragment;
        };
 
 #ifdef __cplusplus