If openssl is disabled at configure time but microsoft extensions are enabled,
we get a compilation error due to an unnecessary include in crypto_ms.c.
This removes the unnecessary include. With this, pppd compiles without
openssl as long as you add the following arguments to the configure script
invocation:
--disable-peap --disable-eaptls --without-openssl
Fixes: https://github.com/ppp-project/ppp/issues/429
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
DES_set_odd_parity((DES_cblock *)des_key);
}
DES_set_odd_parity((DES_cblock *)des_key);
}
-#include <openssl/evp.h>
-
int
DesEncrypt(const unsigned char *clear, const unsigned char *key, unsigned char *cipher)
{
int
DesEncrypt(const unsigned char *clear, const unsigned char *key, unsigned char *cipher)
{