summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-05-08 04:16:06 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-05-08 04:16:06 +0000
commitf08a3b14e4fb995144ba6bcac49e92ef93207874 (patch)
tree7de009c0f5610603370d15e260cc597cf45388c7 /lib/libcrypto
parent2717ebd0c2fc68723f68cc89744e9422248d43bf (diff)
BUF_MEM_grow_clean() returns an int, not a size_t. Humourously, on success
it returns "len", which is a size_t value, as an int...
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/man/BUF_MEM_new.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/man/BUF_MEM_new.3 b/lib/libcrypto/man/BUF_MEM_new.3
index 8a5b367a077..70d2fe09a02 100644
--- a/lib/libcrypto/man/BUF_MEM_new.3
+++ b/lib/libcrypto/man/BUF_MEM_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BUF_MEM_new.3,v 1.10 2016/12/16 08:49:43 schwarze Exp $
+.\" $OpenBSD: BUF_MEM_new.3,v 1.11 2017/05/08 04:16:05 jsing Exp $
.\" OpenSSL doc/crypto/buffer.pod 18edda0f Sep 20 03:28:54 2000 +0000
.\" not merged: 74924dcb, 58e3457a, 21b0fa91, 7644a9ae
.\" OpenSSL doc/crypto/BUF_MEM_new.pod 53934822 Jun 9 16:39:19 2016 -0400
@@ -52,7 +52,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 16 2016 $
+.Dd $Mdocdate: May 8 2017 $
.Dt BUF_MEM_NEW 3
.Os
.Sh NAME
@@ -78,7 +78,7 @@
.Fa "BUF_MEM *str"
.Fa "size_t len"
.Fc
-.Ft size_t
+.Ft int
.Fo BUF_MEM_grow_clean
.Fa "BUF_MEM *str"
.Fa "size_t len"