Fix char signedness issue

This commit is contained in:
Manuel Pégourié-Gonnard 2015-01-13 21:20:22 +01:00
parent a852cf4833
commit 78803c0567

View file

@ -836,7 +836,7 @@ struct _ssl_context
unsigned char mfl_code; /*!< MaxFragmentLength chosen by us */ unsigned char mfl_code; /*!< MaxFragmentLength chosen by us */
#endif /* POLARSSL_SSL_MAX_FRAGMENT_LENGTH */ #endif /* POLARSSL_SSL_MAX_FRAGMENT_LENGTH */
#if defined(POLARSSL_SSL_CBC_RECORD_SPLITTING) #if defined(POLARSSL_SSL_CBC_RECORD_SPLITTING)
char split_done; /*!< flag for record splitting: signed char split_done; /*!< flag for record splitting:
-1 disabled, 0 todo, 1 done */ -1 disabled, 0 todo, 1 done */
#endif #endif