Remove a stray TODO that has already been fixed

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell 2016-10-19 17:37:22 +01:00
parent 2688e7a0be
commit 699ae85915
2 changed files with 1 additions and 7 deletions

View File

@ -103,12 +103,7 @@ static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes)
BIO_clear_retry_flags(b);
if (size > INT_MAX)
size = INT_MAX;
ret = SSL_read(ssl, buf, size);
if (ret > 0)
*readbytes = ret;
ret = SSL_read_ex(ssl, buf, size, readbytes);
switch (SSL_get_error(ssl, ret)) {
case SSL_ERROR_NONE:

View File

@ -1034,7 +1034,6 @@ int tls1_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send)
* are hashing because that gives an attacker a timing-oracle.
*/
/* Final param == not SSLv3 */
/* TODO(size_t): Convert this call */
if (ssl3_cbc_digest_record(mac_ctx,
md, &md_size,
header, rec->input,