[PATCH] Use "all_zero()"

Volker Lendecke vl at samba.org
Tue Jan 3 11:56:55 UTC 2017


On Tue, Jan 03, 2017 at 12:15:43PM +0100, Ralph Böhme wrote:
> I've fixed it to be
> 
> > -		if (memcmp(zero16, nt_pw, NT_HASH_LEN) == 0) {
> > +		if (all_zero(nt_pw, NT_HASH_LEN)) {
> 
> and pushed the whole patchset with my rb.

Crap, I thought I had checked them carefully! Thanks!!

Volker



More information about the samba-technical mailing list