rp_pppoe: Copy acName and pppd_pppoe_service after option parsing
[mpls-ppp.git] / pppd / plugins / radius / md5.c
blob8af03aa3713e922302a7c9e289e093a82a669f51
1 /*
2 * $Id: md5.c,v 1.1 2004/11/14 07:26:26 paulus Exp $
3 */
4 #include "md5.h"
6 void rc_md5_calc (unsigned char *output, unsigned char *input, unsigned int inlen)
8 MD5_CTX context;
10 MD5_Init (&context);
11 MD5_Update (&context, input, inlen);
12 MD5_Final (output, &context);