mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Remove -[SUPublicKeys isEqualToKey:]
It's been broken since 2018, and we suspect no one's using it anyway.
This commit is contained in:
1 parent
626ccc79c6
commit
524761c50f
2 files changed
-10
No files matched your search
Vendored
-1
@@ -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
|
||||
|
||||
|
||||
Vendored
-9
@@ -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
|
||||
|
||||
Reference in new issue
Block a user