Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
19bd66fe
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看板
提交
19bd66fe
编写于
8月 03, 2005
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
WCE update, mostly typos.
上级
45771abb
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
10 deletion
+15
-10
crypto/cryptlib.c
crypto/cryptlib.c
+2
-2
crypto/dso/dso_win32.c
crypto/dso/dso_win32.c
+2
-2
crypto/md2/md2test.c
crypto/md2/md2test.c
+1
-0
crypto/rand/rand_win.c
crypto/rand/rand_win.c
+3
-1
ssl/ssltest.c
ssl/ssltest.c
+1
-0
util/pl/VC-32.pl
util/pl/VC-32.pl
+6
-5
未找到文件。
crypto/cryptlib.c
浏览文件 @
19bd66fe
...
...
@@ -669,9 +669,9 @@ void OPENSSL_showfatal (const char *fmta,...)
{
va_list
ap
;
TCHAR
buf
[
256
];
const
TCHAR
*
fmt
;
#ifdef STD_ERROR_HANDLE
/* what a dirty trick! */
HANDLE
h
;
#ifdef STD_ERROR_HANDLE
/* what a dirty trick! */
if
((
h
=
GetStdHandle
(
STD_ERROR_HANDLE
))
!=
NULL
&&
GetFileType
(
h
)
!=
FILE_TYPE_UNKNOWN
)
{
/* must be console application */
...
...
@@ -734,7 +734,7 @@ void OPENSSL_showfatal (const char *fmta,...)
}
else
#endif
MessageBox
(
NULL
,
buf
,
_T
(
"OpenSSL: FATAL"
),
MB_OK
|
MB_ICONSTOP
|
MB_TASKMODAL
);
MessageBox
(
NULL
,
buf
,
_T
(
"OpenSSL: FATAL"
),
MB_OK
|
MB_ICONSTOP
);
}
#else
void
OPENSSL_showfatal
(
const
char
*
fmta
,...)
...
...
crypto/dso/dso_win32.c
浏览文件 @
19bd66fe
...
...
@@ -86,13 +86,13 @@ static FARPROC GetProcAddressA(HMODULE hModule,LPCSTR lpProcName)
# undef GetProcAddress
# define GetProcAddress GetProcAddressA
static
HINSTANCE
LoadLibraryA
(
LPCSTR
*
lpLibFileName
)
static
HINSTANCE
LoadLibraryA
(
LPCSTR
lpLibFileName
)
{
WCHAR
*
fnamw
;
size_t
len_0
=
strlen
(
lpLibFileName
)
+
1
,
i
;
#ifdef _MSC_VER
fnam
e
=
(
WCHAR
*
)
_alloca
(
len_0
*
sizeof
(
WCHAR
));
fnam
w
=
(
WCHAR
*
)
_alloca
(
len_0
*
sizeof
(
WCHAR
));
#else
fnamw
=
(
WCHAR
*
)
alloca
(
len_0
*
sizeof
(
WCHAR
));
#endif
...
...
crypto/md2/md2test.c
浏览文件 @
19bd66fe
...
...
@@ -128,6 +128,7 @@ int main(int argc, char *argv[])
if
(
err
)
printf
(
"ERROR: %d
\n
"
,
err
);
#endif
EXIT
(
err
);
return
err
;
}
static
char
*
pt
(
unsigned
char
*
md
)
...
...
crypto/rand/rand_win.c
浏览文件 @
19bd66fe
...
...
@@ -205,7 +205,9 @@ int RAND_poll(void)
GetVersionEx
(
&
osverinfo
)
;
#if defined(OPENSSL_SYS_WINCE)
# if defined(_WIN32_WCE) && _WIN32_WCE>=210
# if defined(_WIN32_WCE) && _WIN32_WCE>=300
/* Even though MSDN says _WIN32_WCE>=210, it doesn't seem to be available
* in commonly available implementations prior 300... */
# ifndef CryptAcquireContext
/* reserve for broken header... */
# define CryptAcquireContext CryptAcquireContextW
...
...
ssl/ssltest.c
浏览文件 @
19bd66fe
...
...
@@ -893,6 +893,7 @@ end:
CRYPTO_mem_leaks
(
bio_err
);
if
(
bio_err
!=
NULL
)
BIO_free
(
bio_err
);
EXIT
(
ret
);
return
ret
;
}
int
doit_biopair
(
SSL
*
s_ssl
,
SSL
*
c_ssl
,
long
count
,
...
...
util/pl/VC-32.pl
浏览文件 @
19bd66fe
...
...
@@ -48,15 +48,15 @@ elsif ($FLAVOR =~ /CE/)
$wcetgt
=
$ENV
{'
TARGETCPU
'};
# just shorter name...
SWITCH:
for
(
$wcetgt
)
{
/^X86/
&&
do
{
$wcecdefs
.=
"
-Dx86 -D_X86_
";
$wcelflag
.=
"
/machine:X86
";
last
;
}
$wcelflag
.=
"
/machine:X86
";
last
;
}
;
/^ARM/
&&
do
{
$wcecdefs
.=
"
-DARM -D_ARM_
";
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
;
/^R4[0-9]{3}/
&&
do
{
$wcecdefs
.=
"
-DMIPS -D_MIPS_ -DMIPS_R4000
";
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
$wcelflag
.=
"
/machine:
MIPS
";
last
;
};
/^SH[0-9]/
&&
do
{
$wcecdefs
.=
"
-D
$wcetgt
-D_
$wcetgt_
-DSHx
";
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
;
{
$wcecdefs
.=
"
-D
$wcetgt
-D_
$wcetgt_
";
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
$wcelflag
.=
"
/machine:
$wcetgt
";
last
;
}
;
}
$cc
=
'
$(CC)
';
...
...
@@ -64,6 +64,7 @@ elsif ($FLAVOR =~ /CE/)
$base_cflags
.=
"
$wcecdefs
";
$base_cflags
.=
"
-Qsh4
"
if
(
$wcetgt
=~
/^SH4/
);
$opt_cflags
=
'
/MC /O1i
';
# optimize for space, but with intrinsics...
$opt_cflags
.=
'
/wd4959
';
# disable "too large to optimize" warning...
$dbg_clfags
=
'
/MC /Od -DDEBUG -D_DEBUG
';
$lflags
=
"
/nologo /opt:ref
$wcelflag
";
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录