Skip to content
Snippets Groups Projects
Commit 2f6c294b authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Revert "Update register HMAC to pass build"

This reverts commit 5a91e030.
parent ce28a166
No related branches found
No related tags found
2 merge requests!170Release,!126Dev
......@@ -272,7 +272,7 @@ func requestKey(sender *gateway.Sender, comms RegisterNodeCommsInterface,
// Verify the HMAC
h.Reset()
if !registration.VerifyClientHMAC(sessionKey.Bytes(), keyResponse.EncryptedClientKey,
opts.Hash.New, keyResponse.EncryptedClientKeyHMAC) {
h, keyResponse.EncryptedClientKeyHMAC) {
return nil, nil, 0, errors.WithMessagef(err, "Failed to verify client HMAC")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment