mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
3139c110dc
commit
be3343aed3
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user