mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
Return Option<String> from dc_decrypt_setup_file
This commit is contained in:
@@ -251,8 +251,9 @@ 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);
|
||||
assert!(!buf_1.is_null());
|
||||
|
||||
let decrypted = dc_decrypt_setup_file(context, S_EM_SETUPCODE, S_EM_SETUPFILE).unwrap();
|
||||
buf_1 = decrypted.strdup();
|
||||
assert!(dc_split_armored_data(
|
||||
buf_1,
|
||||
&mut headerline_0,
|
||||
|
||||
Reference in New Issue
Block a user