1 Star 0 Fork 25

huanghaitao/libreswan

forked from src-openEuler/libreswan 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0002-fix-pluto-abort.patch 801 Bytes
一键复制 编辑 原始数据 按行查看 历史
sigui 提交于 2020-09-15 20:26 . Fix pluto abort
From 4c08ae4152c6dbd9ecc7126c2e32468dcf1a6589 Mon Sep 17 00:00:00 2001
From: si-gui <[email protected]>
Date: Tue, 15 Sep 2020 20:19:26 +0800
Subject: [PATCH] fix libselinux deprecated
Signed-off-by: si-gui <[email protected]>
---
programs/pluto/ike_alg_encrypt_nss_gcm_ops.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/programs/pluto/ike_alg_encrypt_nss_gcm_ops.c b/programs/pluto/ike_alg_encrypt_nss_gcm_ops.c
index 4352645..4143186 100644
--- a/programs/pluto/ike_alg_encrypt_nss_gcm_ops.c
+++ b/programs/pluto/ike_alg_encrypt_nss_gcm_ops.c
@@ -17,6 +17,13 @@
#include <libreswan.h>
+/*
+ *Special advise from Bob Relyea - needs to go before any nss include
+ *
+ */
+
+#define NSS_PKCS11_2_0_COMPAT 1
+
#include "lswlog.h"
#include "lswnss.h"
#include "prmem.h"
--
2.23.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hht8/libreswan.git
[email protected]:hht8/libreswan.git
hht8
libreswan
libreswan
master

搜索帮助