GMOpenSSL
GMOpenSSL copied to clipboard
openssl 1.1.1u 的 framework 版本,发布至 cocoapods,方便集成。
openssl push the 3.0.5 update with privacy manifest in it [here]( https://github.com/krzyzanowskim/OpenSSL/pull/195), we need to support privacy Manifest file
``` + (int)listAllSupportedECCurve { @autoreleasepool { // Initialize OpenSSL OPENSSL_init_crypto(0, NULL); size_t num_curves = EC_get_builtin_curves(NULL, 0); if (num_curves == 0) { fprintf(stderr, "Error getting built-in curves\n"); return 1; } EC_builtin_curve...
如题,目前使用pod来安装GMOpenSSL, 报错:[!] The platform of the target `watch Watch App` (watchOS 7.0) is not compatible with `GMOpenSSL (3.0.0)`, which does not support `watchOS`. 请问如何能解决呢?期待您的回复
framwork的形式在制作模块化的时候总是会报符号冲突,能否支持.a呢?
1. 工具类依赖 OpenSSL,可通过`pod GMOpenSSL`安装 OpenSSL,或者下载 [openssl.framework](https://github.com/muzipiao/GMOpenSSL),找到`GMOpenSSL/openssl.framework`,拖入项目即可。 2. 如果需要自编译 OpenSSL,在 [GMOpenSSL](https://github.com/muzipiao/GMOpenSSL) 项目目录下有一个`OpenSSL_BUILD`文件夹,终端 cd 切换到该目录下,先执行`./build-libssl.sh`命令编译生成 .a 文件,等待结束后再执行`./create-openssl-framework.sh`命令打包为 framework,这时该目录下就出现了 openssl.framework。 3. 打包完成的静态库并未暴露国密的头文件,打开下载的源码,将 crypto/include/internal 路径下的 sm2.h、sm3.h,sm4.h 都拖到 openssl.framework/Headers 文件夹下即可。 crypto/include/internal 这个文件在那里怎么没看到...
自定义编译失败
error: cannot compute path of binary 'Path(str: "xxx/iphoneos/OpenSSL.framework/OpenSSL")' relative to that of 'xxx/iphoneos/OpenSSL.framework'