From 357e5964a929b71d6b63889ae453fbd0a8180797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 17 Aug 2008 14:09:31 +0000 Subject: [PATCH] play games to move make make-proto not see this functions. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23588 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/evp-aes-cts.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/lib/hcrypto/evp-aes-cts.c b/lib/hcrypto/evp-aes-cts.c index 35e5c8353..60a538b7d 100644 --- a/lib/hcrypto/evp-aes-cts.c +++ b/lib/hcrypto/evp-aes-cts.c @@ -52,13 +52,22 @@ RCSID("$Id$"); #include #include -const EVP_CIPHER * EVP_hcrypto_aes_128_cts(void); -const EVP_CIPHER * EVP_hcrypto_aes_192_cts(void); -const EVP_CIPHER * EVP_hcrypto_aes_256_cts(void); +#define _hc_EVP_hcrypto_aes_128_cts _krb5_EVP_hcrypto_aes_128_cts +#define _hc_EVP_hcrypto_aes_192_cts _krb5_EVP_hcrypto_aes_192_cts +#define _hc_EVP_hcrypto_aes_256_cts _krb5_EVP_hcrypto_aes_256_cts + +const EVP_CIPHER * _krb5_EVP_hcrypto_aes_128_cts(void); +const EVP_CIPHER * _krb5_EVP_hcrypto_aes_192_cts(void); +const EVP_CIPHER * _krb5_EVP_hcrypto_aes_256_cts(void); #else #include #include + +#define _hc_EVP_hcrypto_aes_128_cts hc_EVP_hcrypto_aes_128_cts +#define _hc_EVP_hcrypto_aes_192_cts hc_EVP_hcrypto_aes_192_cts +#define _hc_EVP_hcrypto_aes_256_cts hc_EVP_hcrypto_aes_256_cts + #endif /* @@ -186,7 +195,7 @@ aes_cts_cleanup(EVP_CIPHER_CTX *ctx) */ const EVP_CIPHER * -EVP_hcrypto_aes_128_cts(void) +_hc_EVP_hcrypto_aes_128_cts(void) { static const EVP_CIPHER aes_128_cts = { 0, @@ -216,7 +225,7 @@ EVP_hcrypto_aes_128_cts(void) */ const EVP_CIPHER * -EVP_hcrypto_aes_192_cts(void) +_hc_EVP_hcrypto_aes_192_cts(void) { static const EVP_CIPHER aes_192_cts = { 0, @@ -246,7 +255,7 @@ EVP_hcrypto_aes_192_cts(void) */ const EVP_CIPHER * -EVP_hcrypto_aes_256_cts(void) +_hc_EVP_hcrypto_aes_256_cts(void) { static const EVP_CIPHER aes_256_cts = { 0,