Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
7a5ed919
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看板
You need to sign in or sign up before continuing.
提交
7a5ed919
编写于
7月 19, 2002
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
The first compile of the new merger method for VMS *almost* got
through. That's not enough, is it? :-)
上级
799d7a34
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
19 addition
and
20 deletion
+19
-20
crypto/dso/dso_vms.c
crypto/dso/dso_vms.c
+19
-20
未找到文件。
crypto/dso/dso_vms.c
浏览文件 @
7a5ed919
...
...
@@ -398,23 +398,23 @@ static char *vms_merger(DSO *dso, const char *filespec1, const char *filespec2)
nam
=
cc
$
rms_nam
;
#endif
fab
.
fab
$
l_fna
=
filespec1
;
fab
.
fab
$
l_fna
=
(
char
*
)
filespec1
;
fab
.
fab
$
b_fns
=
filespec1len
;
fab
.
fab
$
l_dna
=
filespec2
;
fab
.
fab
$
l_dna
=
(
char
*
)
filespec2
;
fab
.
fab
$
b_dns
=
filespec2len
;
#ifdef NAML$C_MAXRSS
if
(
filespec1len
>
NAM
$
C_MAXRSS
)
{
fab
.
fab
$
l_fna
=
-
1
;
fab
.
fab
$
l_fna
=
0
;
fab
.
fab
$
b_fns
=
0
;
nam
.
naml
$
l_long_filename
=
filespec1
;
nam
.
naml
$
l_long_filename
=
(
char
*
)
filespec1
;
nam
.
naml
$
l_long_filename_size
=
filespec1len
;
}
if
(
filespec2len
>
NAM
$
C_MAXRSS
)
{
fab
.
fab
$
l_dna
=
-
1
;
fab
.
fab
$
l_dna
=
0
;
fab
.
fab
$
b_dns
=
0
;
nam
.
naml
$
l_long_defname
=
filespec2
;
nam
.
naml
$
l_long_defname
=
(
char
*
)
filespec2
;
nam
.
naml
$
l_long_defname_size
=
filespec2len
;
}
nam
.
naml
$
l_esa
=
esa
;
...
...
@@ -422,13 +422,14 @@ static char *vms_merger(DSO *dso, const char *filespec1, const char *filespec2)
nam
.
naml
$
l_long_expand
=
esa
;
nam
.
naml
$
l_long_expand_alloc
=
sizeof
(
esa
);
nam
.
naml
$
b_nop
=
NAM
$
M_SYNCHK
|
NAM
$
M_PWD
;
nam
.
naml
$
v_no_short_updase
=
1
;
nam
.
naml
$
v_no_short_upcase
=
1
;
fab
.
fab
$
l_naml
=
&
nam
;
#else
nam
.
nam
$
l_esa
=
esa
;
nam
.
nam
$
b_ess
=
NAM
$
C_MAXRSS
;
nam
.
nam
$
b_nop
=
NAM
$
M_SYNCHK
|
NAM
$
M_PWD
;
#endif
fab
.
fab
$
l_nam
=
&
nam
;
#endif
status
=
sys
$
parse
(
&
fab
,
0
,
0
);
...
...
@@ -443,8 +444,6 @@ static char *vms_merger(DSO *dso, const char *filespec1, const char *filespec2)
errstring_dsc
.
dsc
$
b_class
=
DSC
$
K_CLASS_S
;
errstring_dsc
.
dsc
$
a_pointer
=
errstring
;
*
sym
=
NULL
;
status
=
sys
$
getmsg
(
status
,
&
length
,
&
errstring_dsc
,
1
,
0
);
if
(
!
$
VMS_STATUS_SUCCESS
(
status
))
...
...
@@ -454,10 +453,10 @@ static char *vms_merger(DSO *dso, const char *filespec1, const char *filespec2)
errstring
[
length
]
=
'\0'
;
DSOerr
(
DSO_F_VMS_MERGER
,
DSO_R_FAILURE
);
ERR_add_error_data
(
9
,
"filespec
\"
"
,
filespec1
,
"
\"
, "
,
"defaults
\"
"
,
filespec2
,
"
\"
: "
errstring
);
ERR_add_error_data
(
7
,
"filespec
\"
"
,
filespec1
,
"
\"
, "
,
"defaults
\"
"
,
filespec2
,
"
\"
: "
,
errstring
);
}
return
(
NULL
);
}
...
...
@@ -473,20 +472,20 @@ static char *vms_merger(DSO *dso, const char *filespec1, const char *filespec2)
}
else
{
merged
=
OPENSSL_malloc
(
nam
.
naml
$
l
_esl
+
1
);
merged
=
OPENSSL_malloc
(
nam
.
naml
$
b
_esl
+
1
);
if
(
!
merged
)
goto
malloc_err
;
strncpy
(
merged
,
nam
.
naml
$
l_esa
,
nam
.
naml
$
l
_esl
);
merged
[
nam
.
naml
$
l
_esl
]
=
'\0'
;
nam
.
naml
$
b
_esl
);
merged
[
nam
.
naml
$
b
_esl
]
=
'\0'
;
}
#else
merged
=
OPENSSL_malloc
(
nam
.
nam
$
l
_esl
+
1
);
merged
=
OPENSSL_malloc
(
nam
.
nam
$
b
_esl
+
1
);
if
(
!
merged
)
goto
malloc_err
;
strncpy
(
merged
,
nam
.
nam
$
l_esa
,
nam
.
nam
$
l
_esl
);
merged
[
nam
.
nam
$
l
_esl
]
=
'\0'
;
nam
.
nam
$
b
_esl
);
merged
[
nam
.
nam
$
b
_esl
]
=
'\0'
;
#endif
return
(
merged
);
malloc_err:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录