Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
JennaHuntsman
Alchemy Next
Commits
06ada4bc
Commit
06ada4bc
authored
Oct 14, 2021
by
Rye Mutt
🍞
Browse files
Fix build
parent
6e9f21f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/llsechandler_basic.cpp
View file @
06ada4bc
...
...
@@ -1497,10 +1497,11 @@ void LLSecAPIBasicHandler::_writeProtectedData()
llofstream
protected_data_stream
(
tmp_filename
.
c_str
(),
std
::
ios_base
::
binary
);
EVP_CIPHER_CTX
*
ctx
=
nullptr
;
try
{
EVP_CIPHER_CTX
*
ctx
=
EVP_CIPHER_CTX_new
();
ctx
=
EVP_CIPHER_CTX_new
();
EVP_EncryptInit_ex
(
ctx
,
EVP_chacha20
(),
NULL
,
salt
,
NULL
);
// 1 is encrypt
unsigned
char
unique_id
[
MAC_ADDRESS_BYTES
];
LLMachineID
::
getUniqueID
(
unique_id
,
sizeof
(
unique_id
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment