Skip to content

Commit

Permalink
Update cryptoutil/crypto_utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Klaidas Urbanavicius <[email protected]>
  • Loading branch information
mehmet-yoti and klaidas authored Dec 7, 2023
1 parent f705d44 commit a4775d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptoutil/crypto_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func DecryptReceiptContent(content, receiptContentKey []byte) ([]byte, error) {
}

decodedData := &yotiprotocom.EncryptedData{}
err := proto.Unmarshal(content, decodedData) //decodeEncryptedData(content)
err := proto.Unmarshal(content, decodedData)
if err != nil {
return nil, fmt.Errorf("failed to unmarshall content: %v", content)
}
Expand Down

0 comments on commit a4775d2

Please sign in to comment.