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-util.cpp | |
| parent | d9757786bb5a2d7a6cc9bce7cfb1a8b52d6391cf (diff) | |
replaced openssl dependency with internal SHA-1 API
Diffstat (limited to 'src/asdcp-util.cpp')
| -rwxr-xr-x | src/asdcp-util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asdcp-util.cpp b/src/asdcp-util.cpp index a3c891d..3f70a0a 100755 --- a/src/asdcp-util.cpp +++ b/src/asdcp-util.cpp @@ -35,8 +35,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <KM_fileio.h> #include <KM_prng.h> +#include <KM_sha1.h> #include <AS_DCP.h> -#include <openssl/sha.h> using namespace Kumu; @@ -182,7 +182,7 @@ Result_t digest_file(const std::string& filename) { FileReader Reader; - SHA_CTX Ctx; + SHA1_CTX Ctx; SHA1_Init(&Ctx); ByteString Buf(8192); |
