Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
02a00bb0
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
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看板
提交
02a00bb0
编写于
1月 04, 2005
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
DJGPP update.
PR: 989 Submitted by: Doug Kaufman
上级
3b4de6e4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
16 addition
and
5 deletion
+16
-5
Configure
Configure
+1
-2
TABLE
TABLE
+1
-1
apps/s_client.c
apps/s_client.c
+7
-0
apps/s_socket.c
apps/s_socket.c
+0
-1
crypto/rand/rand_unix.c
crypto/rand/rand_unix.c
+7
-1
未找到文件。
Configure
浏览文件 @
02a00bb0
...
@@ -502,7 +502,7 @@ my %table=(
...
@@ -502,7 +502,7 @@ my %table=(
"netware-libc-gcc", "i586-netware-gcc:-nostdinc -I/ndk/libc/include -I/ndk/libc/include/winsock -DL_ENDIAN -DNETWARE_LIBC -DOPENSSL_SYSNAME_NETWARE -DTERMIO -O2 -Wall::::${x86_gcc_opts}:::",
"netware-libc-gcc", "i586-netware-gcc:-nostdinc -I/ndk/libc/include -I/ndk/libc/include/winsock -DL_ENDIAN -DNETWARE_LIBC -DOPENSSL_SYSNAME_NETWARE -DTERMIO -O2 -Wall::::${x86_gcc_opts}:::",
# DJGPP
# DJGPP
"DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall:::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:",
"DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall
-DDEVRANDOM=\"/dev/urandom\\x24\"
:::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:",
# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
"ultrix-cc","cc:-std1 -O -Olimit 2500 -DL_ENDIAN::(unknown):::::::",
"ultrix-cc","cc:-std1 -O -Olimit 2500 -DL_ENDIAN::(unknown):::::::",
...
@@ -1540,7 +1540,6 @@ EOF
...
@@ -1540,7 +1540,6 @@ EOF
} else {
} else {
# No path for Perl known ...
# No path for Perl known ...
&dofile("tools/c_rehash",'/usr/local/bin/perl','^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";');
&dofile("tools/c_rehash",'/usr/local/bin/perl','^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";');
&dofile("apps/der_chop",'/usr/local/bin/perl','^#!/', '#!%s');
&dofile("apps/CA.pl",'/usr/local/bin/perl','^#!/', '#!%s');
&dofile("apps/CA.pl",'/usr/local/bin/perl','^#!/', '#!%s');
}
}
if ($depflags ne "" && !$make_depend) {
if ($depflags ne "" && !$make_depend) {
...
...
TABLE
浏览文件 @
02a00bb0
...
@@ -137,7 +137,7 @@ $arflags =
...
@@ -137,7 +137,7 @@ $arflags =
*** DJGPP
*** DJGPP
$cc = gcc
$cc = gcc
$cflags = -I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall
$cflags = -I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall
-DDEVRANDOM="/dev/urandom\x24"
$unistd =
$unistd =
$thread_cflag =
$thread_cflag =
$sys_id = MSDOS
$sys_id = MSDOS
...
...
apps/s_client.c
浏览文件 @
02a00bb0
...
@@ -200,6 +200,9 @@ static void sc_usage(void)
...
@@ -200,6 +200,9 @@ static void sc_usage(void)
BIO_printf
(
bio_err
,
" -pause - sleep(1) after each read(2) and write(2) system call
\n
"
);
BIO_printf
(
bio_err
,
" -pause - sleep(1) after each read(2) and write(2) system call
\n
"
);
BIO_printf
(
bio_err
,
" -showcerts - show all certificates in the chain
\n
"
);
BIO_printf
(
bio_err
,
" -showcerts - show all certificates in the chain
\n
"
);
BIO_printf
(
bio_err
,
" -debug - extra output
\n
"
);
BIO_printf
(
bio_err
,
" -debug - extra output
\n
"
);
#ifdef WATT32
BIO_printf
(
bio_err
,
" -wdebug - WATT-32 tcp debugging
\n
"
);
#endif
BIO_printf
(
bio_err
,
" -msg - Show protocol messages
\n
"
);
BIO_printf
(
bio_err
,
" -msg - Show protocol messages
\n
"
);
BIO_printf
(
bio_err
,
" -nbio_test - more ssl protocol testing
\n
"
);
BIO_printf
(
bio_err
,
" -nbio_test - more ssl protocol testing
\n
"
);
BIO_printf
(
bio_err
,
" -state - print the 'ssl' states
\n
"
);
BIO_printf
(
bio_err
,
" -state - print the 'ssl' states
\n
"
);
...
@@ -360,6 +363,10 @@ int MAIN(int argc, char **argv)
...
@@ -360,6 +363,10 @@ int MAIN(int argc, char **argv)
c_Pause
=
1
;
c_Pause
=
1
;
else
if
(
strcmp
(
*
argv
,
"-debug"
)
==
0
)
else
if
(
strcmp
(
*
argv
,
"-debug"
)
==
0
)
c_debug
=
1
;
c_debug
=
1
;
#ifdef WATT32
else
if
(
strcmp
(
*
argv
,
"-wdebug"
)
==
0
)
dbug_init
();
#endif
else
if
(
strcmp
(
*
argv
,
"-msg"
)
==
0
)
else
if
(
strcmp
(
*
argv
,
"-msg"
)
==
0
)
c_msg
=
1
;
c_msg
=
1
;
else
if
(
strcmp
(
*
argv
,
"-showcerts"
)
==
0
)
else
if
(
strcmp
(
*
argv
,
"-showcerts"
)
==
0
)
...
...
apps/s_socket.c
浏览文件 @
02a00bb0
...
@@ -172,7 +172,6 @@ static int ssl_sock_init(void)
...
@@ -172,7 +172,6 @@ static int ssl_sock_init(void)
#ifdef WATT32
#ifdef WATT32
extern
int
_watt_do_exit
;
extern
int
_watt_do_exit
;
_watt_do_exit
=
0
;
_watt_do_exit
=
0
;
dbug_init
();
if
(
sock_init
())
if
(
sock_init
())
return
(
0
);
return
(
0
);
#elif defined(OPENSSL_SYS_WINDOWS)
#elif defined(OPENSSL_SYS_WINDOWS)
...
...
crypto/rand/rand_unix.c
浏览文件 @
02a00bb0
...
@@ -168,7 +168,13 @@ int RAND_poll(void)
...
@@ -168,7 +168,13 @@ int RAND_poll(void)
for
(
randomfile
=
randomfiles
;
*
randomfile
&&
n
<
ENTROPY_NEEDED
;
randomfile
++
)
for
(
randomfile
=
randomfiles
;
*
randomfile
&&
n
<
ENTROPY_NEEDED
;
randomfile
++
)
{
{
if
((
fd
=
open
(
*
randomfile
,
O_RDONLY
|
O_NONBLOCK
if
((
fd
=
open
(
*
randomfile
,
O_RDONLY
#ifdef O_NONBLOCK
|
O_NONBLOCK
#endif
#ifdef O_BINARY
|
O_BINARY
#endif
#ifdef O_NOCTTY
/* If it happens to be a TTY (god forbid), do not make it
#ifdef O_NOCTTY
/* If it happens to be a TTY (god forbid), do not make it
our controlling tty */
our controlling tty */
|
O_NOCTTY
|
O_NOCTTY
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录