X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcrypto%2Fsha256%2Fsha256.h;h=1297c41f48f0fabbc9bfda41c9dd93627e0c1858;hp=3e1a4919b9210269809824ff8797a24e8860251e;hb=1968f4d42a71c3b2d809981228dc6bbc5760ccf5;hpb=60b3090a54a7c55e7425c8523dab05b790dd664d diff --git a/ccan/crypto/sha256/sha256.h b/ccan/crypto/sha256/sha256.h index 3e1a4919..1297c41f 100644 --- a/ccan/crypto/sha256/sha256.h +++ b/ccan/crypto/sha256/sha256.h @@ -21,10 +21,8 @@ */ struct sha256 { union { - /* Array of chars */ - unsigned char u8[32]; - /* Array of uint32_t */ uint32_t u32[8]; + unsigned char u8[32]; } u; };