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