diff options
Diffstat (limited to 'src/crypto/buf/buf.c')
-rw-r--r-- | src/crypto/buf/buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/buf/buf.c b/src/crypto/buf/buf.c index b918f01..13b5ceb 100644 --- a/src/crypto/buf/buf.c +++ b/src/crypto/buf/buf.c @@ -220,7 +220,7 @@ size_t BUF_strlcat(char *dst, const char *src, size_t dst_size) { void *BUF_memdup(const void *data, size_t dst_size) { void *ret; - if (dst_size == 0) { + if (data == NULL) { return NULL; } |