Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
a040ea82
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a040ea82
编写于
2月 21, 1999
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Undo a couple of kludges.
上级
06ab81f9
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
35 addition
and
35 deletion
+35
-35
ssl/s2_lib.c
ssl/s2_lib.c
+5
-5
ssl/s3_lib.c
ssl/s3_lib.c
+21
-21
ssl/ssl.h
ssl/ssl.h
+1
-1
ssl/ssl_ciph.c
ssl/ssl_ciph.c
+3
-3
ssl/ssl_locl.h
ssl/ssl_locl.h
+5
-5
未找到文件。
ssl/s2_lib.c
浏览文件 @
a040ea82
...
...
@@ -97,7 +97,7 @@ SSL_CIPHER ssl2_ciphers[]={
1
,
SSL2_TXT_RC4_128_WITH_MD5
,
SSL2_CK_RC4_128_WITH_MD5
,
SSL_kRSA
|
SSL_aRSA
|
SSL_RC4
|
SSL_MD5
|
_
SSL_NOT_EXP
|
SSL_SSLV2
|
SSL_MEDIUM
,
SSL_kRSA
|
SSL_aRSA
|
SSL_RC4
|
SSL_MD5
|
SSL_NOT_EXP
|
SSL_SSLV2
|
SSL_MEDIUM
,
0
,
SSL_ALL_CIPHERS
,
},
...
...
@@ -115,7 +115,7 @@ SS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HA1
|
SSL_NOT_EXP
|
SSL_SSLV3
|
SSL_HIGH
,
0
,
SSL_ALL_CIPHERS
,
},
...
...
@@ -330,7 +330,7 @@ SSL_CIPHER ssl3_ciphers[]={
0
,
SSL3_TXT_FZA_DMS_NULL_SHA
,
SSL3_CK_FZA_DMS_NULL_SHA
,
SSL_kFZA
|
SSL_aFZA
|
SSL_eNULL
|
SSL_SHA1
|
_
SSL_NOT_EXP
|
SSL_SSLV3
,
SSL_kFZA
|
SSL_aFZA
|
SSL_eNULL
|
SSL_SHA1
|
SSL_NOT_EXP
|
SSL_SSLV3
,
0
,
SSL_ALL_CIPHERS
,
},
...
...
@@ -340,7 +340,7 @@ SSL_CIPHER ssl3_ciphers[]={
0
,
SSL3_TXT_FZA_DMS_FZA_SHA
,
SSL3_CK_FZA_DMS_FZA_SHA
,
SSL_kFZA
|
SSL_aFZA
|
SSL_eFZA
|
SSL_SHA1
|
_
SSL_NOT_EXP
|
SSL_SSLV3
,
SSL_kFZA
|
SSL_aFZA
|
SSL_eFZA
|
SSL_SHA1
|
SSL_NOT_EXP
|
SSL_SSLV3
,
0
,
SSL_ALL_CIPHERS
,
},
...
...
@@ -350,7 +350,7 @@ SSL_CIPHER ssl3_ciphers[]={
0
,
SSL3_TXT_FZA_DMS_RC4_SHA
,
SSL3_CK_FZA_DMS_RC4_SHA
,
SSL_kFZA
|
SSL_aFZA
|
SSL_RC4
|
SSL_SHA1
|
_
SSL_NOT_EXP
|
SSL_SSLV3
,
SSL_kFZA
|
SSL_aFZA
|
SSL_RC4
|
SSL_SHA1
|
SSL_NOT_EXP
|
SSL_SSLV3
,
0
,
SSL_ALL_CIPHERS
,
},
...
...
ssl/ssl.h
浏览文件 @
a040ea82
...
...
@@ -134,7 +134,7 @@ extern "C" {
#define SSL_TXT_SHA "SHA"
#define SSL_TXT_EXP40 "EXP"
#define SSL_TXT_EXPORT "EXPORT"
#define SSL_TXT_EXP56 "EXP56"
#define SSL_TXT_EXP56 "EXP
ORT
56"
#define SSL_TXT_SSLV2 "SSLv2"
#define SSL_TXT_SSLV3 "SSLv3"
#define SSL_TXT_TLSV1 "TLSv1"
...
...
ssl/ssl_ciph.c
浏览文件 @
a040ea82
...
...
@@ -144,9 +144,9 @@ static SSL_CIPHER cipher_aliases[]={
{
0
,
SSL_TXT_ADH
,
0
,
SSL_ADH
,
0
,
SSL_AUTH_MASK
|
SSL_MKEY_MASK
},
{
0
,
SSL_TXT_FZA
,
0
,
SSL_FZA
,
0
,
SSL_AUTH_MASK
|
SSL_MKEY_MASK
|
SSL_ENC_MASK
},
{
0
,
SSL_TXT_EXP40
,
0
,
SSL_EXP40
,
0
,
_
SSL_EXP_MASK
},
{
0
,
SSL_TXT_EXPORT
,
0
,
SSL_EXP40
,
0
,
_
SSL_EXP_MASK
},
{
0
,
SSL_TXT_EXP56
,
0
,
SSL_EXP56
,
0
,
_
SSL_EXP_MASK
},
{
0
,
SSL_TXT_EXP40
,
0
,
SSL_EXP40
,
0
,
SSL_EXP_MASK
},
{
0
,
SSL_TXT_EXPORT
,
0
,
SSL_EXP40
,
0
,
SSL_EXP_MASK
},
{
0
,
SSL_TXT_EXP56
,
0
,
SSL_EXP56
,
0
,
SSL_EXP_MASK
},
{
0
,
SSL_TXT_SSLV2
,
0
,
SSL_SSLV2
,
0
,
SSL_SSL_MASK
},
{
0
,
SSL_TXT_SSLV3
,
0
,
SSL_SSLV3
,
0
,
SSL_SSL_MASK
},
{
0
,
SSL_TXT_TLSV1
,
0
,
SSL_TLSV1
,
0
,
SSL_SSL_MASK
},
...
...
ssl/ssl_locl.h
浏览文件 @
a040ea82
...
...
@@ -191,13 +191,13 @@
#define SSL_SHA1 0x00040000L
#define SSL_SHA (SSL_SHA1)
#define
_
SSL_EXP_MASK 0x00300000L
#define SSL_EXP_MASK 0x00300000L
#define SSL_EXP40 0x00100000L
#define
_
SSL_NOT_EXP 0x00200000L
#define SSL_NOT_EXP 0x00200000L
#define SSL_EXP56 0x00300000L
#define SSL_IS_EXPORT(a) ((a)&SSL_EXP40)
#define SSL_IS_EXPORT56(a) (((a)&
_
SSL_EXP_MASK) == SSL_EXP56)
#define SSL_IS_EXPORT40(a) (((a)&
_
SSL_EXP_MASK) == SSL_EXP40)
#define SSL_IS_EXPORT56(a) (((a)&SSL_EXP_MASK) == SSL_EXP56)
#define SSL_IS_EXPORT40(a) (((a)&SSL_EXP_MASK) == SSL_EXP40)
#define SSL_C_IS_EXPORT(c) SSL_IS_EXPORT((c)->algorithms)
#define SSL_C_IS_EXPORT56(c) SSL_IS_EXPORT56((c)->algorithms)
#define SSL_C_IS_EXPORT40(c) SSL_IS_EXPORT40((c)->algorithms)
...
...
@@ -219,7 +219,7 @@
/* we have used 0fffffff - 4 bits left to go */
#define SSL_ALL 0xffffffffL
#define SSL_ALL_CIPHERS (SSL_MKEY_MASK|SSL_AUTH_MASK|SSL_ENC_MASK|\
SSL_MAC_MASK|
_
SSL_EXP_MASK)
SSL_MAC_MASK|SSL_EXP_MASK)
/* Mostly for SSLv3 */
#define SSL_PKEY_RSA_ENC 0
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录