Minor typo fixes.

Change-Id: Idf9db184348140972e57b2a8fa30dc9cb8b2e0f2
Reviewed-on: https://boringssl-review.googlesource.com/9065
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
Adam Langley 2016-08-01 12:29:38 -07:00 committed by CQ bot account: commit-bot@chromium.org
parent 4890165509
commit d4aae0f965
2 changed files with 2 additions and 3 deletions

View File

@ -3379,7 +3379,7 @@ DECLARE_STACK_OF(SSL_COMP)
#define SSL_OP_TLS_ROLLBACK_BUG 0 #define SSL_OP_TLS_ROLLBACK_BUG 0
#define SSL_VERIFY_CLIENT_ONCE 0 #define SSL_VERIFY_CLIENT_ONCE 0
/* SSL_cache_hit calls |SSL_session_resumed|. */ /* SSL_cache_hit calls |SSL_session_reused|. */
OPENSSL_EXPORT int SSL_cache_hit(SSL *ssl); OPENSSL_EXPORT int SSL_cache_hit(SSL *ssl);
/* SSL_get_default_timeout returns |SSL_DEFAULT_SESSION_TIMEOUT|. */ /* SSL_get_default_timeout returns |SSL_DEFAULT_SESSION_TIMEOUT|. */

View File

@ -368,8 +368,7 @@ SSL_SESSION *SSL_magic_pending_session_ptr(void) {
return (SSL_SESSION *)&g_pending_session_magic; return (SSL_SESSION *)&g_pending_session_magic;
} }
SSL_SESSION *SSL_get_session(const SSL *ssl) SSL_SESSION *SSL_get_session(const SSL *ssl) {
{
/* Once the handshake completes we return the established session. Otherwise /* Once the handshake completes we return the established session. Otherwise
* we return the intermediate session, either |session| (for resumption) or * we return the intermediate session, either |session| (for resumption) or
* |new_session| if doing a full handshake. */ * |new_session| if doing a full handshake. */