X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fcrypto_ms.h;h=38111fdf70701e07036158d11ce825d8317e4fb9;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=e9a039cbf055e9e87131847bf13a4e1a0f757ec7;hpb=3de4392234241ae91300854264864da213a49b10;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 */