Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
59fc2b0f
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
8 个月 前同步成功
通知
8
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,体验更适合开发者的 AI 搜索 >>
提交
59fc2b0f
编写于
3月 05, 2000
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Preserve reason strings in automatically build tables.
上级
5ba7c902
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
67 addition
and
25 deletion
+67
-25
CHANGES
CHANGES
+6
-0
crypto/asn1/asn1_err.c
crypto/asn1/asn1_err.c
+2
-1
crypto/bio/bio_err.c
crypto/bio/bio_err.c
+2
-1
crypto/bn/bn_err.c
crypto/bn/bn_err.c
+2
-1
crypto/buffer/buf_err.c
crypto/buffer/buf_err.c
+2
-1
crypto/comp/comp_err.c
crypto/comp/comp_err.c
+2
-1
crypto/conf/conf_err.c
crypto/conf/conf_err.c
+2
-1
crypto/cpt_err.c
crypto/cpt_err.c
+2
-1
crypto/dh/dh_err.c
crypto/dh/dh_err.c
+2
-1
crypto/dsa/dsa_err.c
crypto/dsa/dsa_err.c
+2
-1
crypto/evp/evp_err.c
crypto/evp/evp_err.c
+2
-1
crypto/objects/obj_err.c
crypto/objects/obj_err.c
+2
-1
crypto/pem/pem_err.c
crypto/pem/pem_err.c
+2
-1
crypto/pkcs12/pk12err.c
crypto/pkcs12/pk12err.c
+2
-1
crypto/pkcs7/pkcs7err.c
crypto/pkcs7/pkcs7err.c
+2
-1
crypto/rand/rand_err.c
crypto/rand/rand_err.c
+2
-1
crypto/rsa/rsa_err.c
crypto/rsa/rsa_err.c
+2
-1
crypto/x509/x509_err.c
crypto/x509/x509_err.c
+2
-1
crypto/x509v3/v3err.c
crypto/x509v3/v3err.c
+2
-1
rsaref/rsar_err.c
rsaref/rsar_err.c
+2
-1
ssl/ssl_err.c
ssl/ssl_err.c
+2
-1
util/mkerr.pl
util/mkerr.pl
+21
-5
未找到文件。
CHANGES
浏览文件 @
59fc2b0f
...
...
@@ -4,6 +4,12 @@
Changes between 0.9.5 and 0.9.6 [XX XXX 2000]
*) In util/mkerr.pl (which implements 'make errors'), preserve
reason strings from the previous version of the .c file, as
the default to have only downcase letters (and digits) in
automatically generated reasons codes is not always appropriate.
[Bodo Moeller]
*) In ERR_load_ERR_strings(), build an ERR_LIB_SYS error reason table
using strerror. Previously, ERR_reason_error_string() returned
library names as reason strings for SYSerr; but SYSerr is a special
...
...
crypto/asn1/asn1_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/bio/bio_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/bn/bn_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/buffer/buf_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/comp/comp_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/conf/conf_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/cpt_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/dh/dh_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/dsa/dsa_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/evp/evp_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/objects/obj_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/pem/pem_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/pkcs12/pk12err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/pkcs7/pkcs7err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/rand/rand_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/rsa/rsa_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/x509/x509_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
crypto/x509v3/v3err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
rsaref/rsar_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
ssl/ssl_err.c
浏览文件 @
59fc2b0f
...
...
@@ -54,7 +54,8 @@
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
util/mkerr.pl
浏览文件 @
59fc2b0f
...
...
@@ -284,6 +284,17 @@ EOF
# Rewrite the C source file containing the error details.
# First, read any existing reason string definitions:
my
%err_reason_strings
;
if
(
open
(
IN
,"
<
$cfile
"))
{
while
(
<
IN
>
)
{
if
(
/\b(${lib}_R_\w*)\b.*\"(.*)\"/
)
{
$err_reason_strings
{
$
1
}
=
$
2
;
}
}
close
(
IN
);
}
my
$hincf
;
if
(
$static
)
{
$hfile
=~
/([^\/]+)$/
;
...
...
@@ -352,7 +363,8 @@ EOF
*/
/* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file.
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
...
...
@@ -385,9 +397,13 @@ EOF
foreach
$i
(
@reasons
)
{
my
$rn
;
my
$nspc
=
0
;
$i
=~
/^${lib}_R_(\S+)$/
;
$rn
=
$
1
;
$rn
=~
tr/_[A-Z]/ [a-z]/
;
if
(
exists
$err_reason_strings
{
$i
})
{
$rn
=
$err_reason_strings
{
$i
};
}
else
{
$i
=~
/^${lib}_R_(\S+)$/
;
$rn
=
$
1
;
$rn
=~
tr/_[A-Z]/ [a-z]/
;
}
$nspc
=
40
-
length
(
$i
)
unless
length
(
$i
)
>
40
;
$nspc
=
"
"
x
$nspc
;
print
OUT
"
{
${i}${nspc}
,
\"
$rn
\"
},
\n
";
...
...
@@ -465,7 +481,7 @@ EOF
}
close
OUT
;
undef
%err_reason_strings
;
}
if
(
$debug
&&
defined
(
%notrans
))
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录