Skip to content

Commit 6ac6d36

Browse files
authored
Merge pull request #416 from libtom/pr/clang-tidy-readability-non-const-parameter
fix clang-tidy warning: readability-non-const-parameter
2 parents 48ad48f + ae6aa3d commit 6ac6d36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/prngs/sprng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ int sprng_done(prng_state *prng)
102102
@param prng The PRNG to export
103103
@return CRYPT_OK if successful
104104
*/
105+
/* NOLINTNEXTLINE(readability-non-const-parameter) - silence clang-tidy warning */
105106
int sprng_export(unsigned char *out, unsigned long *outlen, prng_state *prng)
106107
{
107108
LTC_ARGCHK(outlen != NULL);

0 commit comments

Comments
 (0)