diff options
author | 2014-07-08 20:24:50 +0000 | |
---|---|---|
committer | 2014-07-08 20:24:50 +0000 | |
commit | ba31f1096bcfa0b5bb3bf99566a6b45cda265a3c (patch) | |
tree | 77206ba96a7b44cb64e3ad08413eab8974ee2e4e /lib/libssl/src | |
parent | get rid of mfa leftovers (diff) | |
download | wireguard-openbsd-ba31f1096bcfa0b5bb3bf99566a6b45cda265a3c.tar.xz wireguard-openbsd-ba31f1096bcfa0b5bb3bf99566a6b45cda265a3c.zip |
Match the current state of the code.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/doc/crypto/BUF_MEM_new.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/src/doc/crypto/BUF_MEM_new.pod b/lib/libssl/src/doc/crypto/BUF_MEM_new.pod index 52f47caa40d..b761859086d 100644 --- a/lib/libssl/src/doc/crypto/BUF_MEM_new.pod +++ b/lib/libssl/src/doc/crypto/BUF_MEM_new.pod @@ -13,7 +13,7 @@ character arrays structure void BUF_MEM_free(BUF_MEM *a); - int BUF_MEM_grow(BUF_MEM *str, int len); + int BUF_MEM_grow(BUF_MEM *str, size_t len); char * BUF_strdup(const char *str); @@ -26,9 +26,9 @@ The library uses the BUF_MEM structure defined in buffer.h: typedef struct buf_mem_st { - int length; /* current number of bytes */ + size_t length; /* current number of bytes */ char *data; - int max; /* size of buffer */ + size_t max; /* size of buffer */ } BUF_MEM; B<length> is the current size of the buffer in bytes, B<max> is the amount of |