Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unintialized timeval in OT extension #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pierreeliseeflory
Copy link

@pierreeliseeflory pierreeliseeflory commented Jul 12, 2022

The timeval start value t_start was not initialized oprg_server and oprg_client, causing the displayed value of OT extension execution time to be a random double when using the -t flag.

Before fix:

Time for OT extension:		-2205237497622492.50 ms
Time for OT extension:		1657620414014.78 ms

After initialization:

Time for OT extension:		341.72 ms
Time for OT extension:		462.07 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant