openssh: fix ~ldns,~ssl build option

This commit is contained in:
Đoàn Trần Công Danh 2020-08-22 20:44:26 +07:00
parent b8c7465f7f
commit 56d1bf56ed

View file

@ -1,17 +1,18 @@
--- openbsd-compat/openbsd-compat.h.orig
+++ openbsd-compat/openbsd-compat.h
@@ -201,22 +201,11 @@
@@ -201,22 +201,18 @@
int getpeereid(int , uid_t *, gid_t *);
#endif
-#ifdef HAVE_ARC4RANDOM
-# ifndef HAVE_ARC4RANDOM_STIR
-# define arc4random_stir()
-# endif
-#else
unsigned int arc4random(void);
-void arc4random_stir(void);
-#endif /* !HAVE_ARC4RANDOM */
+unsigned int arc4random(void);
#ifdef HAVE_ARC4RANDOM
# ifndef HAVE_ARC4RANDOM_STIR
# define arc4random_stir()
# endif
#else
-unsigned int arc4random(void);
void arc4random_stir(void);
#endif /* !HAVE_ARC4RANDOM */
-#ifndef HAVE_ARC4RANDOM_BUF
void arc4random_buf(void *, size_t);