summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiod <>2014-07-08 20:24:50 +0000
committermiod <>2014-07-08 20:24:50 +0000
commite1755ea8fa80127d1448326140e7245d439d023f (patch)
tree05eb3a11dbba9078a489ba3aa516dc679fc417f1
parente33a7b682ca6685f716692c1960473af4ac7747b (diff)
downloadopenbsd-e1755ea8fa80127d1448326140e7245d439d023f.tar.gz
openbsd-e1755ea8fa80127d1448326140e7245d439d023f.tar.bz2
openbsd-e1755ea8fa80127d1448326140e7245d439d023f.zip
Match the current state of the code.
-rw-r--r--src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod b/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
index 52f47caa40..b761859086 100644
--- a/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
+++ b/src/lib/libssl/src/doc/crypto/BUF_MEM_new.pod
@@ -13,7 +13,7 @@ character arrays structure
13 13
14 void BUF_MEM_free(BUF_MEM *a); 14 void BUF_MEM_free(BUF_MEM *a);
15 15
16 int BUF_MEM_grow(BUF_MEM *str, int len); 16 int BUF_MEM_grow(BUF_MEM *str, size_t len);
17 17
18 char * BUF_strdup(const char *str); 18 char * BUF_strdup(const char *str);
19 19
@@ -26,9 +26,9 @@ The library uses the BUF_MEM structure defined in buffer.h:
26 26
27 typedef struct buf_mem_st 27 typedef struct buf_mem_st
28 { 28 {
29 int length; /* current number of bytes */ 29 size_t length; /* current number of bytes */
30 char *data; 30 char *data;
31 int max; /* size of buffer */ 31 size_t max; /* size of buffer */
32 } BUF_MEM; 32 } BUF_MEM;
33 33
34B<length> is the current size of the buffer in bytes, B<max> is the amount of 34B<length> is the current size of the buffer in bytes, B<max> is the amount of