OlehKulykov / PLzmaSDK

PLzmaSDK is (Portable, Patched, Package, cross-P-latform) Lzma SDK.
Other
85 stars 25 forks source link

Add specific error code to let library clients properly handle invalid password input. #3

Closed apodrugin closed 3 years ago

apodrugin commented 3 years ago

Currently it is not possible in client code to get informed that decoder failed to open password protected archive because of missed or invalid password. To fix this issue I've added special error code plzma_error_code_invalid_password which can be handled in client code appropriately.

OlehKulykov commented 3 years ago

Thank you.