summaryrefslogtreecommitdiff
path: root/src/asdcp-util.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2020-07-15 13:23:19 -0700
committerjhurst <jhurst@cinecert.com>2020-07-15 13:23:19 -0700
commit0b6febadb714c3d5a62779fef076d88f066a61ba (patch)
tree70185d31ce31219c77a560efb1e434eb409fc4f5 /src/asdcp-util.cpp
parentd9757786bb5a2d7a6cc9bce7cfb1a8b52d6391cf (diff)
replaced openssl dependency with internal SHA-1 API
Diffstat (limited to 'src/asdcp-util.cpp')
-rwxr-xr-xsrc/asdcp-util.cpp4
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);