diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/SecureIM/src/svcs_rsa.cpp | |
parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff) |
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/SecureIM/src/svcs_rsa.cpp')
-rw-r--r-- | plugins/SecureIM/src/svcs_rsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/svcs_rsa.cpp b/plugins/SecureIM/src/svcs_rsa.cpp index 307cc38921..1663cc6aec 100644 --- a/plugins/SecureIM/src/svcs_rsa.cpp +++ b/plugins/SecureIM/src/svcs_rsa.cpp @@ -151,8 +151,8 @@ void sttGenerateRSA(LPVOID) mir_exp->rsa_gen_keypair(CPP_MODE_RSA_4096);
mir_exp->rsa_get_keypair(CPP_MODE_RSA_4096, (PBYTE)&priv_key, &priv_len, (PBYTE)&pub_key, &pub_len);
- db_set_blob(NULL, MODULENAME, "rsa_priv", priv_key, priv_len);
- db_set_blob(NULL, MODULENAME, "rsa_pub", pub_key, pub_len);
+ db_set_blob(0, MODULENAME, "rsa_priv", priv_key, priv_len);
+ db_set_blob(0, MODULENAME, "rsa_pub", pub_key, pub_len);
rsa_4096 = 1;
}
|