Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
75e0770d
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看板
提交
75e0770d
编写于
5月 13, 1999
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
VMS support bug fixes.
上级
f7fd2ff7
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
17 addition
and
15 deletion
+17
-15
apps/s_client.c
apps/s_client.c
+3
-3
apps/s_server.c
apps/s_server.c
+3
-3
apps/s_socket.c
apps/s_socket.c
+5
-3
apps/s_time.c
apps/s_time.c
+1
-1
crypto/bio/b_sock.c
crypto/bio/b_sock.c
+1
-1
crypto/bio/bss_acpt.c
crypto/bio/bss_acpt.c
+2
-2
crypto/bio/bss_conn.c
crypto/bio/bss_conn.c
+2
-2
未找到文件。
apps/s_client.c
浏览文件 @
75e0770d
...
...
@@ -79,8 +79,8 @@ typedef unsigned int u_int;
#include <openssl/pem.h>
#include "s_apps.h"
#if (
__VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#if (
defined(VMS) && __VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#undef FIONBIO
#endif
...
...
@@ -468,7 +468,7 @@ re_start:
/* printf("mode tty(%d %d%d) ssl(%d%d)\n",
tty_on,read_tty,write_tty,read_ssl,write_ssl);*/
/* Note: under VMS with SOCKETSHR the
thir
d parameter
/* Note: under VMS with SOCKETSHR the
secon
d parameter
* is currently of type (int *) whereas under other
* systems it is (void *) if you don't have a cast it
* will choke the compiler: if you do have a cast then
...
...
apps/s_server.c
浏览文件 @
75e0770d
...
...
@@ -83,8 +83,8 @@ typedef unsigned int u_int;
#include <openssl/ssl.h>
#include "s_apps.h"
#if (
__VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#if (
defined(VMS) && __VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#undef FIONBIO
#endif
...
...
@@ -628,7 +628,7 @@ static int sv_body(char *hostname, int s, unsigned char *context)
FD_SET
(
fileno
(
stdin
),
&
readfds
);
#endif
FD_SET
(
s
,
&
readfds
);
/* Note: under VMS with SOCKETSHR the
thir
d parameter is
/* Note: under VMS with SOCKETSHR the
secon
d parameter is
* currently of type (int *) whereas under other systems
* it is (void *) if you don't have a cast it will choke
* the compiler: if you do have a cast then you can either
...
...
apps/s_socket.c
浏览文件 @
75e0770d
...
...
@@ -78,12 +78,12 @@ typedef unsigned int u_int;
#include "s_apps.h"
#include <openssl/ssl.h>
#ifdef VMS
#if (__VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#undef FIONBIO
#endif
#ifdef VMS
/* for vfork() */
#include <processes.h>
#include <processes.h>
/* for vfork() */
#endif
static
struct
hostent
*
GetHostByName
(
char
*
name
);
...
...
@@ -255,7 +255,9 @@ int nbio_init_client_ip(int *sock, unsigned char ip[4], int port)
if
(
*
sock
<=
0
)
{
#ifdef FIONBIO
unsigned
long
l
=
1
;
#endif
s
=
socket
(
AF_INET
,
SOCK_STREAM
,
SOCKET_PROTOCOL
);
if
(
s
==
INVALID_SOCKET
)
{
perror
(
"socket"
);
return
(
0
);
}
...
...
@@ -387,7 +389,7 @@ redoit:
memset
((
char
*
)
&
from
,
0
,
sizeof
(
from
));
len
=
sizeof
(
from
);
/* Note: under VMS with SOCKETSHR the
third
parameter is currently
/* Note: under VMS with SOCKETSHR the
fourth
parameter is currently
* of type (int *) whereas under other systems it is (void *) if
* you don't have a cast it will choke the compiler: if you do
* have a cast then you can either go for (int *) or (void *).
...
...
apps/s_time.c
浏览文件 @
75e0770d
...
...
@@ -668,7 +668,7 @@ static SSL *doConnection(SSL *scon)
width
=
i
+
1
;
FD_ZERO
(
&
readfds
);
FD_SET
(
i
,
&
readfds
);
/* Note: under VMS with SOCKETSHR the
thir
d parameter
/* Note: under VMS with SOCKETSHR the
2n
d parameter
* is currently of type (int *) whereas under other
* systems it is (void *) if you don't have a cast it
* will choke the compiler: if you do have a cast then
...
...
crypto/bio/b_sock.c
浏览文件 @
75e0770d
...
...
@@ -596,7 +596,7 @@ int BIO_accept(int sock, char **addr)
memset
((
char
*
)
&
from
,
0
,
sizeof
(
from
));
len
=
sizeof
(
from
);
/* Note: under VMS with SOCKETSHR the
third
parameter is currently
/* Note: under VMS with SOCKETSHR the
fourth
parameter is currently
* of type (int *) whereas under other systems it is (void *) if
* you don't have a cast it will choke the compiler: if you do
* have a cast then you can either go for (int *) or (void *).
...
...
crypto/bio/bss_acpt.c
浏览文件 @
75e0770d
...
...
@@ -70,8 +70,8 @@
#define SOCKET_PROTOCOL IPPROTO_TCP
#endif
#if (
__VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#if (
defined(VMS) && __VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#undef FIONBIO
#endif
...
...
crypto/bio/bss_conn.c
浏览文件 @
75e0770d
...
...
@@ -70,8 +70,8 @@
#define SOCKET_PROTOCOL IPPROTO_TCP
#endif
#if (
__VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#if (
defined(VMS) && __VMS_VER < 70000000)
/* FIONBIO used as a switch to enable ioctl,
and that isn't in VMS < 7.0 */
#undef FIONBIO
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录