git-svn-id: svn://db.shs.com.ru/pip@299 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-12-21 12:04:20 +00:00
parent 9e6cdee552
commit 57a9657705
5 changed files with 65 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ PIByteArray PICrypt::crypt(const PIByteArray & data, PIByteArray key) {
crypto_secretbox_easy(ret.data(), data.data(), data.size(), n.data(), key.data());
ret.append(n);
#else
piCout << "[PICrypt]" << "Warning: PICrypt is disabled, to enable install sodium library and build pip with -DCRYPT=";
piCout << "[PICrypt]" << "Warning: PICrypt is disabled, to enable install sodium library and build pip with -DCRYPT=1";
#endif
return ret;
}