Compare commits

..
Author SHA1 Message Date
Zorg 24963abfb0 Remove signature asserts 2023-04-02 20:58:00 -07:00
2 changed files with 0 additions and 3 deletions

No files matched your search

-1
View File
@@ -9,7 +9,6 @@ SPARKLE_EMBED_DOWNLOADER_XPC_SERVICE = 1
SPARKLE_EMBED_INSTALLER_STATUS_XPC_SERVICE = 0 SPARKLE_EMBED_INSTALLER_STATUS_XPC_SERVICE = 0
SPARKLE_EMBED_INSTALLER_CONNECTION_XPC_SERVICE = 0 SPARKLE_EMBED_INSTALLER_CONNECTION_XPC_SERVICE = 0
// Set to 0 to disable building legacy 1.x SUUpdater stub // Set to 0 to disable building legacy 1.x SUUpdater stub
SPARKLE_BUILD_LEGACY_SUUPDATER = 1 SPARKLE_BUILD_LEGACY_SUUPDATER = 1
-2
View File
@@ -62,7 +62,6 @@ static SUSigningInputStatus decode(NSString *str, NSData * __strong *outData) {
NSData *data = nil; NSData *data = nil;
_ed25519SignatureStatus = decode(maybeEd25519, &data); _ed25519SignatureStatus = decode(maybeEd25519, &data);
if (data) { if (data) {
assert(64 == sizeof(_ed25519_signature));
if ([data length] == sizeof(_ed25519_signature)) { if ([data length] == sizeof(_ed25519_signature)) {
[data getBytes:_ed25519_signature length:sizeof(_ed25519_signature)]; [data getBytes:_ed25519_signature length:sizeof(_ed25519_signature)];
} else { } else {
@@ -163,7 +162,6 @@ static BOOL decodeStatus(NSCoder *decoder, NSString *key, SUSigningInputStatus *
NSData *ed = nil; NSData *ed = nil;
_ed25519PubKeyStatus = decode(maybeEd25519, &ed); _ed25519PubKeyStatus = decode(maybeEd25519, &ed);
if (ed) { if (ed) {
assert(32 == sizeof(_ed25519_public_key));
if ([ed length] == sizeof(_ed25519_public_key)) { if ([ed length] == sizeof(_ed25519_public_key)) {
[ed getBytes:_ed25519_public_key length:sizeof(_ed25519_public_key)]; [ed getBytes:_ed25519_public_key length:sizeof(_ed25519_public_key)];
} else { } else {