Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
12bdb643
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看板
提交
12bdb643
编写于
4月 02, 2005
作者:
N
Nils Larsch
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use SHA-1 as the default digest for the apps/openssl commands
上级
7bdf8eed
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
11 addition
and
7 deletion
+11
-7
CHANGES
CHANGES
+5
-1
apps/crl.c
apps/crl.c
+1
-1
apps/openssl.cnf
apps/openssl.cnf
+1
-1
apps/req.c
apps/req.c
+1
-1
apps/x509.c
apps/x509.c
+1
-1
doc/apps/x509.pod
doc/apps/x509.pod
+2
-2
未找到文件。
CHANGES
浏览文件 @
12bdb643
...
...
@@ -2,7 +2,11 @@
OpenSSL CHANGES
_______________
Changes between 0.9.7e and 0.9.8 [xx XXX xxxx]
Changes between 0.9.7f and 0.9.8 [xx XXX xxxx]
*) Use SHA-1 instead of MD5 as the default digest algorithm for
the apps/openssl applications.
[Nils Larsch]
*) Compile clean with "-Wall -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -Werror". Currently
...
...
apps/crl.c
浏览文件 @
12bdb643
...
...
@@ -115,7 +115,7 @@ int MAIN(int argc, char **argv)
X509_OBJECT
xobj
;
EVP_PKEY
*
pkey
;
int
do_ver
=
0
;
const
EVP_MD
*
md_alg
,
*
digest
=
EVP_
md5
();
const
EVP_MD
*
md_alg
,
*
digest
=
EVP_
sha1
();
apps_startup
();
...
...
apps/openssl.cnf
浏览文件 @
12bdb643
...
...
@@ -67,7 +67,7 @@ cert_opt = ca_default # Certificate field options
default_days = 365 # how long to certify for
default_crl_days= 30 # how long before next CRL
default_md =
md5
# which md to use.
default_md =
sha1
# which md to use.
preserve = no # keep passed DN ordering
# A few difference way of specifying how similar the request should look
...
...
apps/req.c
浏览文件 @
12bdb643
...
...
@@ -187,7 +187,7 @@ int MAIN(int argc, char **argv)
char
*
p
;
char
*
subj
=
NULL
;
int
multirdn
=
0
;
const
EVP_MD
*
md_alg
=
NULL
,
*
digest
=
EVP_
md5
();
const
EVP_MD
*
md_alg
=
NULL
,
*
digest
=
EVP_
sha1
();
unsigned
long
chtype
=
MBSTRING_ASC
;
#ifndef MONOLITH
char
*
to_free
;
...
...
apps/x509.c
浏览文件 @
12bdb643
...
...
@@ -184,7 +184,7 @@ int MAIN(int argc, char **argv)
X509_REQ
*
rq
=
NULL
;
int
fingerprint
=
0
;
char
buf
[
256
];
const
EVP_MD
*
md_alg
,
*
digest
=
EVP_
md5
();
const
EVP_MD
*
md_alg
,
*
digest
=
EVP_
sha1
();
CONF
*
extconf
=
NULL
;
char
*
extsect
=
NULL
,
*
extfile
=
NULL
,
*
passin
=
NULL
,
*
passargin
=
NULL
;
int
need_rand
=
0
;
...
...
doc/apps/x509.pod
浏览文件 @
12bdb643
...
...
@@ -98,8 +98,8 @@ default.
the digest to use. This affects any signing or display option that uses a message
digest, such as the B<-fingerprint>, B<-signkey> and B<-CA> options. If not
specified then
MD5 is used. If the key being used to sign with is a DSA key then
this option has no effect: SHA1 is always used with DSA keys.
specified then
SHA1 is used. If the key being used to sign with is a DSA key
th
en th
is option has no effect: SHA1 is always used with DSA keys.
=item B<-engine id>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录