- Fixed typos

This commit is contained in:
Paul Bakker 2012-11-07 19:46:27 +00:00
parent 7c900780d9
commit 6831c4a1a8

View file

@ -884,8 +884,9 @@ void ssl_set_renegotiation( ssl_context *ssl, int renegotiation );
* (Most secure option, interoperability issues) * (Most secure option, interoperability issues)
* *
* \param ssl SSL context * \param ssl SSL context
* \param allow_legacy Prevent or allow (SSL_NO_LEGACY_RENEGOTIATION or * \param allow_legacy Prevent or allow (SSL_NO_LEGACY_RENEGOTIATION,
* SSL_ALLOW_LEGACY_RENEGOTIATION) * SSL_ALLOW_LEGACY_RENEGOTIATION or
* SSL_LEGACY_BREAK_HANDSHAKE)
*/ */
void ssl_legacy_renegotiation( ssl_context *ssl, int allow_legacy ); void ssl_legacy_renegotiation( ssl_context *ssl, int allow_legacy );
@ -1000,7 +1001,7 @@ int ssl_write( ssl_context *ssl, const unsigned char *buf, size_t len );
* (SSL_ALERT_LEVEL_WARNING or SSL_ALERT_LEVEL_FATAL) * (SSL_ALERT_LEVEL_WARNING or SSL_ALERT_LEVEL_FATAL)
* \param message The alert message (SSL_ALERT_MSG_*) * \param message The alert message (SSL_ALERT_MSG_*)
* *
* \return 1 if successful, or a specific SSL error code. * \return 0 if successful, or a specific SSL error code.
*/ */
int ssl_send_alert_message( ssl_context *ssl, int ssl_send_alert_message( ssl_context *ssl,
unsigned char level, unsigned char level,