mirror of
https://github.com/openssl/openssl.git
synced 2025-01-12 13:36:28 +08:00
8ae40cf57d
The encoder implementations were implemented by unnecessarily copying code into numerous topical source files, making them hard to maintain. This changes merges all those into two source files, one that encodes into DER and PEM, the other to text. Diverse small cleanups are included. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12803)
22 lines
716 B
Plaintext
22 lines
716 B
Plaintext
# We make separate GOAL variables for each algorithm, to make it easy to
|
|
# switch each to the Legacy provider when needed.
|
|
|
|
$ENCODER_GOAL=../../libimplementations.a
|
|
$DECODER_GOAL=../../libimplementations.a
|
|
$RSA_GOAL=../../libimplementations.a
|
|
$FFC_GOAL=../../libimplementations.a
|
|
$DH_GOAL=../../libimplementations.a
|
|
$DSA_GOAL=../../libimplementations.a
|
|
$ECX_GOAL=../../libimplementations.a
|
|
$EC_GOAL=../../libimplementations.a
|
|
|
|
SOURCE[$ENCODER_GOAL]=endecoder_common.c
|
|
|
|
SOURCE[$DECODER_GOAL]=decode_der2key.c decode_pem2der.c
|
|
IF[{- !$disabled{dsa} -}]
|
|
SOURCE[$DECODER_GOAL]=decode_ms2key.c
|
|
ENDIF
|
|
|
|
SOURCE[$DECODER_GOAL]=encode_key2any.c encode_key2text.c
|
|
DEPEND[encode_key2any.o]=../../common/include/prov/der_rsa.h
|