Skip to content
Commit 7f8d9b75 authored by Richard Levitte's avatar Richard Levitte Committed by Richard Levitte
Browse files

Improve the definition of STITCHED_CALL in e_rc4_hmac_md5.c



The definition of STITCHED_CALL relies on OPENSSL_NO_ASM.  However,
when a configuration simply lacks the assembler implementation for RC4
(which is where we have implemented the stitched call), OPENSSL_NO_ASM
isn't implemented.  Better, then, to rely on specific macros that
indicated that RC4 (and MD5) are implemented in assembler.

For this to work properly, we must also make sure Configure adds the
definition of RC4_ASM among the C flags.

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
(cherry picked from commit 216e8d91)
parent a35d8fb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment