2017-06-02 13:32:15 +00:00
|
|
|
diff -up openssl-1.1.0f/Configurations/unix-Makefile.tmpl.build openssl-1.1.0f/Configurations/unix-Makefile.tmpl
|
|
|
|
--- openssl-1.1.0f/Configurations/unix-Makefile.tmpl.build 2017-06-02 13:51:39.621289504 +0200
|
|
|
|
+++ openssl-1.1.0f/Configurations/unix-Makefile.tmpl 2017-06-02 13:54:45.298654812 +0200
|
|
|
|
@@ -553,7 +553,7 @@ uninstall_runtime:
|
|
|
|
install_man_docs:
|
|
|
|
@[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)
|
|
|
|
@echo "*** Installing manpages"
|
|
|
|
- $(PERL) $(SRCDIR)/util/process_docs.pl \
|
|
|
|
+ TZ=UTC $(PERL) $(SRCDIR)/util/process_docs.pl \
|
|
|
|
--destdir=$(DESTDIR)$(MANDIR) --type=man --suffix=$(MANSUFFIX)
|
2016-10-11 08:31:54 +00:00
|
|
|
|
|
|
|
uninstall_man_docs:
|
2017-06-02 13:32:15 +00:00
|
|
|
@@ -565,7 +565,7 @@ uninstall_man_docs:
|
|
|
|
install_html_docs:
|
|
|
|
@[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)
|
|
|
|
@echo "*** Installing HTML manpages"
|
|
|
|
- $(PERL) $(SRCDIR)/util/process_docs.pl \
|
|
|
|
+ TZ=UTC $(PERL) $(SRCDIR)/util/process_docs.pl \
|
|
|
|
--destdir=$(DESTDIR)$(HTMLDIR) --type=html
|
|
|
|
|
|
|
|
uninstall_html_docs:
|
|
|
|
diff -up openssl-1.1.0f/Configurations/10-main.conf.build openssl-1.1.0f/Configurations/10-main.conf
|
|
|
|
--- openssl-1.1.0f/Configurations/10-main.conf.build 2017-05-25 14:46:17.000000000 +0200
|
|
|
|
+++ openssl-1.1.0f/Configurations/10-main.conf 2017-06-02 13:51:39.622289528 +0200
|
|
|
|
@@ -662,6 +662,7 @@ sub vms_info {
|
2016-10-11 08:31:54 +00:00
|
|
|
cflags => add("-m64 -DL_ENDIAN"),
|
|
|
|
perlasm_scheme => "linux64le",
|
2016-11-11 13:47:36 +00:00
|
|
|
shared_ldflag => add("-m64"),
|
2016-10-11 08:31:54 +00:00
|
|
|
+ multilib => "64",
|
|
|
|
},
|
|
|
|
|
|
|
|
"linux-armv4" => {
|
2017-06-02 13:32:15 +00:00
|
|
|
@@ -702,6 +703,7 @@ sub vms_info {
|
2016-10-11 09:17:20 +00:00
|
|
|
"linux-aarch64" => {
|
|
|
|
inherit_from => [ "linux-generic64", asm("aarch64_asm") ],
|
|
|
|
perlasm_scheme => "linux64",
|
|
|
|
+ multilib => "64",
|
|
|
|
},
|
|
|
|
"linux-arm64ilp32" => { # https://wiki.linaro.org/Platform/arm64-ilp32
|
|
|
|
inherit_from => [ "linux-generic32", asm("aarch64_asm") ],
|
2018-06-19 14:58:06 +00:00
|
|
|
diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afalg/e_afalg.c
|
|
|
|
--- openssl-1.1.0h/engines/afalg/e_afalg.c.build 2018-03-27 15:50:40.000000000 +0200
|
|
|
|
+++ openssl-1.1.0h/engines/afalg/e_afalg.c 2018-06-19 16:56:20.150950529 +0200
|
2018-06-19 16:39:17 +00:00
|
|
|
@@ -36,14 +36,25 @@ void engine_load_afalg_int(void)
|
2018-06-19 14:58:06 +00:00
|
|
|
}
|
|
|
|
#else
|
|
|
|
|
|
|
|
-# include <linux/if_alg.h>
|
|
|
|
# include <fcntl.h>
|
|
|
|
# include <sys/utsname.h>
|
|
|
|
|
|
|
|
-# include <linux/aio_abi.h>
|
|
|
|
# include <sys/syscall.h>
|
|
|
|
# include <errno.h>
|
|
|
|
|
|
|
|
+# define timespec linux_timespec
|
|
|
|
+# define timeval linux_timeval
|
|
|
|
+# define itimerspec linux_itimerspec
|
|
|
|
+# define sigset_t linux_sigset_type
|
|
|
|
+# include <linux/if_alg.h>
|
|
|
|
+# include <linux/aio_abi.h>
|
|
|
|
+
|
2018-06-19 16:39:17 +00:00
|
|
|
+# ifndef _LINUX_TIME_H
|
|
|
|
+# undef timespec
|
|
|
|
+# undef timeval
|
|
|
|
+# undef itimerspec
|
|
|
|
+# undef sigset_t
|
|
|
|
+# endif
|
2018-06-19 14:58:06 +00:00
|
|
|
# include "e_afalg.h"
|
|
|
|
|
|
|
|
# define AFALG_LIB_NAME "AFALG"
|
2017-11-03 15:57:03 +00:00
|
|
|
diff -up openssl-1.1.0g/test/evptests.txt.build openssl-1.1.0g/test/evptests.txt
|
|
|
|
--- openssl-1.1.0g/test/evptests.txt.build 2017-11-02 15:29:05.000000000 +0100
|
|
|
|
+++ openssl-1.1.0g/test/evptests.txt 2017-11-03 16:37:01.253671494 +0100
|
|
|
|
@@ -3707,14 +3707,6 @@ MCowBQYDK2VuAyEA3p7bfXt9wbTTW2HC7OQ1Nz+D
|
|
|
|
|
|
|
|
PrivPubKeyPair = Bob-25519:Bob-25519-PUBLIC
|
2017-06-02 13:32:15 +00:00
|
|
|
|
|
|
|
-Derive=Alice-25519
|
|
|
|
-PeerKey=Bob-25519-PUBLIC
|
|
|
|
-SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742
|
|
|
|
-
|
|
|
|
-Derive=Bob-25519
|
|
|
|
-PeerKey=Alice-25519-PUBLIC
|
|
|
|
-SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742
|
|
|
|
-
|
|
|
|
# Illegal sign/verify operations with X25519 key
|
|
|
|
|
|
|
|
Sign=Alice-25519
|
2017-11-03 15:57:03 +00:00
|
|
|
@@ -3727,6 +3719,14 @@ Result = KEYOP_INIT_ERROR
|
2017-06-02 13:32:15 +00:00
|
|
|
Function = EVP_PKEY_verify_init
|
|
|
|
Reason = operation not supported for this keytype
|
|
|
|
|
|
|
|
+Derive=Alice-25519
|
|
|
|
+PeerKey=Bob-25519-PUBLIC
|
|
|
|
+SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742
|
|
|
|
+
|
|
|
|
+Derive=Bob-25519
|
|
|
|
+PeerKey=Alice-25519-PUBLIC
|
|
|
|
+SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742
|
|
|
|
+
|
|
|
|
## ECDH Tests: test with randomly generated keys for all the listed curves
|
|
|
|
|
|
|
|
|