Guard RSA / RC4-5 ASM when NO_ASM is not defined
authorbcook <bcook@openbsd.org>
Mon, 11 Aug 2014 13:29:43 +0000 (13:29 +0000)
committerbcook <bcook@openbsd.org>
Mon, 11 Aug 2014 13:29:43 +0000 (13:29 +0000)
commit5a13a3bbec2007437dc027f87dc805f96bde1249
tree5b3e913290607ff91a8f0ef446db0256379052e2
parent3df016efef6af73cc5001ccfcb711ed4d52fa88d
Guard RSA / RC4-5 ASM when NO_ASM is not defined

Most assembly blocks remain inactive if OPENSSL_NO_ASM is not defined,
only enabling inline assembly, but the RSA / RC4-5 blocks (used only in
amd64 systems) turn on implicitly. Guard these two as well.

This simplifies enabling just inline ASM in portable, no effective
change in OpenBSD.
lib/libcrypto/arch/amd64/Makefile.inc
lib/libcrypto/crypto/arch/amd64/Makefile.inc
lib/libcrypto/engine/eng_rsax.c
lib/libcrypto/evp/e_rc4_hmac_md5.c
lib/libssl/src/crypto/engine/eng_rsax.c
lib/libssl/src/crypto/evp/e_rc4_hmac_md5.c