Closed aburks closed 9 years ago
Hash_gen() dereferences a type-punned pointer, which breaks strict-aliasing rules and causes -Wall and -Werror builds to fail.
Hash_gen()
https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/src/random.c#L279
Thanks for the catch!
Hash_gen()
dereferences a type-punned pointer, which breaks strict-aliasing rules and causes -Wall and -Werror builds to fail.https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/src/random.c#L279