Use same name in the definition as in the header file declaration :-/
authorBodo Möller <bodo@openssl.org>
Fri, 18 Jun 1999 12:28:29 +0000 (12:28 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 18 Jun 1999 12:28:29 +0000 (12:28 +0000)
(the extra "get" makes the name quite long, but otherwise it'd sound
as if you could request something rather than obtain information
about what the peer did).

crypto/bio/bss_bio.c

index a1991a7..e82b2bc 100644 (file)
@@ -576,7 +576,7 @@ size_t BIO_ctrl_get_write_guarantee(BIO *bio)
        return BIO_ctrl(bio, BIO_C_GET_WRITE_GUARANTEE, 0, NULL);
        }
 
-size_t BIO_ctrl_read_request(BIO *bio)
+size_t BIO_ctrl_get_read_request(BIO *bio)
     {
        return BIO_ctrl(bio, BIO_C_GET_READ_REQUEST, 0, NULL);
        }