summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dpxcrypt.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-07-06 07:37:13 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-07-06 07:37:13 +0000
commit4ceea85e891db1d6dd2c6018f89409d29b43a8da (patch)
tree10e7fdc10504daeb380be606675bded53eae0dd8 /Build/source/texk/dvipdfm-x/dpxcrypt.h
parent31db756f1b7f30aeed53c7e7fa152742843ee686 (diff)
texk/dvipdfm-x: Bugfix (undefined type byte) and cleanup
git-svn-id: svn://tug.org/texlive/trunk@37780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dpxcrypt.h')
-rw-r--r--Build/source/texk/dvipdfm-x/dpxcrypt.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Build/source/texk/dvipdfm-x/dpxcrypt.h b/Build/source/texk/dvipdfm-x/dpxcrypt.h
index 5b390f63b08..2510feedd28 100644
--- a/Build/source/texk/dvipdfm-x/dpxcrypt.h
+++ b/Build/source/texk/dvipdfm-x/dpxcrypt.h
@@ -29,10 +29,6 @@
# include <stdint.h>
#endif
-typedef uint64_t u64;
-typedef uint32_t u32;
-typedef uint8_t u8;
-
/* libgcrypt md5 */
typedef struct {
uint32_t A, B, C, D; /* chaining variables */
@@ -46,7 +42,7 @@ void MD5_write(MD5_CONTEXT *ctx, const unsigned char *inbuf, unsigned long inlen
void MD5_final(unsigned char *outbuf, MD5_CONTEXT *ctx);
typedef struct {
- u32 h0,h1,h2,h3,h4,h5,h6,h7;
+ uint32_t h0,h1,h2,h3,h4,h5,h6,h7;
size_t nblocks;
unsigned char buf[64];
int count;
@@ -54,7 +50,7 @@ typedef struct {
typedef struct
{
- u64 h0, h1, h2, h3, h4, h5, h6, h7;
+ uint64_t h0, h1, h2, h3, h4, h5, h6, h7;
} SHA512_STATE;
typedef struct