summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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