提交 699ae859 编写于 作者: M Matt Caswell

Remove a stray TODO that has already been fixed

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 2688e7a0
...@@ -103,12 +103,7 @@ static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes) ...@@ -103,12 +103,7 @@ static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes)
BIO_clear_retry_flags(b); BIO_clear_retry_flags(b);
if (size > INT_MAX) ret = SSL_read_ex(ssl, buf, size, readbytes);
size = INT_MAX;
ret = SSL_read(ssl, buf, size);
if (ret > 0)
*readbytes = ret;
switch (SSL_get_error(ssl, ret)) { switch (SSL_get_error(ssl, ret)) {
case SSL_ERROR_NONE: case SSL_ERROR_NONE:
......
...@@ -1034,7 +1034,6 @@ int tls1_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send) ...@@ -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. * are hashing because that gives an attacker a timing-oracle.
*/ */
/* Final param == not SSLv3 */ /* Final param == not SSLv3 */
/* TODO(size_t): Convert this call */
if (ssl3_cbc_digest_record(mac_ctx, if (ssl3_cbc_digest_record(mac_ctx,
md, &md_size, md, &md_size,
header, rec->input, header, rec->input,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册