Remove -[SUPublicKeys isEqualToKey:]

It's been broken since 2018, and we suspect no one's using it anyway.
This commit is contained in:
Jordan Rose authored and Kornel committed 2020-06-10 12:14:30 +01:00
1 parent 626ccc79c6
commit 524761c50f
2 files changed
-10

No files matched your search

-1
View File
@@ -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
-9
View File
@@ -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