open-quantum-safe / liboqs

C library for prototyping and experimenting with quantum-resistant cryptography
https://openquantumsafe.org/
Other
1.92k stars 466 forks source link

Broken link and misplaced comment in common.c #1865

Closed SWilson4 closed 4 months ago

SWilson4 commented 4 months ago

The link in the following comment is broken:

https://github.com/open-quantum-safe/liboqs/blob/4cc88845e8bb66dca20cd61ff88c2162f38c3230/src/common/common.c#L40-L45

The comment currently on line 108 refers to the code currently at line 113 and should be moved for clarity.

https://github.com/open-quantum-safe/liboqs/blob/4cc88845e8bb66dca20cd61ff88c2162f38c3230/src/common/common.c#L107-L114

Reported by @trailofbits in Week 1 of their audit of liboqs.