Skip to content

Commit bb51290

Browse files
tniessendanielleadams
authored andcommitted
src: use named struct instead of typedef
PR-URL: #43881 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 100f6de commit bb51290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crypto/crypto_groups.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,12 @@ static const unsigned char group_modp18[] = {
390390
0x80, 0xdd, 0x98, 0xed, 0xd3, 0xdf, 0xff, 0xff, 0xff, 0xff,
391391
0xff, 0xff, 0xff, 0xff };
392392

393-
typedef struct {
393+
struct modp_group {
394394
const char* name;
395395
const char* prime;
396396
unsigned int prime_size;
397397
unsigned int gen;
398-
} modp_group;
398+
};
399399

400400
static const modp_group modp_groups[] = {
401401
#define V(var) reinterpret_cast<const char*>(var)

0 commit comments

Comments
 (0)