diff --git a/src/librepgp/stream-key.cpp b/src/librepgp/stream-key.cpp index a1c68221..7c9a5c4e 100644 --- a/src/librepgp/stream-key.cpp +++ b/src/librepgp/stream-key.cpp @@ -788,6 +788,10 @@ decrypt_secret_key(pgp_key_pkt_t *key, const char *password) } ret = decrypt_secret_key_v3(&crypt, decdata.data(), key->sec_data, key->sec_len); break; +#if defined(ENABLE_CRYPTO_REFRESH) + case PGP_V6: + FALLTHROUGH_STATEMENT; +#endif case PGP_V4: pgp_cipher_cfb_decrypt(&crypt, decdata.data(), key->sec_data, key->sec_len); ret = RNP_SUCCESS;