X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fchap_ms.c;h=6b2a0261c2c8141e01912419b77cd153b01ddad0;hb=a20059a09c56555f6c2006a7193de4c1676b477a;hp=d1e0cf80212c265cdfeae2c4c6659d15c8422108;hpb=3de4392234241ae91300854264864da213a49b10;p=ppp.git 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];