SKALE-3114 fix build

parent 5ff8fab3
......@@ -254,7 +254,7 @@ std::string encryptBLSKeyShare2Hex(int *errStatus, char *err_string, const char
string str_key = BLSutils::ConvertToString(key);
strncpy(keyArray->data(), str_key, BUF_LEN);
strncpy(keyArray->data(), str_key.data(), BUF_LEN);
*errStatus = -1;
unsigned int encryptedLen = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment