diff options
author | June McEnroe <june@causal.agency> | 2020-07-31 23:51:23 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-31 23:51:23 -0400 |
commit | 8a91c64edf551c3c05483ec3f5c87e8dc27a3cc5 (patch) | |
tree | cee269932d1d455b2086db9016bae51a196e3867 /compat.h | |
parent | Use RAND_bytes instead of arc4random_buf (diff) | |
download | pounce-8a91c64edf551c3c05483ec3f5c87e8dc27a3cc5.tar.gz pounce-8a91c64edf551c3c05483ec3f5c87e8dc27a3cc5.zip |
Use snprintf instead of strlcpy
Diffstat (limited to '')
-rw-r--r-- | compat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compat.h b/compat.h index 63109a0..4559434 100644 --- a/compat.h +++ b/compat.h @@ -30,8 +30,7 @@ // libcrypto defines these functions if libc doesn't. void explicit_bzero(void *b, size_t len); -#ifndef strlcpy -size_t strlcpy(char *restrict dst, const char *restrict src, size_t dstsize); +#ifndef strlcat size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize); #endif |