Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
denzo committed Oct 4, 2017
1 parent 10ecf3c commit 07c7baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/OTAESGCM/utility/OTAESGCM_OTAESGCM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ bool OTAES128GCMGenericBase::gcmEncryptPadded(

const uint8_t CDATALength = PDATALength;

GGBWS::GCMEncryptPaddedWorkspace workspace = getGCMEncryptPaddedWorkspace();
GGBWS::GCMEncryptPaddedWorkspace &workspace = getGCMEncryptPaddedWorkspace();

// Encrypt data.
generateAuthKey(ap, key, workspace.authKey);
Expand Down

0 comments on commit 07c7baa

Please sign in to comment.