Start of channel_bitrates, start combining server and client common code.

This commit is contained in:
Ian Gulliver
2015-02-07 14:32:53 -08:00
parent 2e9d0b7960
commit 844db000f6
6 changed files with 109 additions and 82 deletions

View File

@@ -11,10 +11,10 @@ int main(int argc, char *argv[]) {
}
std::string secret_key, public_key;
CryptoBase::GenKeyPair(&secret_key, &public_key);
CryptoUtil::GenKeyPair(&secret_key, &public_key);
CryptoBase::WriteKeyToFile(argv[1], secret_key);
CryptoBase::WriteKeyToFile(argv[2], public_key);
CryptoUtil::WriteKeyToFile(argv[1], secret_key);
CryptoUtil::WriteKeyToFile(argv[2], public_key);
return 0;
}