b83f96744f
- openssh-alloc_size.patch: anotate xmalloc.h with alloc_size attribute so the compiler knows these functions allocate memory so overflow or misuse can be detected sooner. - openssh-allow_getrandom.patch; allow the getrandom(2) system call in the seccomp sandbox, upstream commit 26ad18247213 - openssh-fix-b64_xx-detection.patch: configure.ac has incorrect tests for b64_ntop, b64_pton on linux/glibc. OBS-URL: https://build.opensuse.org/request/show/358392 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=96
25 lines
662 B
Diff
25 lines
662 B
Diff
--- openssh-7.1p2.orig/configure.ac
|
|
+++ openssh-7.1p2/configure.ac
|
|
@@ -2873,6 +2873,10 @@ else
|
|
AC_CHECK_FUNCS([crypt])
|
|
fi
|
|
|
|
+AC_CHECK_DECLS([b64_ntop, b64_pton], [], [], [#include <resolv.h>])
|
|
+AC_SEARCH_LIBS([__b64_ntop], [resolv])
|
|
+AC_SEARCH_LIBS([__b64_pton], [resolv])
|
|
+
|
|
AC_CHECK_FUNCS([ \
|
|
arc4random \
|
|
arc4random_buf \
|
|
--- openssh-7.1p2.orig/Makefile.in
|
|
+++ openssh-7.1p2/Makefile.in
|
|
@@ -45,7 +45,7 @@ PATHS= -DSSHDIR=\"$(sysconfdir)\" \
|
|
CC=@CC@
|
|
LD=@LD@
|
|
CFLAGS=@CFLAGS@
|
|
-CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
|
|
+CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ -include config.h
|
|
LIBS=@LIBS@
|
|
K5LIBS=@K5LIBS@
|
|
GSSLIBS=@GSSLIBS@
|