Skip to content

Commit ae6aa3d

Browse files
committed
fix clang-tidy warning: readability-non-const-parameter
1 parent 48ad48f commit ae6aa3d

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)