Merge commit '9b36dd9d9952851d842c2f3bc6fadb0f9e4d8fa7'
This commit is contained in:
@@ -20,8 +20,10 @@ cc_library(
|
||||
":defines",
|
||||
"//c-toxcore/toxcore:ccompat",
|
||||
"//c-toxcore/toxcore:crypto_core",
|
||||
"//c-toxcore/toxcore:mem",
|
||||
"//c-toxcore/toxcore:os_memory",
|
||||
"//c-toxcore/toxcore:os_random",
|
||||
"//c-toxcore/toxcore:rng",
|
||||
"@libsodium",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "../toxcore/mem.h"
|
||||
#include "../toxcore/os_memory.h"
|
||||
#include "../toxcore/os_random.h"
|
||||
#include "../toxcore/rng.h"
|
||||
#include "defines.h"
|
||||
|
||||
static_assert(TOX_PASS_SALT_LENGTH == crypto_pwhash_scryptsalsa208sha256_SALTBYTES,
|
||||
@@ -55,7 +56,7 @@ struct Tox_Pass_Key {
|
||||
|
||||
void tox_pass_key_free(Tox_Pass_Key *key)
|
||||
{
|
||||
if (key == NULL) {
|
||||
if (key == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user