Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
3ed3603b
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看板
提交
3ed3603b
编写于
8月 12, 2009
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update default dependency flags.
Make error name discrepancies a fatal error. Fix error codes. make update
上级
f2589af1
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
152 addition
and
30 deletion
+152
-30
Configure
Configure
+1
-1
Makefile.org
Makefile.org
+1
-1
TABLE
TABLE
+93
-0
apps/Makefile
apps/Makefile
+14
-13
crypto/evp/Makefile
crypto/evp/Makefile
+14
-6
ssl/d1_lib.c
ssl/d1_lib.c
+1
-1
ssl/ssl.h
ssl/ssl.h
+1
-0
ssl/ssl_err.c
ssl/ssl_err.c
+1
-0
test/Makefile
test/Makefile
+9
-5
util/ck_errf.pl
util/ck_errf.pl
+17
-3
未找到文件。
Configure
浏览文件 @
3ed3603b
...
...
@@ -676,7 +676,7 @@ my @experimental = ();
# This is what $depflags will look like with the above defaults
# (we need this to see if we should advise the user to run "make depend"):
my $default_depflags = " -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_
MDC2 -DOPENSSL_NO_
RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_STORE";
my $default_depflags = " -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_STORE";
# Explicit "no-..." options will be collected in %disabled along with the defaults.
# To remove something from %disabled, use "enable-foo" (unless it's experimental).
...
...
Makefile.org
浏览文件 @
3ed3603b
...
...
@@ -425,7 +425,7 @@ tags:
errors
:
$(PERL)
util/mkerr.pl
-recurse
-write
(
cd
engines
;
$(MAKE)
PERL
=
$(PERL)
errors
)
$(PERL)
util/ck_errf.pl
*
/
*
.c
*
/
*
/
*
.c
$(PERL)
util/ck_errf.pl
-strict
*
/
*
.c
*
/
*
/
*
.c
stacks
:
$(PERL)
util/mkstack.pl
-write
...
...
TABLE
浏览文件 @
3ed3603b
...
...
@@ -1953,6 +1953,68 @@ $ranlib =
$arflags =
$multilib =
*** debug-linux-generic32
$cc = gcc
$cflags = -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall
$unistd =
$thread_cflag = -D_REENTRANT
$sys_id =
$lflags = -ldl
$bn_ops = BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR
$cpuid_obj =
$bn_obj =
$des_obj =
$aes_obj =
$bf_obj =
$md5_obj =
$sha1_obj =
$cast_obj =
$rc4_obj =
$rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
$shared_ldflag =
$shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
$ranlib =
$arflags =
$multilib =
*** debug-linux-generic64
$cc = gcc
$cflags = -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall
$unistd =
$thread_cflag = -D_REENTRANT
$sys_id =
$lflags = -ldl
$bn_ops = SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR
$cpuid_obj =
$bn_obj =
$des_obj =
$aes_obj =
$bf_obj =
$md5_obj =
$sha1_obj =
$cast_obj =
$rc4_obj =
$rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$perlasm_scheme = void
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
$shared_ldflag =
$shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
$ranlib =
$arflags =
$multilib =
*** debug-linux-ia32-aes
$cc = gcc
$cflags = -DAES_EXPERIMENTAL -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall
...
...
@@ -2046,6 +2108,37 @@ $ranlib =
$arflags =
$multilib =
*** debug-linux-x86_64
$cc = gcc
$cflags = -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g -Wall -DMD32_REG_T=int
$unistd =
$thread_cflag = -D_REENTRANT
$sys_id =
$lflags = -ldl
$bn_ops = SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL
$cpuid_obj = x86_64cpuid.o
$bn_obj = x86_64-gcc.o x86_64-mont.o
$des_obj =
$aes_obj = aes-x86_64.o aesni-x86_64.o
$bf_obj =
$md5_obj = md5-x86_64.o
$sha1_obj = sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o
$cast_obj =
$rc4_obj = rc4-x86_64.o
$rmd160_obj =
$rc5_obj =
$wp_obj = wp-x86_64.o
$cmll_obj = cmll-x86_64.o cmll_misc.o
$perlasm_scheme = elf
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
$shared_ldflag = -m64
$shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
$ranlib =
$arflags =
$multilib = 64
*** debug-rse
$cc = cc
$cflags = -DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall
...
...
apps/Makefile
浏览文件 @
3ed3603b
...
...
@@ -933,19 +933,20 @@ speed.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
speed.o
:
../include/openssl/err.h ../include/openssl/evp.h
speed.o
:
../include/openssl/hmac.h ../include/openssl/idea.h
speed.o
:
../include/openssl/lhash.h ../include/openssl/md4.h
speed.o
:
../include/openssl/md5.h ../include/openssl/obj_mac.h
speed.o
:
../include/openssl/objects.h ../include/openssl/ocsp.h
speed.o
:
../include/openssl/opensslconf.h ../include/openssl/opensslv.h
speed.o
:
../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
speed.o
:
../include/openssl/rand.h ../include/openssl/rc2.h
speed.o
:
../include/openssl/rc4.h ../include/openssl/ripemd.h
speed.o
:
../include/openssl/rsa.h ../include/openssl/safestack.h
speed.o
:
../include/openssl/seed.h ../include/openssl/sha.h
speed.o
:
../include/openssl/stack.h ../include/openssl/symhacks.h
speed.o
:
../include/openssl/txt_db.h ../include/openssl/ui.h
speed.o
:
../include/openssl/ui_compat.h ../include/openssl/whrlpool.h
speed.o
:
../include/openssl/x509.h ../include/openssl/x509_vfy.h
speed.o
:
../include/openssl/x509v3.h apps.h speed.c testdsa.h testrsa.h
speed.o
:
../include/openssl/md5.h ../include/openssl/mdc2.h
speed.o
:
../include/openssl/obj_mac.h ../include/openssl/objects.h
speed.o
:
../include/openssl/ocsp.h ../include/openssl/opensslconf.h
speed.o
:
../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
speed.o
:
../include/openssl/pkcs7.h ../include/openssl/rand.h
speed.o
:
../include/openssl/rc2.h ../include/openssl/rc4.h
speed.o
:
../include/openssl/ripemd.h ../include/openssl/rsa.h
speed.o
:
../include/openssl/safestack.h ../include/openssl/seed.h
speed.o
:
../include/openssl/sha.h ../include/openssl/stack.h
speed.o
:
../include/openssl/symhacks.h ../include/openssl/txt_db.h
speed.o
:
../include/openssl/ui.h ../include/openssl/ui_compat.h
speed.o
:
../include/openssl/whrlpool.h ../include/openssl/x509.h
speed.o
:
../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h
speed.o
:
speed.c testdsa.h testrsa.h
spkac.o
:
../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
spkac.o
:
../include/openssl/buffer.h ../include/openssl/conf.h
spkac.o
:
../include/openssl/crypto.h ../include/openssl/e_os2.h
...
...
crypto/evp/Makefile
浏览文件 @
3ed3603b
...
...
@@ -470,13 +470,21 @@ m_md5.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
m_md5.o
:
../../include/openssl/sha.h ../../include/openssl/stack.h
m_md5.o
:
../../include/openssl/symhacks.h ../../include/openssl/x509.h
m_md5.o
:
../../include/openssl/x509_vfy.h ../cryptlib.h m_md5.c
m_mdc2.o
:
../../e_os.h ../../include/openssl/bio.h
m_mdc2.o
:
../../e_os.h ../../include/openssl/
asn1.h ../../include/openssl/
bio.h
m_mdc2.o
:
../../include/openssl/buffer.h ../../include/openssl/crypto.h
m_mdc2.o
:
../../include/openssl/e_os2.h ../../include/openssl/err.h
m_mdc2.o
:
../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
m_mdc2.o
:
../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
m_mdc2.o
:
../../include/openssl/safestack.h ../../include/openssl/stack.h
m_mdc2.o
:
../../include/openssl/symhacks.h ../cryptlib.h m_mdc2.c
m_mdc2.o
:
../../include/openssl/des.h ../../include/openssl/des_old.h
m_mdc2.o
:
../../include/openssl/e_os2.h ../../include/openssl/ec.h
m_mdc2.o
:
../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
m_mdc2.o
:
../../include/openssl/err.h ../../include/openssl/evp.h
m_mdc2.o
:
../../include/openssl/lhash.h ../../include/openssl/mdc2.h
m_mdc2.o
:
../../include/openssl/obj_mac.h ../../include/openssl/objects.h
m_mdc2.o
:
../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
m_mdc2.o
:
../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
m_mdc2.o
:
../../include/openssl/rsa.h ../../include/openssl/safestack.h
m_mdc2.o
:
../../include/openssl/sha.h ../../include/openssl/stack.h
m_mdc2.o
:
../../include/openssl/symhacks.h ../../include/openssl/ui.h
m_mdc2.o
:
../../include/openssl/ui_compat.h ../../include/openssl/x509.h
m_mdc2.o
:
../../include/openssl/x509_vfy.h ../cryptlib.h m_mdc2.c
m_null.o
:
../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
m_null.o
:
../../include/openssl/buffer.h ../../include/openssl/crypto.h
m_null.o
:
../../include/openssl/e_os2.h ../../include/openssl/ec.h
...
...
ssl/d1_lib.c
浏览文件 @
3ed3603b
...
...
@@ -334,7 +334,7 @@ int dtls1_handle_timeout(SSL *s)
if
(
state
->
timeout
.
num_alerts
>
DTLS1_TMO_ALERT_COUNT
)
{
/* fail the connection, enough alerts have been sent */
SSLerr
(
SSL_F_DTLS1_
READ_FAILED
,
SSL_R_READ_TIMEOUT_EXPIRED
);
SSLerr
(
SSL_F_DTLS1_
HANDLE_TIMEOUT
,
SSL_R_READ_TIMEOUT_EXPIRED
);
return
0
;
}
...
...
ssl/ssl.h
浏览文件 @
3ed3603b
...
...
@@ -1811,6 +1811,7 @@ void ERR_load_SSL_strings(void);
#define SSL_F_DTLS1_GET_MESSAGE 252
#define SSL_F_DTLS1_GET_MESSAGE_FRAGMENT 253
#define SSL_F_DTLS1_GET_RECORD 254
#define SSL_F_DTLS1_HANDLE_TIMEOUT 297
#define SSL_F_DTLS1_OUTPUT_CERT_CHAIN 255
#define SSL_F_DTLS1_PREPROCESS_FRAGMENT 288
#define SSL_F_DTLS1_PROCESS_OUT_OF_SEQ_MESSAGE 256
...
...
ssl/ssl_err.c
浏览文件 @
3ed3603b
...
...
@@ -87,6 +87,7 @@ static ERR_STRING_DATA SSL_str_functs[]=
{
ERR_FUNC
(
SSL_F_DTLS1_GET_MESSAGE
),
"DTLS1_GET_MESSAGE"
},
{
ERR_FUNC
(
SSL_F_DTLS1_GET_MESSAGE_FRAGMENT
),
"DTLS1_GET_MESSAGE_FRAGMENT"
},
{
ERR_FUNC
(
SSL_F_DTLS1_GET_RECORD
),
"DTLS1_GET_RECORD"
},
{
ERR_FUNC
(
SSL_F_DTLS1_HANDLE_TIMEOUT
),
"DTLS1_HANDLE_TIMEOUT"
},
{
ERR_FUNC
(
SSL_F_DTLS1_OUTPUT_CERT_CHAIN
),
"DTLS1_OUTPUT_CERT_CHAIN"
},
{
ERR_FUNC
(
SSL_F_DTLS1_PREPROCESS_FRAGMENT
),
"DTLS1_PREPROCESS_FRAGMENT"
},
{
ERR_FUNC
(
SSL_F_DTLS1_PROCESS_OUT_OF_SEQ_MESSAGE
),
"DTLS1_PROCESS_OUT_OF_SEQ_MESSAGE"
},
...
...
test/Makefile
浏览文件 @
3ed3603b
...
...
@@ -598,11 +598,15 @@ md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
md5test.o
:
../include/openssl/opensslconf.h ../include/openssl/opensslv.h
md5test.o
:
../include/openssl/ossl_typ.h ../include/openssl/safestack.h
md5test.o
:
../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
mdc2test.o
:
../include/openssl/buffer.h ../include/openssl/crypto.h
mdc2test.o
:
../include/openssl/e_os2.h ../include/openssl/opensslconf.h
mdc2test.o
:
../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
mdc2test.o
:
../include/openssl/safestack.h ../include/openssl/stack.h
mdc2test.o
:
../include/openssl/symhacks.h mdc2test.c
mdc2test.o
:
../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
mdc2test.o
:
../include/openssl/crypto.h ../include/openssl/des.h
mdc2test.o
:
../include/openssl/des_old.h ../include/openssl/e_os2.h
mdc2test.o
:
../include/openssl/evp.h ../include/openssl/mdc2.h
mdc2test.o
:
../include/openssl/obj_mac.h ../include/openssl/objects.h
mdc2test.o
:
../include/openssl/opensslconf.h ../include/openssl/opensslv.h
mdc2test.o
:
../include/openssl/ossl_typ.h ../include/openssl/safestack.h
mdc2test.o
:
../include/openssl/stack.h ../include/openssl/symhacks.h
mdc2test.o
:
../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
randtest.o
:
../e_os.h ../include/openssl/e_os2.h
randtest.o
:
../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
randtest.o
:
../include/openssl/rand.h randtest.c
...
...
util/ck_errf.pl
浏览文件 @
3ed3603b
...
...
@@ -7,8 +7,16 @@
# perl util/ck_errf.pl */*.c */*/*.c
#
my
$err_strict
=
0
;
my
$bad
=
0
;
foreach
$file
(
@ARGV
)
{
if
(
$file
eq
"
-strict
")
{
$err_strict
=
1
;
next
;
}
open
(
IN
,"
<
$file
")
||
die
"
unable to open
$file
\n
";
$func
=
"";
while
(
<
IN
>
)
...
...
@@ -26,7 +34,7 @@ foreach $file (@ARGV)
$n
=
$
2
;
if
(
$func
eq
"")
{
print
"
$file
:$.:???:
$n
\n
";
next
;
}
{
print
"
$file
:$.:???:
$n
\n
";
$bad
=
1
;
next
;
}
if
(
$n
!~
/([^_]+)_F_(.+)$/
)
{
...
...
@@ -37,14 +45,20 @@ foreach $file (@ARGV)
$n
=
$
2
;
if
(
$lib
ne
$errlib
)
{
print
"
$file
:$.:
$func
:
$n
[
${errlib}
err]
\n
";
next
;
}
{
print
"
$file
:$.:
$func
:
$n
[
${errlib}
err]
\n
";
$bad
=
1
;
next
;
}
$n
=~
tr/A-Z/a-z/
;
if
((
$n
ne
$func
)
&&
(
$errlib
ne
"
SYS
"))
{
print
"
$file
:$.:
$func
:
$n
\n
";
next
;
}
{
print
"
$file
:$.:
$func
:
$n
\n
";
$bad
=
1
;
next
;
}
# print "$func:$1\n";
}
}
close
(
IN
);
}
if
(
$bad
&&
$err_strict
)
{
print
STDERR
"
FATAL: error discrepancy
\n
";
exit
1
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录