Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
89d6aa10
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
89d6aa10
编写于
1月 11, 2016
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use ossl_inline and DEFINE_LHASH_OF
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
26a884c2
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
28 addition
and
28 deletion
+28
-28
apps/progs.h
apps/progs.h
+1
-1
apps/progs.pl
apps/progs.pl
+1
-1
crypto/engine/eng_int.h
crypto/engine/eng_int.h
+1
-1
crypto/err/err_lcl.h
crypto/err/err_lcl.h
+1
-1
crypto/include/internal/cryptlib.h
crypto/include/internal/cryptlib.h
+2
-2
crypto/objects/obj_lcl.h
crypto/objects/obj_lcl.h
+2
-2
include/openssl/conf.h
include/openssl/conf.h
+1
-1
include/openssl/err.h
include/openssl/err.h
+1
-1
include/openssl/lhash.h
include/openssl/lhash.h
+17
-17
ssl/ssl_locl.h
ssl/ssl_locl.h
+1
-1
未找到文件。
apps/progs.h
浏览文件 @
89d6aa10
...
...
@@ -16,7 +16,7 @@ typedef struct function_st {
const
OPTIONS
*
help
;
}
FUNCTION
;
DE
CLAR
E_LHASH_OF
(
FUNCTION
);
DE
FIN
E_LHASH_OF
(
FUNCTION
);
extern
int
asn1parse_main
(
int
argc
,
char
*
argv
[]);
extern
int
ca_main
(
int
argc
,
char
*
argv
[]);
...
...
apps/progs.pl
浏览文件 @
89d6aa10
...
...
@@ -20,7 +20,7 @@ typedef struct function_st {
const OPTIONS *help;
} FUNCTION;
DE
CLAR
E_LHASH_OF(FUNCTION);
DE
FIN
E_LHASH_OF(FUNCTION);
EOF
...
...
crypto/engine/eng_int.h
浏览文件 @
89d6aa10
...
...
@@ -218,7 +218,7 @@ struct engine_st {
typedef
struct
st_engine_pile
ENGINE_PILE
;
DE
CLAR
E_LHASH_OF
(
ENGINE_PILE
);
DE
FIN
E_LHASH_OF
(
ENGINE_PILE
);
#ifdef __cplusplus
}
...
...
crypto/err/err_lcl.h
浏览文件 @
89d6aa10
DE
CLAR
E_LHASH_OF
(
ERR_STATE
);
DE
FIN
E_LHASH_OF
(
ERR_STATE
);
crypto/include/internal/cryptlib.h
浏览文件 @
89d6aa10
...
...
@@ -86,9 +86,9 @@ DEFINE_STACK_OF(EX_CALLBACK)
DEFINE_STACK_OF
(
CRYPTO_dynlock
)
typedef
struct
app_mem_info_st
APP_INFO
;
DE
CLAR
E_LHASH_OF
(
APP_INFO
);
DE
FIN
E_LHASH_OF
(
APP_INFO
);
typedef
struct
mem_st
MEM
;
DE
CLAR
E_LHASH_OF
(
MEM
);
DE
FIN
E_LHASH_OF
(
MEM
);
# ifndef OPENSSL_SYS_VMS
# define X509_CERT_AREA OPENSSLDIR
...
...
crypto/objects/obj_lcl.h
浏览文件 @
89d6aa10
...
...
@@ -2,6 +2,6 @@
typedef
struct
name_funcs_st
NAME_FUNCS
;
DEFINE_STACK_OF
(
NAME_FUNCS
)
DE
CLAR
E_LHASH_OF
(
OBJ_NAME
);
DE
FIN
E_LHASH_OF
(
OBJ_NAME
);
typedef
struct
added_obj_st
ADDED_OBJ
;
DE
CLAR
E_LHASH_OF
(
ADDED_OBJ
);
DE
FIN
E_LHASH_OF
(
ADDED_OBJ
);
include/openssl/conf.h
浏览文件 @
89d6aa10
...
...
@@ -78,7 +78,7 @@ typedef struct {
}
CONF_VALUE
;
DEFINE_STACK_OF
(
CONF_VALUE
)
DE
CLAR
E_LHASH_OF
(
CONF_VALUE
);
DE
FIN
E_LHASH_OF
(
CONF_VALUE
);
struct
conf_st
;
struct
conf_method_st
;
...
...
include/openssl/err.h
浏览文件 @
89d6aa10
...
...
@@ -315,7 +315,7 @@ typedef struct ERR_string_data_st {
const
char
*
string
;
}
ERR_STRING_DATA
;
DE
CLAR
E_LHASH_OF
(
ERR_STRING_DATA
);
DE
FIN
E_LHASH_OF
(
ERR_STRING_DATA
);
void
ERR_put_error
(
int
lib
,
int
func
,
int
reason
,
const
char
*
file
,
int
line
);
void
ERR_set_error_data
(
char
*
data
,
int
flags
);
...
...
include/openssl/lhash.h
浏览文件 @
89d6aa10
...
...
@@ -184,60 +184,60 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out);
# define LHASH_OF(type) struct lhash_st_##type
# define DE
CLAR
E_LHASH_OF(type) \
# define DE
FIN
E_LHASH_OF(type) \
LHASH_OF(type) { int dummy; }; \
static inline LHASH_OF(type) * \
static
ossl_
inline LHASH_OF(type) * \
lh_##type##_new(unsigned long (*hfn)(const type *), \
int (*cfn)(const type *, const type *)) \
{ \
return (LHASH_OF(type) *) \
lh_new((LHASH_HASH_FN_TYPE) hfn, (LHASH_COMP_FN_TYPE)cfn); \
} \
static inline void lh_##type##_free(LHASH_OF(type) *lh) \
static
ossl_
inline void lh_##type##_free(LHASH_OF(type) *lh) \
{ \
lh_free((_LHASH *)lh); \
} \
static inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
static
ossl_
inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
{ \
return lh_insert((_LHASH *)lh, d); \
} \
static inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
static
ossl_
inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
{ \
return lh_delete((_LHASH *)lh, d); \
} \
static inline type *lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
static
ossl_
inline type *lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
{ \
return lh_retrieve((_LHASH *)lh, d); \
} \
static inline int lh_##type##_error(LHASH_OF(type) *lh) \
static
ossl_
inline int lh_##type##_error(LHASH_OF(type) *lh) \
{ \
return lh_error((_LHASH *)lh); \
} \
static inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \
static
ossl_
inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \
{ \
return lh_num_items((_LHASH *)lh); \
} \
static inline void lh_##type##_node_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
static
ossl_
inline void lh_##type##_node_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
{ \
lh_node_stats_bio((_LHASH *)lh, out); \
} \
static inline void lh_##type##_node_usage_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
static
ossl_
inline void lh_##type##_node_usage_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
{ \
lh_node_usage_stats_bio((_LHASH *)lh, out); \
} \
static inline void lh_##type##_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
static
ossl_
inline void lh_##type##_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
{ \
lh_stats_bio((_LHASH *)lh, out); \
} \
static inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \
static
ossl_
inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \
{ \
return lh_get_down_load((_LHASH *)lh); \
} \
static inline void lh_##type##_set_down_load(LHASH_OF(type) *lh, unsigned long dl) \
static
ossl_
inline void lh_##type##_set_down_load(LHASH_OF(type) *lh, unsigned long dl) \
{ \
lh_set_down_load((_LHASH *)lh, dl); \
} \
static inline void lh_##type##_doall(LHASH_OF(type) *lh, \
static
ossl_
inline void lh_##type##_doall(LHASH_OF(type) *lh, \
void (*doall)(type *)) \
{ \
lh_doall((_LHASH *)lh, (LHASH_DOALL_FN_TYPE)doall); \
...
...
@@ -251,7 +251,7 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out);
int_implement_lhash_doall(type, argtype, type)
#define int_implement_lhash_doall(type, argtype, cbargtype) \
static inline void \
static
ossl_
inline void \
lh_##type##_doall_##argtype(LHASH_OF(type) *lh, \
void (*fn)(cbargtype *, argtype *), \
argtype *arg) \
...
...
@@ -267,8 +267,8 @@ void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out);
# define LHM_lh_doall_arg(type, lh, fn, arg_type, arg) \
lh_doall_arg(CHECKED_LHASH_OF(type, lh), fn, CHECKED_PTR_OF(arg_type, arg))
DE
CLAR
E_LHASH_OF
(
OPENSSL_STRING
);
DE
CLAR
E_LHASH_OF
(
OPENSSL_CSTRING
);
DE
FIN
E_LHASH_OF
(
OPENSSL_STRING
);
DE
FIN
E_LHASH_OF
(
OPENSSL_CSTRING
);
#ifdef __cplusplus
}
...
...
ssl/ssl_locl.h
浏览文件 @
89d6aa10
...
...
@@ -694,7 +694,7 @@ struct ssl_comp_st {
};
DEFINE_STACK_OF
(
SSL_COMP
)
DE
CLAR
E_LHASH_OF
(
SSL_SESSION
);
DE
FIN
E_LHASH_OF
(
SSL_SESSION
);
struct
ssl_ctx_st
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录