提交 9c8516b6 编写于 作者: R Richard Levitte

Add PADLOCK_ASM to dso_defines rather than lib_defines

Since the padlock code is an engine, the assembler is for a module,
not a library link to when building a program...  there's a
distinction.

Fixes #2311
Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8220)

(cherry picked from commit 88780b1c5f6000fe6731fec74efe697bcf493b6c)
上级 9c6d536f
...@@ -1419,7 +1419,7 @@ unless ($disabled{asm}) { ...@@ -1419,7 +1419,7 @@ unless ($disabled{asm}) {
push @{$config{lib_defines}}, "X25519_ASM"; push @{$config{lib_defines}}, "X25519_ASM";
} }
if ($target{padlock_asm_src} ne $table{DEFAULTS}->{padlock_asm_src}) { if ($target{padlock_asm_src} ne $table{DEFAULTS}->{padlock_asm_src}) {
push @{$config{lib_defines}}, "PADLOCK_ASM"; push @{$config{dso_defines}}, "PADLOCK_ASM";
} }
if ($target{poly1305_asm_src} ne "") { if ($target{poly1305_asm_src} ne "") {
push @{$config{lib_defines}}, "POLY1305_ASM"; push @{$config{lib_defines}}, "POLY1305_ASM";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册