X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fcrypto_ms.h;h=38111fdf70701e07036158d11ce825d8317e4fb9;hb=575895559032fc7b7ade78bc5b3afb2feb1794c3;hp=e9a039cbf055e9e87131847bf13a4e1a0f757ec7;hpb=5c9f2d0e37f7b761e7d966385028f32cb0cca0cf;p=ppp.git diff --git a/pppd/crypto_ms.h b/pppd/crypto_ms.h index e9a039c..38111fd 100644 --- a/pppd/crypto_ms.h +++ b/pppd/crypto_ms.h @@ -36,6 +36,10 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * This is the DES encrypt functions as described by RFC2759. * @@ -72,4 +76,8 @@ int DesEncrypt(const unsigned char *clear, const unsigned char *key, int DesDecrypt(const unsigned char *cipher, const unsigned char *key, unsigned char *clear); +#ifdef __cplusplus +} +#endif + #endif /* PPP_PPPCRYPT_H */