X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fchap_ms.c;fp=pppd%2Fchap_ms.c;h=6b2a0261c2c8141e01912419b77cd153b01ddad0;hp=d1e0cf80212c265cdfeae2c4c6659d15c8422108;hb=a20059a09c56555f6c2006a7193de4c1676b477a;hpb=5c9f2d0e37f7b761e7d966385028f32cb0cca0cf diff --git a/pppd/chap_ms.c b/pppd/chap_ms.c index d1e0cf8..6b2a026 100644 --- a/pppd/chap_ms.c +++ b/pppd/chap_ms.c @@ -686,7 +686,7 @@ GenerateAuthenticatorResponse(unsigned char* PasswordHashHash, int i; PPP_MD_CTX *ctx; - u_char Digest[SHA_DIGEST_LENGTH]; + u_char Digest[SHA_DIGEST_LENGTH] = {}; int hash_len; u_char Challenge[8];