Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
dbc8541b
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,发现更多精彩内容 >>
提交
dbc8541b
编写于
1月 13, 2016
作者:
V
Viktor Dukhovni
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
For stroimax need C99 inttypes.h
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
aa147792
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
20 deletion
+12
-20
apps/apps.h
apps/apps.h
+1
-1
apps/opt.c
apps/opt.c
+2
-2
include/openssl/e_os2.h
include/openssl/e_os2.h
+8
-16
include/openssl/ossl_typ.h
include/openssl/ossl_typ.h
+1
-1
未找到文件。
apps/apps.h
浏览文件 @
dbc8541b
...
...
@@ -385,7 +385,7 @@ 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(
INTMAX_MAX) && defined(UINTMAX_MAX)
#if defined(
__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
int
opt_imax
(
const
char
*
arg
,
intmax_t
*
result
);
int
opt_umax
(
const
char
*
arg
,
uintmax_t
*
result
);
#endif
...
...
apps/opt.c
浏览文件 @
dbc8541b
...
...
@@ -75,7 +75,7 @@ static const OPTIONS *unknown;
static
const
OPTIONS
*
opts
;
static
char
prog
[
40
];
#if !defined(
INTMAX_MAX) || !defined(UINTMAX_MAX)
#if !defined(
__STDC_VERSION__) || __STDC_VERSION__ < 199901L
#define opt_imax opt_long
#define opt_umax opt_ulong
#endif
...
...
@@ -397,7 +397,7 @@ int opt_long(const char *value, long *result)
return
1
;
}
#if defined(
INTMAX_MAX) && defined(UINTMAX_MAX)
#if defined(
__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* 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/e_os2.h
浏览文件 @
dbc8541b
...
...
@@ -53,11 +53,11 @@
*
*/
#include <openssl/opensslconf.h>
#ifndef HEADER_E_OS2_H
# define HEADER_E_OS2_H
# include <openssl/opensslconf.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
@@ -285,7 +285,9 @@ extern "C" {
# endif
/* Standard integer types */
# if defined(__osf__) || defined(__sgi) || defined(__hpux) || defined(OPENSSL_SYS_VMS)
# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L || \
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
defined(OPENSSL_SYS_VMS)
# include <inttypes.h>
# elif defined(OPENSSL_SYS_UEFI)
typedef
INT8
int8_t
;
...
...
@@ -314,21 +316,11 @@ typedef unsigned __int64 uint64_t;
# endif
/*
* We need a format operator for some client tools for uint64_t.
* This is an attempt at doing so in a portable manner.
* If we can't use a built-in definition, we'll revert to the previous
* behavior that was hard-coded but now causing compiler warnings on
* some systems (e.g. Mac OS X).
* We need a format operator for some client tools for uint64_t. If inttypes.h
* isn't available or did not define it, just go with hard-coded.
*/
# ifndef PRIu64
# ifdef __STDC_VERSION__
# if (__STDC_VERSION__ >= 199901L)
# include <inttypes.h>
# endif
# endif
# ifndef PRIu64
# define PRIu64 "lu"
# endif
# define PRIu64 "lu"
# endif
/* ossl_inline: portable inline definition usable in public headers */
...
...
include/openssl/ossl_typ.h
浏览文件 @
dbc8541b
...
...
@@ -201,7 +201,7 @@ 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(
INTMAX_MAX) && defined(UINTMAX_MAX)
#if defined(
__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录