diff --git a/Sparkle/SUSignatures.h b/Sparkle/SUSignatures.h index 270c80c3..402dd160 100644 --- a/Sparkle/SUSignatures.h +++ b/Sparkle/SUSignatures.h @@ -33,7 +33,6 @@ NS_ASSUME_NONNULL_BEGIN @property (readonly, nullable, nonatomic) const unsigned char *ed25519PubKey; - (instancetype)initWithDsa:(NSString * _Nullable)dsa ed:(NSString * _Nullable)ed; -- (BOOL) isEqualToKey:(SUPublicKeys *)key; @end diff --git a/Sparkle/SUSignatures.m b/Sparkle/SUSignatures.m index c8935761..3d8aedbe 100644 --- a/Sparkle/SUSignatures.m +++ b/Sparkle/SUSignatures.m @@ -112,15 +112,6 @@ static NSData *decode(NSString *str) { return self; } -- (BOOL) isEqualToKey:(SUPublicKeys *)key { - NSString *thisKey = self.dsaPubKey; - NSString *thatKey = key.dsaPubKey; - if (thisKey == nil || thatKey == nil) { - return NO; - } - return NO; -} - - (const unsigned char *)ed25519PubKey { // Xcode may enable this in pedantic mode