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 a1991a7b909e9e2ec36bcd18f11cb3adebcfc2e4..e82b2bc51c5a6150e72823669f01ba4e67d1c975 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);
        }
 
        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);
        }
     {
        return BIO_ctrl(bio, BIO_C_GET_READ_REQUEST, 0, NULL);
        }