diff options
| author | Martin Matuska <mm@FreeBSD.org> | 2018-09-07 00:11:43 +0000 |
|---|---|---|
| committer | Martin Matuska <mm@FreeBSD.org> | 2018-09-07 00:11:43 +0000 |
| commit | 7ab7abddce4a942f9422174bd2ba61c5ada389e3 (patch) | |
| tree | c56d73e577d99dc533037441e9d1d37b2bdef762 /libarchive/archive_cryptor.c | |
| parent | 01ab5f2b03469f9d06f58229fee91d136e45d31f (diff) | |
Diffstat (limited to 'libarchive/archive_cryptor.c')
| -rw-r--r-- | libarchive/archive_cryptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_cryptor.c b/libarchive/archive_cryptor.c index ced52fd7062ad..71967c9d46f02 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); |
