summaryrefslogtreecommitdiff
path: root/src/crypto.h
diff options
context:
space:
mode:
authorjakob <jakob@memeware.net>2017-04-01 15:47:28 -0400
committerjakob <jakob@memeware.net>2017-04-01 15:47:28 -0400
commit5ac05edbb64b89741728ba006b0ce681a5d51595 (patch)
treed31d0f396181821bb5bd40fffd6e4c92bb025f7c /src/crypto.h
parent06ef3f15929b4de343f4f749bade08f6b4783d3a (diff)
Fixed segmentation fault on invalid paths, cleaned up code
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto.h b/src/crypto.h
index 11b0fc5..e80531d 100644
--- a/src/crypto.h
+++ b/src/crypto.h
@@ -33,8 +33,8 @@ enum {
/* Structure containing game-specific encryption information. */
struct game_key {
- bool uses_initial; /* Whether or not to use an initial key. */
- uint32_t master; /* Master key specific to the game. */
+ bool uses_initial; /* Whether or not to use an initial key. */
+ uint32_t master; /* Master key specific to the game. */
uint8_t fallback_initial; /* Fallback if initial key is 0. */
uint8_t fallback_primary; /* Fallback if primary key is 0. */
};