added sodium_init()

This commit is contained in:
TLINDEN
2013-12-19 12:38:10 +01:00
parent 7fc71b67f7
commit a426558155
2 changed files with 3 additions and 1 deletions

View File

@@ -124,7 +124,7 @@
.\" ======================================================================== .\" ========================================================================
.\" .\"
.IX Title "PCP1 1" .IX Title "PCP1 1"
.TH PCP1 1 "2013-12-02" "PCP 0.1.5" "USER CONTRIBUTED DOCUMENTATION" .TH PCP1 1 "2013-12-19" "PCP 0.1.5" "USER CONTRIBUTED DOCUMENTATION"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents. .\" way too many mistakes in technical documents.
.if n .ad l .if n .ad l

View File

@@ -102,6 +102,8 @@ void test3() {
} }
int main(int argc, char **argv) { int main(int argc, char **argv) {
sodium_init();
try { try {
if(argc < 2) if(argc < 2)
throw pcp::exception("usage: cpptest N"); throw pcp::exception("usage: cpptest N");