diff options
Diffstat (limited to '')
-rw-r--r-- | t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/zlib.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/zlib.c b/t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/zlib.c new file mode 100644 index 0000000..eb43c79 --- /dev/null +++ b/t/recipes/checks/libraries/embedded/binaries-embedded-libs/build-spec/orig/zlib.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include "hardening-trigger.h" + +/* + * zlib asks derivative works to include this string, so it's the signature + * that we use to detect embedded copies. + */ +static const char deflate_copyright[] + = "deflate 1.2.3.3 Copyright 1995-2006 Jean-loup Gailly"; + +int +main(void) +{ + printf("%s\n", deflate_copyright); +} |