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/ST2052_TextParser.cpp | |
| parent | d9757786bb5a2d7a6cc9bce7cfb1a8b52d6391cf (diff) | |
replaced openssl dependency with internal SHA-1 API
Diffstat (limited to 'src/ST2052_TextParser.cpp')
| -rw-r--r-- | src/ST2052_TextParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ST2052_TextParser.cpp b/src/ST2052_TextParser.cpp index 305f46f..75c0e86 100644 --- a/src/ST2052_TextParser.cpp +++ b/src/ST2052_TextParser.cpp @@ -31,7 +31,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "AS_02_internal.h" #include "KM_xml.h" -#include <openssl/sha.h> +#include "KM_sha1.h" using namespace Kumu; using namespace ASDCP; @@ -66,7 +66,7 @@ static byte_t s_font_id_prefix[NS_ID_LENGTH] = { static Kumu::UUID create_4122_type5_id(const std::string& subject_name, const byte_t* ns_id) { - SHA_CTX ctx; + SHA1_CTX ctx; SHA1_Init(&ctx); SHA1_Update(&ctx, ns_id, NS_ID_LENGTH); SHA1_Update(&ctx, (byte_t*)subject_name.c_str(), subject_name.size()); |
