diff options
author | Matt Caswell <matt@openssl.org> | 2017-01-27 12:11:23 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-01-30 10:18:25 +0000 |
commit | 61c3264970c41b3c6b8a09e58ea38fbf2ec68041 (patch) | |
tree | c4e4742912bcd77c9d8a1d958ccf37db17933bb1 /ssl/ssl_sess.c | |
parent | fed60a781c3da1e91aa90df68f062bf577a2b24a (diff) |
Remove unneccessary comments
Now we're using an enum the values themselves are self explanatory
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)
Diffstat (limited to 'ssl/ssl_sess.c')
-rw-r--r-- | ssl/ssl_sess.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 686d18a384..b5bb427a83 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -480,15 +480,15 @@ int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello, int *al) r = tls_get_ticket_from_client(s, hello, &ret); switch (r) { case TICKET_FATAL_ERR_MALLOC: - case TICKET_FATAL_ERR_OTHER: /* Error during processing */ + case TICKET_FATAL_ERR_OTHER: fatal = 1; goto err; - case TICKET_NONE: /* No ticket found */ - case TICKET_EMPTY: /* Zero length ticket found */ + case TICKET_NONE: + case TICKET_EMPTY: try_session_cache = 1; - break; /* Ok to carry on processing session id. */ - case TICKET_NO_DECRYPT: /* Ticket found but not decrypted. */ - case TICKET_SUCCESS: /* Ticket decrypted, *ret has been set. */ + break; + case TICKET_NO_DECRYPT: + case TICKET_SUCCESS: case TICKET_SUCCESS_RENEW: break; } |