Skip to content

clhash.c does not compile in vs2022 #310

Description

@demoonj

The following code will not compile with vs2022:

clhash.c

if(CLHASH_DEBUG) {
// avoid bad seeds
if (memcmp(&polyvalue[0], &zero128, 8) == 0)
polyvalue[0]++;
if (memcmp(&polyvalue[1], &zero128, 8) == 0)
polyvalue[1]++;
assert(memcmp(&rs64[1], &zero128, 8));
}

How can I avoid bad seeds while making changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions