]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Fri, 2 Aug 2019 18:07:20 +0000 (11:07 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 2 Aug 2019 18:07:20 +0000 (11:07 -0700)
open-vm-tools/lib/include/sha1.h

index e57bd2ac707642000228ce1e954057ef2370f820..2851fb8e03dbb8ee2ba1a3010f41b3daf94b668f 100644 (file)
@@ -144,12 +144,13 @@ void SHA1MultiBuffer(uint32 numBuffers,
 
 /* Opaque handle */
 typedef union {
-   void *_private;
 #if defined __APPLE__
-   uint8 _pad[104 + 8];  // sizeof CC_SHA256_CTX + extra field,
-                         // where SHA256 is largest CTX
+   uint8 _private[104 + 8];  // sizeof CC_SHA256_CTX + extra field,
+                             // where SHA256 is largest CTX
 #elif defined _WIN32
-   uint8 _pad[384];      // see CryptoHashInitCommon
+   uint8 _private[384];      // see CryptoHashInitCommon
+#else
+   uintptr_t _private;
 #endif
 } CryptoHash_SHA1_CTX;