mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Remove a stray TODO that has already been fixed
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
2688e7a0be
commit
699ae85915
@ -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:
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user