Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
d94a1a70
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,发现更多精彩内容 >>
提交
d94a1a70
编写于
1月 13, 2016
作者:
V
Viktor Dukhovni
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
For stro[ui]max require both C99 and UINTMAX_MAX/INTMAX_MAX
Reviewed-by:
N
Richard Levitte
<
levitte@openssl.org
>
上级
6b95a378
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
5 deletion
+8
-5
apps/apps.h
apps/apps.h
+2
-1
apps/opt.c
apps/opt.c
+4
-2
include/openssl/ossl_typ.h
include/openssl/ossl_typ.h
+2
-2
未找到文件。
apps/apps.h
浏览文件 @
d94a1a70
...
...
@@ -385,7 +385,8 @@ int opt_format(const char *s, unsigned long flags, int *result);
int
opt_int
(
const
char
*
arg
,
int
*
result
);
int
opt_ulong
(
const
char
*
arg
,
unsigned
long
*
result
);
int
opt_long
(
const
char
*
arg
,
long
*
result
);
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
defined(INTMAX_MAX) && defined(UINTMAX_MAX)
int
opt_imax
(
const
char
*
arg
,
intmax_t
*
result
);
int
opt_umax
(
const
char
*
arg
,
uintmax_t
*
result
);
#endif
...
...
apps/opt.c
浏览文件 @
d94a1a70
...
...
@@ -75,7 +75,8 @@ static const OPTIONS *unknown;
static
const
OPTIONS
*
opts
;
static
char
prog
[
40
];
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L || \
!defined(INTMAX_MAX) && !defined(UINTMAX_MAX)
#define opt_imax opt_long
#define opt_umax opt_ulong
#endif
...
...
@@ -397,7 +398,8 @@ int opt_long(const char *value, long *result)
return
1
;
}
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
defined(INTMAX_MAX) && defined(UINTMAX_MAX)
/* Parse an intmax_t, put it into *result; return 0 on failure, else 1. */
int
opt_imax
(
const
char
*
value
,
intmax_t
*
result
)
...
...
include/openssl/ossl_typ.h
浏览文件 @
d94a1a70
...
...
@@ -201,8 +201,8 @@ typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;
typedef
struct
ocsp_response_st
OCSP_RESPONSE
;
typedef
struct
ocsp_responder_id_st
OCSP_RESPID
;
#if
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
\
&& !defined(OPENSSL_SYS_VMS
)
#if
defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L &&
\
defined(INTMAX_MAX) && defined(UINTMAX_MAX
)
typedef
intmax_t
ossl_intmax_t
;
typedef
uintmax_t
ossl_uintmax_t
;
#else
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录