mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
Return Result<String> from dc_decrypt_setup_file
This commit is contained in:
committed by
holger krekel
parent
02b73207f9
commit
cb499ae502
@@ -209,7 +209,8 @@ unsafe fn stress_functions(context: &Context) {
|
||||
|
||||
assert!(preferencrypt_0.is_null());
|
||||
free(buf_1 as *mut libc::c_void);
|
||||
buf_1 = dc_decrypt_setup_file(context, S_EM_SETUPCODE, S_EM_SETUPFILE);
|
||||
let decrypted = dc_decrypt_setup_file(context, S_EM_SETUPCODE, S_EM_SETUPFILE).unwrap();
|
||||
buf_1 = decrypted.strdup();
|
||||
assert!(!buf_1.is_null());
|
||||
assert!(dc_split_armored_data(
|
||||
buf_1,
|
||||
|
||||
Reference in New Issue
Block a user