mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Mark clang false positives
This commit is contained in:
parent
cdbbe47ed9
commit
34fe1205ac
@ -128,7 +128,7 @@ int crypto_stream_afternm(unsigned char *outp, unsigned long long len, const uns
|
||||
|
||||
if(lensav == 0) goto end;
|
||||
|
||||
b = blp[0];
|
||||
b = blp[0]; /* clang false positive */
|
||||
*(unsigned char *)(outp + 0) = b;
|
||||
|
||||
blp += 1;
|
||||
|
@ -139,7 +139,7 @@ int crypto_stream_xor_afternm(unsigned char *outp, const unsigned char *inp, uns
|
||||
|
||||
if(lensav == 0) goto end;
|
||||
|
||||
b = blp[0];
|
||||
b = blp[0]; /* clang false positive */
|
||||
b ^= *(unsigned char *)(inp + 0);
|
||||
*(unsigned char *)(outp + 0) = b;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user