Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bb51290

Browse filesBrowse 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
Copy full SHA for bb51290

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎src/crypto/crypto_groups.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_groups.h
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.