Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
a006fef7
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
8
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,发现更多精彩内容 >>
提交
a006fef7
编写于
1月 19, 2013
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve WINCE support.
Submitted by: Pierre Delaage
上级
0e5cf7bc
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
32 addition
and
11 deletion
+32
-11
apps/apps.c
apps/apps.c
+1
-1
apps/apps.h
apps/apps.h
+1
-1
crypto/bio/bss_dgram.c
crypto/bio/bss_dgram.c
+2
-2
crypto/bio/bss_fd.c
crypto/bio/bss_fd.c
+18
-2
crypto/cryptlib.c
crypto/cryptlib.c
+2
-0
crypto/o_str.c
crypto/o_str.c
+1
-1
e_os.h
e_os.h
+4
-1
ssl/d1_lib.c
ssl/d1_lib.c
+2
-2
util/pl/VC-32.pl
util/pl/VC-32.pl
+1
-1
未找到文件。
apps/apps.c
浏览文件 @
a006fef7
...
...
@@ -118,7 +118,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if !defined(OPENSSL_SYSNAME_WIN32) && !defined(NETWARE_CLIB)
#if !defined(OPENSSL_SYSNAME_WIN32) && !defined(
OPENSSL_SYSNAME_WINCE) && !defined(
NETWARE_CLIB)
#include <strings.h>
#endif
#include <sys/types.h>
...
...
apps/apps.h
浏览文件 @
a006fef7
...
...
@@ -202,7 +202,7 @@ extern BIO *bio_err;
# endif
#endif
#if
def OPENSSL_SYSNAME_WIN32
#if
defined(OPENSSL_SYSNAME_WIN32) || defined(OPENSSL_SYSNAME_WINCE)
# define openssl_fdset(a,b) FD_SET((unsigned int)a, b)
#else
# define openssl_fdset(a,b) FD_SET(a, b)
...
...
crypto/bio/bss_dgram.c
浏览文件 @
a006fef7
...
...
@@ -66,7 +66,7 @@
#include <openssl/bio.h>
#ifndef OPENSSL_NO_DGRAM
#if defined(OPENSSL_SYS_
WIN32) || defined(OPENSSL_SYS_
VMS)
#if defined(OPENSSL_SYS_VMS)
#include <sys/timeb.h>
#endif
...
...
@@ -1895,7 +1895,7 @@ int BIO_dgram_non_fatal_error(int err)
static
void
get_current_time
(
struct
timeval
*
t
)
{
#if defined(
OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE
)
#if defined(
_WIN32
)
SYSTEMTIME
st
;
union
{
unsigned
__int64
ul
;
FILETIME
ft
;
}
now
;
...
...
crypto/bio/bss_fd.c
浏览文件 @
a006fef7
...
...
@@ -63,9 +63,25 @@
#if defined(OPENSSL_NO_POSIX_IO)
/*
* One can argue that one should implement dummy placeholder for
* BIO_s_fd here...
* Dummy placeholder for BIO_s_fd...
*/
BIO
*
BIO_new_fd
(
int
fd
,
int
close_flag
)
{
return
NULL
;
}
int
BIO_fd_non_fatal_error
(
int
err
)
{
return
0
;
}
int
BIO_fd_should_retry
(
int
i
)
{
return
0
;
}
BIO_METHOD
*
BIO_s_fd
(
void
)
{
return
NULL
;
}
#else
/*
* As for unconditional usage of "UPLINK" interface in this module.
...
...
crypto/cryptlib.c
浏览文件 @
a006fef7
...
...
@@ -387,7 +387,9 @@ void OpenSSLDie(const char *file,int line,const char *assertion)
abort
();
#else
/* Win32 abort() customarily shows a dialog, but we just did that... */
#if !defined(_WIN32_WCE)
raise
(
SIGABRT
);
#endif
_exit
(
3
);
#endif
}
...
...
crypto/o_str.c
浏览文件 @
a006fef7
...
...
@@ -61,7 +61,7 @@
#include "o_str.h"
#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && \
!defined(OPENSSL_SYSNAME_WIN32) && \
!defined(OPENSSL_SYSNAME_WIN32) &&
!defined(OPENSSL_SYSNAME_WINCE) &&
\
!defined(NETWARE_CLIB)
# include <strings.h>
#endif
...
...
e_os.h
浏览文件 @
a006fef7
...
...
@@ -270,7 +270,7 @@ extern "C" {
*/
# define _WIN32_WINNT 0x0400
# endif
# if !defined(OPENSSL_NO_SOCK) &&
defined(_WIN32_WINNT
)
# if !defined(OPENSSL_NO_SOCK) &&
(defined(_WIN32_WINNT) || defined(_WIN32_WCE)
)
/*
* Just like defining _WIN32_WINNT including winsock2.h implies
* certain "discipline" for maintaining [broad] binary compatibility.
...
...
@@ -286,6 +286,9 @@ extern "C" {
# include <stdio.h>
# include <stddef.h>
# include <errno.h>
# if defined(_WIN32_WCE) && !defined(EACCES)
# define EACCES 13
# endif
# include <string.h>
# ifdef _WIN64
# define strlen(s) _strlen31(s)
...
...
ssl/d1_lib.c
浏览文件 @
a006fef7
...
...
@@ -62,7 +62,7 @@
#include <openssl/objects.h>
#include "ssl_locl.h"
#if defined(OPENSSL_SYS_
WIN32) || defined(OPENSSL_SYS_
VMS)
#if defined(OPENSSL_SYS_VMS)
#include <sys/timeb.h>
#endif
...
...
@@ -452,7 +452,7 @@ int dtls1_handle_timeout(SSL *s)
static
void
get_current_time
(
struct
timeval
*
t
)
{
#if defined(
OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE
)
#if defined(
_WIN32
)
SYSTEMTIME
st
;
union
{
unsigned
__int64
ul
;
FILETIME
ft
;
}
now
;
...
...
util/pl/VC-32.pl
浏览文件 @
a006fef7
...
...
@@ -126,7 +126,7 @@ elsif ($FLAVOR =~ /CE/)
$base_cflags
.=
"
$wcecdefs
";
$base_cflags
.=
'
-I$(WCECOMPAT)/include
'
if
(
defined
(
$ENV
{'
WCECOMPAT
'}));
$base_cflags
.=
'
-I$(PORTSDK_LIBPATH)/../../include
'
if
(
defined
(
$ENV
{'
PORTSDK_LIBPATH
'}));
if
(
$cc
=~
/\bcl(\.exe)*$/
)
{
if
(
`
$cc
2>&1
`
=~
/Version ([0-9]+)\./
&&
$
1
>=
14
)
{
$base_cflags
.=
(
$shlib
and
!
$fipscanisterbuild
)?'
/MD
':'
/MT
';
}
else
{
$base_cflags
.=
'
/MC
';
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录