]> git.codecow.com Git - Monocypher.git/commit
Added version number to binaries
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 19 Oct 2019 13:14:48 +0000 (15:14 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 19 Oct 2019 13:14:48 +0000 (15:14 +0200)
commit30737a99843ac9f33698ea7e06afae1e7c6133df
treea734353df3e02b1f5679294c566b1a67dbf451dd
parenta9d8009ae110867a0935929df2b18f5d872a721f
Added version number to binaries

Sometimes, we don't have the sources, and we want to check the version
number of the binaries themselves. (For instance when distributing
Monocypher as a library.)

To that end, I've added the global string constant "monocypher_version".
It can be used from the calling program, or scanned directly by tools.
src/monocypher.c
src/monocypher.h
tests/test.c