From 98e553e92e4be0a811569477cbe2794ecc78f40a Mon Sep 17 00:00:00 2001 From: rizkyikiw42 Date: Thu, 23 Oct 2025 13:57:14 +0800 Subject: [PATCH] crypto/ecies: remove unused var --- crypto/ecies/ecies.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/ecies/ecies.go b/crypto/ecies/ecies.go index 76f934c72d..e346dc1e7e 100644 --- a/crypto/ecies/ecies.go +++ b/crypto/ecies/ecies.go @@ -45,7 +45,6 @@ import ( ) var ( - ErrImport = errors.New("ecies: failed to import key") ErrInvalidCurve = errors.New("ecies: invalid elliptic curve") ErrInvalidPublicKey = errors.New("ecies: invalid public key") ErrSharedKeyIsPointAtInfinity = errors.New("ecies: shared key is point at infinity") @@ -140,7 +139,6 @@ func (prv *PrivateKey) GenerateShared(pub *PublicKey, skLen, macLen int) (sk []b } var ( - ErrSharedTooLong = errors.New("ecies: shared secret is too long") ErrInvalidMessage = errors.New("ecies: invalid message") )