Commit 699ae859 authored by Matt Caswell's avatar Matt Caswell
Browse files

Remove a stray TODO that has already been fixed



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 2688e7a0
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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:
+0 −1
Original line number Diff line number Diff line
@@ -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,