Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
4f7068c1
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,发现更多精彩内容 >>
提交
4f7068c1
编写于
9月 09, 2000
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix some CygWin problems.
上级
b144a5e9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
7 deletion
+6
-7
crypto/asn1/a_time.c
crypto/asn1/a_time.c
+1
-3
crypto/asn1/a_utctm.c
crypto/asn1/a_utctm.c
+4
-3
crypto/des/read_pwd.c
crypto/des/read_pwd.c
+1
-1
未找到文件。
crypto/asn1/a_time.c
浏览文件 @
4f7068c1
...
...
@@ -113,11 +113,9 @@ ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, unsigned char **pp, long length)
ASN1_TIME
*
ASN1_TIME_set
(
ASN1_TIME
*
s
,
time_t
t
)
{
struct
tm
*
ts
;
#if defined(THREADS) && !defined(WIN32)
#if defined(THREADS) && !defined(WIN32)
&& !defined(__CYGWIN32__)
struct
tm
data
;
#endif
#if defined(THREADS) && !defined(WIN32)
gmtime_r
(
&
t
,
&
data
);
ts
=&
data
;
/* should return &data, but doesn't on some systems, so we don't even look at the return value */
#else
...
...
crypto/asn1/a_utctm.c
浏览文件 @
4f7068c1
...
...
@@ -193,7 +193,8 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
{
char
*
p
;
struct
tm
*
ts
;
#if defined(THREADS) && !defined(WIN32)
#if defined(THREADS) && !defined(WIN32) && !defined(__CYGWIN32__)
struct
tm
data
;
#endif
...
...
@@ -202,7 +203,7 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
if
(
s
==
NULL
)
return
(
NULL
);
#if defined(THREADS) && !defined(WIN32)
#if defined(THREADS) && !defined(WIN32)
&& !defined(__CYGWIN32__)
gmtime_r
(
&
t
,
&
data
);
/* should return &data, but doesn't on some systems, so we don't even look at the return value */
ts
=&
data
;
#else
...
...
@@ -285,7 +286,7 @@ int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t)
t
-=
offset
*
60
;
/* FIXME: may overflow in extreme cases */
#if defined(THREADS) && !defined(WIN32)
#if defined(THREADS) && !defined(WIN32)
&& !defined(__CYGWIN32__)
{
struct
tm
data
;
gmtime_r
(
&
t
,
&
data
);
tm
=
&
data
;
}
#else
tm
=
gmtime
(
&
t
);
...
...
crypto/des/read_pwd.c
浏览文件 @
4f7068c1
...
...
@@ -161,7 +161,7 @@
#include <sys/ioctl.h>
#endif
#if
def MSDOS
#if
defined(MSDOS) && !defined(__CYGWIN32__)
#include <conio.h>
#define fgets(a,b,c) noecho_fgets(a,b,c)
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录