Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
c5f8bbbc
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,发现更多精彩内容 >>
提交
c5f8bbbc
编写于
9月 21, 2000
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
上级
4759abc5
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
27 addition
and
3 deletion
+27
-3
Configure
Configure
+3
-0
apps/s_socket.c
apps/s_socket.c
+2
-0
apps/speed.c
apps/speed.c
+1
-1
config
config
+4
-0
crypto/bio/bss_conn.c
crypto/bio/bss_conn.c
+1
-1
crypto/des/read_pwd.c
crypto/des/read_pwd.c
+6
-0
e_os.h
e_os.h
+6
-1
ssl/ssl2.h
ssl/ssl2.h
+4
-0
未找到文件。
Configure
浏览文件 @
c5f8bbbc
...
...
@@ -256,6 +256,9 @@ my %table=(
#"hpux11-64bit-cc","cc:+DA2.0W -g -D_HPUX_SOURCE -Aa -Ae +ESlit::-D_REENTRANT::SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT :::",
# Use unified settings above instead.
#### HP MPE/iX http://jazz.external.hp.com/src/openssl/
"MPE/iX-gcc", "gcc:-D_ENDIAN -DBN_DIV2W -O3 -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB::(unknown):-L/SYSLOG/PUB -lsyslog -lsocket -lcurses:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
# Dec Alpha, OSF/1 - the alpha164-cc is the flags for a 21164A with
# the new compiler
# For gcc, the following gave a %50 speedup on a 164 over the 'DES_INT' version
...
...
apps/s_socket.c
浏览文件 @
c5f8bbbc
...
...
@@ -209,9 +209,11 @@ static int init_client_ip(int *sock, unsigned char ip[4], int port)
s
=
socket
(
AF_INET
,
SOCK_STREAM
,
SOCKET_PROTOCOL
);
if
(
s
==
INVALID_SOCKET
)
{
perror
(
"socket"
);
return
(
0
);
}
#ifndef MPE
i
=
0
;
i
=
setsockopt
(
s
,
SOL_SOCKET
,
SO_KEEPALIVE
,(
char
*
)
&
i
,
sizeof
(
i
));
if
(
i
<
0
)
{
perror
(
"keepalive"
);
return
(
0
);
}
#endif
if
(
connect
(
s
,(
struct
sockaddr
*
)
&
them
,
sizeof
(
them
))
==
-
1
)
{
close
(
s
);
perror
(
"connect"
);
return
(
0
);
}
...
...
apps/speed.c
浏览文件 @
c5f8bbbc
...
...
@@ -87,7 +87,7 @@
#elif !defined(MSDOS) && (!defined(VMS) || defined(__DECC))
# define TIMES
#endif
#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX)
#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX)
&& !defined(MPE)
# define TIMEB
#endif
...
...
config
浏览文件 @
c5f8bbbc
...
...
@@ -71,6 +71,10 @@ fi
# Now we simply scan though... In most cases, the SYSTEM info is enough
#
case
"
${
SYSTEM
}
:
${
RELEASE
}
:
${
VERSION
}
:
${
MACHINE
}
"
in
MPE/iX:
*
)
MACHINE
=
`
echo
"
$MACHINE
"
|
sed
-e
's/-/_/g'
`
echo
"parisc-hp-MPE/iX"
;
exit
0
;;
A/UX:
*
)
echo
"m68k-apple-aux3"
;
exit
0
;;
...
...
crypto/bio/bss_conn.c
浏览文件 @
c5f8bbbc
...
...
@@ -236,7 +236,7 @@ static int conn_state(BIO *b, BIO_CONNECT *c)
}
c
->
state
=
BIO_CONN_S_CONNECT
;
#if
def SO_KEEPALIVE
#if
defined(SO_KEEPALIVE) && !defined(MPE)
i
=
1
;
i
=
setsockopt
(
b
->
num
,
SOL_SOCKET
,
SO_KEEPALIVE
,(
char
*
)
&
i
,
sizeof
(
i
));
if
(
i
<
0
)
...
...
crypto/des/read_pwd.c
浏览文件 @
c5f8bbbc
...
...
@@ -271,7 +271,9 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
#elif defined(MAC_OS_pre_X)
tty
=
stdin
;
#else
#ifndef MPE
if
((
tty
=
fopen
(
"/dev/tty"
,
"r"
))
==
NULL
)
#endif
tty
=
stdin
;
#endif
...
...
@@ -312,8 +314,12 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
#if defined(TTY_set) && !defined(VMS)
if
(
is_a_tty
&&
(
TTY_set
(
fileno
(
tty
),
&
tty_new
)
==
-
1
))
#ifdef MPE
;
/* MPE lies -- echo really has been disabled */
#else
return
(
-
1
);
#endif
#endif
#ifdef VMS
tty_new
[
0
]
=
tty_orig
[
0
];
tty_new
[
1
]
=
tty_orig
[
1
]
|
TT
$
M_NOECHO
;
...
...
e_os.h
浏览文件 @
c5f8bbbc
...
...
@@ -275,6 +275,9 @@ extern "C" {
# define NO_SYS_PARAM_H
# else
/* !defined VMS */
# ifdef MPE
# define NO_SYS_PARAM_H
# endif
# ifdef OPENSSL_UNISTD
# include OPENSSL_UNISTD
# else
...
...
@@ -344,7 +347,9 @@ extern HINSTANCE _hInstance;
# ifndef NO_SYS_PARAM_H
# include <sys/param.h>
# endif
# ifndef MPE
# include <sys/time.h>
/* Needed under linux for FD_XXX */
# endif
# include <netdb.h>
# if defined(VMS) && !defined(__DECC)
...
...
ssl/ssl2.h
浏览文件 @
c5f8bbbc
...
...
@@ -133,7 +133,11 @@ extern "C" {
/* Upper/Lower Bounds */
#define SSL2_MAX_MASTER_KEY_LENGTH_IN_BITS 256
#ifdef MPE
#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER (unsigned int)29998
#else
#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER (unsigned int)32767
#endif
#define SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER 16383
/**/
#define SSL2_CHALLENGE_LENGTH 16
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录