Skip to content

Commit 1d6f295

Browse files
committed
wolfssl/wolfcrypt/md2.h and wolfssl/wolfcrypt/md4.h: fix stray commas in compat #defines.
1 parent abce5be commit 1d6f295

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

wolfssl/wolfcrypt/md2.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ WOLFSSL_API int wc_Md2Hash(const byte* data, word32 len, byte* hash);
5858

5959
#ifndef OPENSSL_COEXIST
6060

61-
#define MD2 WC_HASH_TYPE_MD2,
62-
#define MD2_BLOCK_SIZE WC_MD2_BLOCK_SIZE,
63-
#define MD2_DIGEST_SIZE WC_MD2_DIGEST_SIZE,
64-
#define MD2_PAD_SIZE WC_MD2_PAD_SIZE,
61+
#define MD2 WC_HASH_TYPE_MD2
62+
#define MD2_BLOCK_SIZE WC_MD2_BLOCK_SIZE
63+
#define MD2_DIGEST_SIZE WC_MD2_DIGEST_SIZE
64+
#define MD2_PAD_SIZE WC_MD2_PAD_SIZE
6565
#define MD2_X_SIZE WC_MD2_X_SIZE
6666

6767

wolfssl/wolfcrypt/md4.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ WOLFSSL_API void wc_Md4Final(wc_Md4* md4, byte* hash);
5454

5555
#ifndef OPENSSL_COEXIST
5656

57-
#define MD4 WC_HASH_TYPE_MD4,
58-
#define MD4_BLOCK_SIZE WC_MD4_BLOCK_SIZE,
59-
#define MD4_DIGEST_SIZE WC_MD4_DIGEST_SIZE,
57+
#define MD4 WC_HASH_TYPE_MD4
58+
#define MD4_BLOCK_SIZE WC_MD4_BLOCK_SIZE
59+
#define MD4_DIGEST_SIZE WC_MD4_DIGEST_SIZE
6060
#define MD4_PAD_SIZE WC_MD4_PAD_SIZE
6161

6262
typedef struct wc_Md4 Md4;

0 commit comments

Comments
 (0)