diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-10-30 16:19:33 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-10-30 16:19:44 +0400 |
commit | 286cbc87fff9344ff85db0efd54c41f619509c74 (patch) | |
tree | 6e356ee6a15835903b91ba869f7e953a7e5838c6 /accel-pppd/extra/chap-secrets.c | |
parent | 68b7256c31e4efcb613854d73571edcca13fcd6e (diff) | |
download | accel-ppp-xebd-286cbc87fff9344ff85db0efd54c41f619509c74.tar.gz accel-ppp-xebd-286cbc87fff9344ff85db0efd54c41f619509c74.zip |
fix build with internal & tomcrypt crypto libraries
Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
Diffstat (limited to 'accel-pppd/extra/chap-secrets.c')
-rw-r--r-- | accel-pppd/extra/chap-secrets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/extra/chap-secrets.c b/accel-pppd/extra/chap-secrets.c index d2d752a..21edcbd 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) { |