From efdaa06c81843fade18f8eccd54b199143d1d439 Mon Sep 17 00:00:00 2001 From: "Lvv.me" Date: Sat, 25 Dec 2021 22:55:36 +0800 Subject: [PATCH] Using `libtomcrypt` as module name --- demos/tomcrypt_tests.swift | 2 +- modulemap/module.modulemap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/tomcrypt_tests.swift b/demos/tomcrypt_tests.swift index 6de7edd7..7bb6588c 100644 --- a/demos/tomcrypt_tests.swift +++ b/demos/tomcrypt_tests.swift @@ -1,5 +1,5 @@ import XCTest -import TomCrypt +import libtomcrypt /* These are test keys [see file test.key] that I use to test my import/export against */ var openssl_private_rsa: [UInt8] = [ diff --git a/modulemap/module.modulemap b/modulemap/module.modulemap index a6100bc6..bff1da9c 100644 --- a/modulemap/module.modulemap +++ b/modulemap/module.modulemap @@ -1,4 +1,4 @@ -module TomCrypt [extern_c] { +module libtomcrypt [extern_c] { header "../src/headers/tomcrypt.h" export * }