mirror of https://gitee.com/openkylin/qemu.git
crypto: Rename cipher include files to .c.inc
QEMU standard procedure for included c files is to use *.c.inc. E.g. there are a different set of checks that are applied. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
eba29771c0
commit
6d92bdf443
|
@ -151,11 +151,11 @@ qcrypto_cipher_munge_des_rfb_key(const uint8_t *key,
|
||||||
#endif /* CONFIG_GCRYPT || CONFIG_NETTLE */
|
#endif /* CONFIG_GCRYPT || CONFIG_NETTLE */
|
||||||
|
|
||||||
#ifdef CONFIG_GCRYPT
|
#ifdef CONFIG_GCRYPT
|
||||||
#include "cipher-gcrypt.c"
|
#include "cipher-gcrypt.c.inc"
|
||||||
#elif defined CONFIG_NETTLE
|
#elif defined CONFIG_NETTLE
|
||||||
#include "cipher-nettle.c"
|
#include "cipher-nettle.c.inc"
|
||||||
#else
|
#else
|
||||||
#include "cipher-builtin.c"
|
#include "cipher-builtin.c.inc"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg,
|
QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg,
|
||||||
|
|
Loading…
Reference in New Issue