Repository navigation
Conversation
sjaeckel
force-pushed
the
some-improvements
branch
5 times, most recently
from
December 3, 2026 10:24
8c1dbaa to
7e56996
Compare
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
After moving the CI job into our own docker images the build failed with the following error message: ``` fatal: detected dubious ownership in repository at '/__w/libtomcrypt/libtomcrypt' To add an exception for this directory, call: git config --global --add safe.directory /__w/libtomcrypt/libtomcrypt ``` I haven't been able to track down why this is happening, but this change fixes it. Also print some more details of the exact build step failing. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
We shouldn't care about problems in the system headers, let toolchain maintainers take care of that. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
```
src/hashes/blake3.c: In function ‘blake3_test’:
src/hashes/blake3.c:352:46: warning: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (33 chars into 32 available) [-Wunterminated-string-initialization]
352 | static const unsigned char test_key[32] = "whats the Elvish word for friend";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...]
src/misc/pem/pem_ssh.c: In function ‘s_decode_header’:
src/misc/pem/pem_ssh.c:645:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
645 | void *magic = strstr((const char*)in, "openssh-key-v1");
| ^~~~~~
[...]
src/misc/pkcs5/pkcs_5_test.c: In function ‘pkcs_5_test’:
src/misc/pkcs5/pkcs_5_test.c:154:9: warning: variable ‘tested’ set but not used [-Wunused-but-set-variable=]
154 | int tested=0, failed=0;
| ^~~~~~
```
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Fixes: cf71fff ("re-factor openssh-privkey demo into library functions") Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Fixes: 811b1a6 ("Introduce `LTC_NOP_TEST()`") Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
sjaeckel
force-pushed
the
some-improvements
branch
from
December 3, 2026 11:36
7e56996 to
e9b30fb
Compare
lcov 2.0 has more strict error checks and when optimization is enabled it is sometimes confused about where calls to lines came from. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Member
Author
|
What a wild ride ... Now the question is: what do we do with the coverage report? I'd suggest to simply accept it at the level it reports, since this seems to be caused by the change in the optimization level. |
We don't know what happens in the future, so let's remove any potential ambiguity. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Check commit messages for details.