forked from TrueCloudLab/frostfs-sdk-go
[#197] session: Link issues for further TODO resolving
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
5fe6d96bf1
commit
526b45e207
2 changed files with 2 additions and 2 deletions
|
@ -199,7 +199,7 @@ func (x *Container) Sign(key ecdsa.PrivateKey) error {
|
||||||
//
|
//
|
||||||
// See also Sign.
|
// See also Sign.
|
||||||
func (x Container) VerifySignature() bool {
|
func (x Container) VerifySignature() bool {
|
||||||
// TODO: check owner<->key relation
|
// TODO: (#233) check owner<->key relation
|
||||||
data, err := x.body.StableMarshal(nil)
|
data, err := x.body.StableMarshal(nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))
|
panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))
|
||||||
|
|
|
@ -200,7 +200,7 @@ func (x *Object) Sign(key ecdsa.PrivateKey) error {
|
||||||
//
|
//
|
||||||
// See also Sign.
|
// See also Sign.
|
||||||
func (x Object) VerifySignature() bool {
|
func (x Object) VerifySignature() bool {
|
||||||
// TODO: check owner<->key relation
|
// TODO: (#233) check owner<->key relation
|
||||||
data, err := x.body.StableMarshal(nil)
|
data, err := x.body.StableMarshal(nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))
|
panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))
|
||||||
|
|
Loading…
Reference in a new issue