mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-03 13:09:38 +00:00
When deprecated symbols are removed, ensure liblegacy has WHIRLPOOL
The legacy module implements WHIRLPOOL, so we must ensure it has the full functionality, even when libcrypto stops exporting the symbols. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10779)
This commit is contained in:
parent
7c3aa39fe3
commit
42b3f10b5e
@ -17,13 +17,21 @@ IF[{- !$disabled{asm} -}]
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
SOURCE[../../libcrypto]=wp_dgst.c $WPASM
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$WPDEF
|
||||
DEFINE[../../providers/libimplementations.a]=$WPDEF
|
||||
|
||||
SOURCE[../../libcrypto]=wp_dgst.c $WPASM
|
||||
DEFINE[../../libcrypto]=$WPDEF
|
||||
|
||||
# When all deprecated symbols are removed, libcrypto doesn't export the
|
||||
# WHIRLPOOL functions, so we must include them directly in liblegacy.a
|
||||
IF[{- $disabled{"deprecated"}
|
||||
&& (defined $config{"api"} && $config{"api"} >= 30000) -}]
|
||||
SOURCE[../../providers/liblegacy.a]=wp_dgst.c $WPASM
|
||||
DEFINE[../../providers/liblegacy.a]=$WPDEF
|
||||
ENDIF
|
||||
|
||||
GENERATE[wp-mmx.s]=asm/wp-mmx.pl
|
||||
DEPEND[wp-mmx.s]=../perlasm/x86asm.pl
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user