Skip to content

Commit

Permalink
Update garble.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiao1254 authored Feb 12, 2021
1 parent e7c9749 commit 7aef742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/garble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ void test(T * netio) {
int main(int argc, char** argv) {
parse_party_and_port(argv, &party, &port);
cout <<"Using NetIO\n";
NetIO* netio = new NetIO(party == ALICE?nullptr:"127.0.0.1", 54213);
NetIO* netio = new NetIO(party == ALICE?nullptr:"127.0.0.1", port);
test<NetIO>(netio);
delete netio;

cout <<"Using HighSpeedNetIO\n";
HighSpeedNetIO* hsnetio = new HighSpeedNetIO(party == ALICE?nullptr:"127.0.0.1", 54213);
HighSpeedNetIO* hsnetio = new HighSpeedNetIO(party == ALICE?nullptr:"127.0.0.1", port);
test<HighSpeedNetIO>(hsnetio);
delete hsnetio;
}

0 comments on commit 7aef742

Please sign in to comment.