Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
2c90015c
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2c90015c
编写于
2月 13, 2016
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make sure the OPENSSL_INIT flags are 32 bits and document the ssl range
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
0340edcf
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
21 addition
and
19 deletion
+21
-19
include/openssl/crypto.h
include/openssl/crypto.h
+18
-17
include/openssl/ssl.h
include/openssl/ssl.h
+3
-2
未找到文件。
include/openssl/crypto.h
浏览文件 @
2c90015c
...
...
@@ -549,23 +549,24 @@ int CRYPTO_memcmp(const volatile void * volatile in_a,
size_t
len
);
/* Standard initialisation options */
# define OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS 0x000001
# define OPENSSL_INIT_LOAD_CRYPTO_STRINGS 0x000002
# define OPENSSL_INIT_ADD_ALL_CIPHERS 0x000004
# define OPENSSL_INIT_ADD_ALL_DIGESTS 0x000008
# define OPENSSL_INIT_NO_ADD_ALL_CIPHERS 0x000010
# define OPENSSL_INIT_NO_ADD_ALL_DIGESTS 0x000020
# define OPENSSL_INIT_LOAD_CONFIG 0x000040
# define OPENSSL_INIT_NO_LOAD_CONFIG 0x000080
# define OPENSSL_INIT_ASYNC 0x000100
# define OPENSSL_INIT_ENGINE_RDRAND 0x000200
# define OPENSSL_INIT_ENGINE_DYNAMIC 0x000400
# define OPENSSL_INIT_ENGINE_OPENSSL 0x000800
# define OPENSSL_INIT_ENGINE_CRYPTODEV 0x001000
# define OPENSSL_INIT_ENGINE_CAPI 0x002000
# define OPENSSL_INIT_ENGINE_PADLOCK 0x004000
# define OPENSSL_INIT_ENGINE_DASYNC 0x008000
/* OPENSSL_INIT flag 0x010000 reserved for internal use */
# define OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS 0x00000001L
# define OPENSSL_INIT_LOAD_CRYPTO_STRINGS 0x00000002L
# define OPENSSL_INIT_ADD_ALL_CIPHERS 0x00000004L
# define OPENSSL_INIT_ADD_ALL_DIGESTS 0x00000008L
# define OPENSSL_INIT_NO_ADD_ALL_CIPHERS 0x00000010L
# define OPENSSL_INIT_NO_ADD_ALL_DIGESTS 0x00000020L
# define OPENSSL_INIT_LOAD_CONFIG 0x00000040L
# define OPENSSL_INIT_NO_LOAD_CONFIG 0x00000080L
# define OPENSSL_INIT_ASYNC 0x00000100L
# define OPENSSL_INIT_ENGINE_RDRAND 0x00000200L
# define OPENSSL_INIT_ENGINE_DYNAMIC 0x00000400L
# define OPENSSL_INIT_ENGINE_OPENSSL 0x00000800L
# define OPENSSL_INIT_ENGINE_CRYPTODEV 0x00001000L
# define OPENSSL_INIT_ENGINE_CAPI 0x00002000L
# define OPENSSL_INIT_ENGINE_PADLOCK 0x00004000L
# define OPENSSL_INIT_ENGINE_DASYNC 0x00008000L
/* OPENSSL_INIT flag 0x00010000 reserved for internal use */
/* OPENSSL_INIT flag range 0xfff00000 reserved for OPENSSL_init_ssl() */
/* Max OPENSSL_INIT flag value is 0x80000000 */
/* openssl and dasync not counted as builtin */
...
...
include/openssl/ssl.h
浏览文件 @
2c90015c
...
...
@@ -1934,8 +1934,9 @@ int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (SSL *s,
void
SSL_CTX_set0_security_ex_data
(
SSL_CTX
*
ctx
,
void
*
ex
);
__owur
void
*
SSL_CTX_get0_security_ex_data
(
const
SSL_CTX
*
ctx
);
#define OPENSSL_INIT_NO_LOAD_SSL_STRINGS 0x0100000000
#define OPENSSL_INIT_LOAD_SSL_STRINGS 0x0200000000
/* OPENSSL_INIT flag 0x010000 reserved for internal use */
#define OPENSSL_INIT_NO_LOAD_SSL_STRINGS 0x00100000L
#define OPENSSL_INIT_LOAD_SSL_STRINGS 0x00200000L
#define OPENSSL_INIT_SSL_DEFAULT \
(OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录