Pass default password to decryption implementation.
diff --git a/lib/zip_close.c b/lib/zip_close.c
index 8380008..88fa444 100644
--- a/lib/zip_close.c
+++ b/lib/zip_close.c
@@ -318,7 +318,7 @@
zip_source_free(src_final);
return -1;
}
- if ((src_tmp = impl(za, src_final, st.encryption_method, ZIP_CODEC_DECODE, NULL)) == NULL) {
+ if ((src_tmp = impl(za, src_final, st.encryption_method, ZIP_CODEC_DECODE, za->default_password)) == NULL) {
/* error set by impl */
zip_source_free(src_final);
return -1;