From 6831c4a1a86f5adab85778fb3f6936a65b8dbc27 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Wed, 7 Nov 2012 19:46:27 +0000
Subject: [PATCH] - Fixed typos
---
include/polarssl/ssl.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 3db7c4ade..5a1e7fc08 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -884,8 +884,9 @@ void ssl_set_renegotiation( ssl_context *ssl, int renegotiation );
* (Most secure option, interoperability issues)
*
* \param ssl SSL context
- * \param allow_legacy Prevent or allow (SSL_NO_LEGACY_RENEGOTIATION or
- * SSL_ALLOW_LEGACY_RENEGOTIATION)
+ * \param allow_legacy Prevent or allow (SSL_NO_LEGACY_RENEGOTIATION,
+ * SSL_ALLOW_LEGACY_RENEGOTIATION or
+ * SSL_LEGACY_BREAK_HANDSHAKE)
*/
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)
* \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,
unsigned char level,