aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_cryptor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_cryptor.c')
-rw-r--r--libarchive/archive_cryptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_cryptor.c b/libarchive/archive_cryptor.c
index ced52fd7062a..71967c9d46f0 100644
--- a/libarchive/archive_cryptor.c
+++ b/libarchive/archive_cryptor.c
@@ -153,7 +153,7 @@ aes_ctr_encrypt_counter(archive_crypto_ctx *ctx)
CCCryptorStatus r;
r = CCCryptorReset(ref, NULL);
- if (r != kCCSuccess)
+ if (r != kCCSuccess && r != kCCUnimplemented)
return -1;
r = CCCryptorUpdate(ref, ctx->nonce, AES_BLOCK_SIZE, ctx->encr_buf,
AES_BLOCK_SIZE, NULL);