summary refs log tree commit diff
path: root/compat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-31 23:35:12 -0400
committerJune McEnroe <june@causal.agency>2020-07-31 23:35:12 -0400
commit04ad4ecc7b4b5db1bbe10372a6820ed88e2799e8 (patch)
tree1d2e37d449f46029b2610a0a4576637c5780c102 /compat.h
parentRewrite configure script for all platforms (diff)
downloadpounce-04ad4ecc7b4b5db1bbe10372a6820ed88e2799e8.tar.gz
pounce-04ad4ecc7b4b5db1bbe10372a6820ed88e2799e8.zip
Use RAND_bytes instead of arc4random_buf
This adds an actual dependency on libcrypto, but removes a dependency on
BSD (or LibreSSL libcrypto specifically).
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/compat.h b/compat.h
index f5d9ff3..63109a0 100644
--- a/compat.h
+++ b/compat.h
@@ -34,9 +34,6 @@ void explicit_bzero(void *b, size_t len);
 size_t strlcpy(char *restrict dst, const char *restrict src, size_t dstsize);
 size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize);
 #endif
-uint32_t arc4random(void);
-void arc4random_buf(void *buf, size_t nbytes);
-uint32_t arc4random_uniform(uint32_t upper_bound);
 
 #ifndef SIGINFO
 #define SIGINFO SIGUSR2
itle='2019-07-27 15:06:08 -0400'>2019-07-27Rewrite Makefile once more with more organizationJune McEnroe 2019-07-27Reference png.h in bin.7June McEnroe 2019-07-27Revert "Use scheme to style HTMLs"June McEnroe 2019-07-27Remove scheme text linkJune McEnroe 2019-07-26Update Dark.terminalJune McEnroe 2019-07-26Lighten dark whiteJune McEnroe 2019-07-25Add png.3 man pageJune McEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe