mirror of https://github.com/nodejs/node.git
src: use named struct instead of typedef
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
5d8281e81d
commit
aeb1c1b1f9
|
@ -390,12 +390,12 @@ static const unsigned char group_modp18[] = {
|
|||
0x80, 0xdd, 0x98, 0xed, 0xd3, 0xdf, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff };
|
||||
|
||||
typedef struct {
|
||||
struct modp_group {
|
||||
const char* name;
|
||||
const char* prime;
|
||||
unsigned int prime_size;
|
||||
unsigned int gen;
|
||||
} modp_group;
|
||||
};
|
||||
|
||||
static const modp_group modp_groups[] = {
|
||||
#define V(var) reinterpret_cast<const char*>(var)
|
||||
|
|
Loading…
Reference in New Issue