diff options
| author | jhurst <jhurst@cinecert.com> | 2020-07-15 13:23:19 -0700 |
|---|---|---|
| committer | jhurst <jhurst@cinecert.com> | 2020-07-15 13:23:19 -0700 |
| commit | 0b6febadb714c3d5a62779fef076d88f066a61ba (patch) | |
| tree | 70185d31ce31219c77a560efb1e434eb409fc4f5 /src/asdcp-test.cpp | |
| parent | d9757786bb5a2d7a6cc9bce7cfb1a8b52d6391cf (diff) | |
replaced openssl dependency with internal SHA-1 API
Diffstat (limited to 'src/asdcp-test.cpp')
| -rwxr-xr-x | src/asdcp-test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asdcp-test.cpp b/src/asdcp-test.cpp index df108c3..fbb952d 100755 --- a/src/asdcp-test.cpp +++ b/src/asdcp-test.cpp @@ -49,11 +49,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <KM_fileio.h> #include <KM_prng.h> +#include <KM_sha1.h> #include <PCMParserList.h> #include <WavFileWriter.h> #include <MXF.h> #include <Metadata.h> -#include <openssl/sha.h> #include <iostream> #include <assert.h> @@ -1889,7 +1889,7 @@ digest_file(const char* filename) ASDCP_TEST_NULL_STR(filename); FileReader Reader; - SHA_CTX Ctx; + SHA1_CTX Ctx; SHA1_Init(&Ctx); ByteString Buf(8192); |
