From 286cbc87fff9344ff85db0efd54c41f619509c74 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Wed, 30 Oct 2013 16:19:33 +0400 Subject: fix build with internal & tomcrypt crypto libraries Signed-off-by: Vladislav Grishenko --- accel-pppd/extra/chap-secrets.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'accel-pppd/extra') diff --git a/accel-pppd/extra/chap-secrets.c b/accel-pppd/extra/chap-secrets.c index d2d752a2..21edcbdb 100644 --- a/accel-pppd/extra/chap-secrets.c +++ b/accel-pppd/extra/chap-secrets.c @@ -30,11 +30,13 @@ static int conf_netmask; static void *pd_key; static struct ipdb_t ipdb; +#ifdef CRYPTO_OPENSSL struct hash_chain { struct list_head entry; const EVP_MD *md; }; +#endif struct cs_pd_t { @@ -44,7 +46,9 @@ struct cs_pd_t char *rate; }; +#ifdef CRYPTO_OPENSSL static LIST_HEAD(hash_chain); +#endif static char *skip_word(char *ptr) { -- cgit v1.2.3