Use OpenSSL 3

This commit is contained in:
2021-09-09 18:18:31 +01:00
parent 3142134360
commit fd321e02d8
5 changed files with 542 additions and 489 deletions

View File

@@ -1,7 +1,9 @@
extern crate async_std;
extern crate deltachat;
extern crate lazy_static;
extern crate log;
extern crate purple_rs as purple;
extern crate openssl;
use async_std::sync::Arc; // RwLock
use chat_info::{ChatInfo, PartialChatInfo}; //ChatInfoVersion
@@ -14,6 +16,8 @@ use std::ffi::{CStr, CString};
//use std::rc::Rc;
use std::sync::atomic::{AtomicBool, Ordering};
use deltachat::accounts::Accounts;
mod chat_info;
mod delta;
pub mod logging;
@@ -121,6 +125,8 @@ impl purple::PrplPlugin for PurpleDelta {
}
}
fn register(&self, context: RegisterContext<Self>) -> RegisterContext<Self> {
println!("OpenSSL version: {}", openssl::version::version());
let info = purple::PrplInfo {
id: "prpl-delta".into(),
name: "Delta Chat".into(),