lt/ltsha*.c: do not #include hash code if LT_NO_EMBED is defined
commit1674e7ebce8ff65372570794cd80ae7e9c8e7a85
authorKyle J. McKay <mackyle@gmail.com>
Wed, 16 Aug 2023 05:24:40 +0000 (15 22:24 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 16 Aug 2023 05:24:40 +0000 (15 22:24 -0700)
tree95677d4d7f4e665ce8dceb4e2d71ec8691ea9a18
parent13017a925ca297dd25bd7322a9b8da4418d2d357
lt/ltsha*.c: do not #include hash code if LT_NO_EMBED is defined

By default, each of the ltsha*.c files can be compiled by itself
to produce a usable utility.

However, during development, it's more helpful to have each of the
source files compile to an object file and then link to the final
executable binary.

Defining LT_NO_EMBED prevents the ltsha*.c files from including the
implementation file for the specific hash each one uses.
lt/ltsha1.c
lt/ltsha256.c
lt/ltsha512.c