Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
c20276e4
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看板
提交
c20276e4
编写于
4月 17, 2006
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix (most) WIN32 warnings and errors.
上级
9ca7047d
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
95 addition
and
14 deletion
+95
-14
crypto/asn1/Makefile
crypto/asn1/Makefile
+1
-1
crypto/asn1/ameth_lib.c
crypto/asn1/ameth_lib.c
+1
-1
crypto/dh/dh_ameth.c
crypto/dh/dh_ameth.c
+1
-1
crypto/dsa/dsa_ameth.c
crypto/dsa/dsa_ameth.c
+1
-1
crypto/evp/Makefile
crypto/evp/Makefile
+1
-1
crypto/evp/pmeth_fn.c
crypto/evp/pmeth_fn.c
+1
-1
crypto/evp/pmeth_gn.c
crypto/evp/pmeth_gn.c
+1
-1
crypto/evp/pmeth_lib.c
crypto/evp/pmeth_lib.c
+1
-1
crypto/rsa/rsa_ameth.c
crypto/rsa/rsa_ameth.c
+1
-1
ssl/s3_lib.c
ssl/s3_lib.c
+2
-1
util/libeay.num
util/libeay.num
+72
-0
util/mkdef.pl
util/mkdef.pl
+6
-0
util/ssleay.num
util/ssleay.num
+6
-4
未找到文件。
crypto/asn1/Makefile
浏览文件 @
c20276e4
...
...
@@ -47,7 +47,7 @@ LIBOBJ= a_object.o a_bitstr.o a_utctm.o a_gentm.o a_time.o a_int.o a_octet.o \
SRC
=
$(LIBSRC)
EXHEADER
=
asn1.h asn1_mac.h asn1t.h
HEADER
=
$(EXHEADER)
HEADER
=
$(EXHEADER)
asn1_locl.h
ALL
=
$(GENERAL)
$(SRC)
$(HEADER)
...
...
crypto/asn1/ameth_lib.c
浏览文件 @
c20276e4
...
...
@@ -167,7 +167,7 @@ const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(const char *str, int len)
ameth
=
EVP_PKEY_asn1_get0
(
i
);
if
(
ameth
->
pkey_flags
&
ASN1_PKEY_ALIAS
)
continue
;
if
((
strlen
(
ameth
->
pem_str
)
==
len
)
&&
if
((
(
int
)
strlen
(
ameth
->
pem_str
)
==
len
)
&&
!
strncasecmp
(
ameth
->
pem_str
,
str
,
len
))
return
ameth
;
}
...
...
crypto/dh/dh_ameth.c
浏览文件 @
c20276e4
...
...
@@ -287,7 +287,7 @@ err:
static
void
update_buflen
(
const
BIGNUM
*
b
,
size_t
*
pbuflen
)
{
in
t
i
;
size_
t
i
;
if
(
!
b
)
return
;
if
(
*
pbuflen
<
(
i
=
(
size_t
)
BN_num_bytes
(
b
)))
...
...
crypto/dsa/dsa_ameth.c
浏览文件 @
c20276e4
...
...
@@ -400,7 +400,7 @@ static void int_dsa_free(EVP_PKEY *pkey)
static
void
update_buflen
(
const
BIGNUM
*
b
,
size_t
*
pbuflen
)
{
in
t
i
;
size_
t
i
;
if
(
!
b
)
return
;
if
(
*
pbuflen
<
(
i
=
(
size_t
)
BN_num_bytes
(
b
)))
...
...
crypto/evp/Makefile
浏览文件 @
c20276e4
...
...
@@ -45,7 +45,7 @@ LIBOBJ= encode.o digest.o evp_enc.o evp_key.o evp_acnf.o \
SRC
=
$(LIBSRC)
EXHEADER
=
evp.h
HEADER
=
$(EXHEADER)
HEADER
=
evp_locl.h
$(EXHEADER)
ALL
=
$(GENERAL)
$(SRC)
$(HEADER)
...
...
crypto/evp/pmeth_fn.c
浏览文件 @
c20276e4
...
...
@@ -58,8 +58,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <openssl/objects.h>
#include "cryptlib.h"
#include <openssl/objects.h>
#include <openssl/evp.h>
#include "evp_locl.h"
...
...
crypto/evp/pmeth_gn.c
浏览文件 @
c20276e4
...
...
@@ -58,8 +58,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <openssl/objects.h>
#include "cryptlib.h"
#include <openssl/objects.h>
#include <openssl/evp.h>
#include "evp_locl.h"
...
...
crypto/evp/pmeth_lib.c
浏览文件 @
c20276e4
...
...
@@ -58,8 +58,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <openssl/objects.h>
#include "cryptlib.h"
#include <openssl/objects.h>
#include <openssl/evp.h>
#include "asn1_locl.h"
#include "evp_locl.h"
...
...
crypto/rsa/rsa_ameth.c
浏览文件 @
c20276e4
...
...
@@ -169,7 +169,7 @@ static void int_rsa_free(EVP_PKEY *pkey)
static
void
update_buflen
(
const
BIGNUM
*
b
,
size_t
*
pbuflen
)
{
in
t
i
;
size_
t
i
;
if
(
!
b
)
return
;
if
(
*
pbuflen
<
(
i
=
(
size_t
)
BN_num_bytes
(
b
)))
...
...
ssl/s3_lib.c
浏览文件 @
c20276e4
...
...
@@ -2043,7 +2043,8 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
{
SSL_CIPHER
*
c
,
*
ret
=
NULL
;
STACK_OF
(
SSL_CIPHER
)
*
prio
,
*
allow
;
int
i
,
j
,
ok
;
int
i
,
ok
;
unsigned
int
j
;
#ifndef OPENSSL_NO_TLSEXT
#ifndef OPENSSL_NO_EC
int
ec_ok
,
ec_nid
;
...
...
util/libeay.num
浏览文件 @
c20276e4
...
...
@@ -3611,3 +3611,75 @@ TS_TST_INFO_get_ext 4006 EXIST::FUNCTION:
TS_TST_INFO_get_ext_by_critical 4007 EXIST::FUNCTION:
TS_REQ_get_ext_by_OBJ 4008 EXIST::FUNCTION:
TS_CONF_set_signer_cert 4009 EXIST::FUNCTION:
EVP_PKEY_print_public 4010 EXIST::FUNCTION:
EVP_PKEY_CTX_new 4011 EXIST::FUNCTION:
EVP_PKEY_asn1_find 4012 EXIST::FUNCTION:
DSO_METHOD_beos 4013 EXIST::FUNCTION:
EVP_PKEY_sign_init 4014 EXIST::FUNCTION:
EVP_PKEY_asn1_add0 4015 EXIST::FUNCTION:
EVP_PKEY_meth_set_decrypt 4016 EXIST::FUNCTION:
EVP_PKEY_CTX_get_keygen_info 4017 EXIST::FUNCTION:
EVP_PKEY_keygen 4018 EXIST::FUNCTION:
EVP_PKEY_asn1_new 4019 EXIST::FUNCTION:
EVP_PKEY_encrypt_old 4020 EXIST::FUNCTION:
EVP_PKEY_encrypt_init 4021 EXIST::FUNCTION:
EVP_PKEY_asn1_set_public 4022 EXIST::FUNCTION:
EVP_PKEY_asn1_set_free 4023 EXIST::FUNCTION:
EVP_PKEY_verify_recover_init 4024 EXIST::FUNCTION:
EVP_PKEY_CTX_set_data 4025 EXIST::FUNCTION:
EVP_PKEY_keygen_init 4026 EXIST::FUNCTION:
EVP_PKEY_CTX_ctrl_str 4027 EXIST::FUNCTION:
BN_asc2bn 4028 EXIST::FUNCTION:
X509_ALGOR_get0 4029 EXIST::FUNCTION:
EVP_PKEY_print_params 4030 EXIST::FUNCTION:
X509_PUBKEY_set0_param 4031 EXIST::FUNCTION:
X509_ALGOR_set0 4032 EXIST::FUNCTION:
EVP_PKEY_CTX_get_data 4033 EXIST::FUNCTION:
EVP_PKEY_derive_init 4034 EXIST::FUNCTION:
EVP_PKEY_asn1_add_alias 4035 EXIST::FUNCTION:
EVP_PKEY_CTX_ctrl 4036 EXIST::FUNCTION:
EVP_PKEY_meth_set_ctrl 4037 EXIST::FUNCTION:
EVP_PKEY_meth_set_sign 4038 EXIST::FUNCTION:
EVP_PKEY_decrypt_init 4039 EXIST::FUNCTION:
EVP_PKEY_print_private 4040 EXIST::FUNCTION:
PKCS8_pkey_get0 4041 EXIST::FUNCTION:
EVP_PKEY_asn1_get0 4042 EXIST::FUNCTION:
EVP_PKEY_paramgen_init 4043 EXIST::FUNCTION:
EVP_PKEY_sign 4044 EXIST::FUNCTION:
EVP_PKEY_meth_set_init 4045 EXIST::FUNCTION:
EVP_PKEY_meth_set_verify_recover 4046 EXIST::FUNCTION:
EVP_PKEY_CTX_set_cb 4047 EXIST::FUNCTION:
EVP_PKEY_meth_set_derive 4048 EXIST::FUNCTION:
BUF_reverse 4049 EXIST::FUNCTION:
ASN1_bn_print 4050 EXIST::FUNCTION:BIO
EVP_PKEY_asn1_get_count 4051 EXIST::FUNCTION:
PKCS8_pkey_set0 4052 EXIST::FUNCTION:
EVP_PKEY_asn1_set_private 4053 EXIST::FUNCTION:
EVP_PKEY_meth_set_verify 4054 EXIST::FUNCTION:
EVP_PKEY_asn1_get0_info 4055 EXIST::FUNCTION:
EVP_PKEY_CTX_set_app_data 4056 EXIST::FUNCTION:
EVP_PKEY_meth_set_verifyctx 4057 EXIST::FUNCTION:
EVP_PKEY_CTX_get_app_data 4058 EXIST::FUNCTION:
X509_PUBKEY_get0_param 4059 EXIST::FUNCTION:
EVP_PKEY_asn1_set_param 4060 EXIST::FUNCTION:
EVP_PKEY_meth_set_encrypt 4061 EXIST::FUNCTION:
EVP_PKEY_verify 4062 EXIST::FUNCTION:
EVP_PKEY_decrypt_old 4063 EXIST::FUNCTION:
EVP_PKEY_asn1_find_str 4064 EXIST::FUNCTION:
EVP_PKEY_derive 4065 EXIST::FUNCTION:
PEM_write_bio_Parameters 4066 EXIST::FUNCTION:
EVP_PKEY_meth_set_signctx 4067 EXIST::FUNCTION:
EVP_PKEY_CTX_free 4068 EXIST::FUNCTION:
EVP_PKEY_get0 4069 EXIST::FUNCTION:
EVP_PKEY_meth_find 4070 EXIST::FUNCTION:
EVP_PKEY_verify_init 4071 EXIST::FUNCTION:
EVP_PKEY_derive_set_peer 4072 EXIST::FUNCTION:
PEM_read_bio_Parameters 4073 EXIST::FUNCTION:
EVP_PKEY_meth_set_cleanup 4074 EXIST::FUNCTION:
EVP_PKEY_asn1_free 4075 EXIST::FUNCTION:
EVP_PKEY_meth_set_keygen 4076 EXIST::FUNCTION:
EVP_PKEY_paramgen 4077 EXIST::FUNCTION:
EVP_PKEY_meth_set_paramgen 4078 EXIST::FUNCTION:
EVP_PKEY_verify_recover 4079 EXIST::FUNCTION:
EVP_PKEY_asn1_set_ctrl 4080 EXIST::FUNCTION:
EVP_PKEY_CTX_new_id 4081 EXIST::FUNCTION:
util/mkdef.pl
浏览文件 @
c20276e4
...
...
@@ -95,6 +95,8 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
"
FP_API
",
"
STDIO
",
"
SOCK
",
"
KRB5
",
"
DGRAM
",
# Engines
"
STATIC_ENGINE
",
"
ENGINE
",
"
HW
",
"
GMP
",
# TLS
"
TLSEXT
",
"
PSK
",
# Deprecated functions
"
DEPRECATED
"
);
...
...
@@ -114,6 +116,7 @@ my $no_md2; my $no_md4; my $no_md5; my $no_sha; my $no_ripemd; my $no_mdc2;
my
$no_rsa
;
my
$no_dsa
;
my
$no_dh
;
my
$no_hmac
=
0
;
my
$no_aes
;
my
$no_krb5
;
my
$no_ec
;
my
$no_ecdsa
;
my
$no_ecdh
;
my
$no_engine
;
my
$no_hw
;
my
$no_fp_api
;
my
$no_static_engine
=
1
;
my
$no_gmp
;
my
$no_deprecated
;
my
$no_psk
;
my
$no_tlsext
;
foreach
(
@ARGV
,
split
(
/ /
,
$options
))
...
...
@@ -225,6 +228,7 @@ $max_crypto = $max_num;
my
$ssl
=
"
ssl/ssl.h
";
$ssl
.=
"
ssl/kssl.h
";
$ssl
.=
"
ssl/tls1.h
";
my
$crypto
=
"
crypto/crypto.h
";
$crypto
.=
"
crypto/o_dir.h
";
...
...
@@ -1107,6 +1111,8 @@ sub is_valid
if
(
$keyword
eq
"
FP_API
"
&&
$no_fp_api
)
{
return
0
;
}
if
(
$keyword
eq
"
STATIC_ENGINE
"
&&
$no_static_engine
)
{
return
0
;
}
if
(
$keyword
eq
"
GMP
"
&&
$no_gmp
)
{
return
0
;
}
if
(
$keyword
eq
"
TLSEXT
"
&&
$no_tlsext
)
{
return
0
;
}
if
(
$keyword
eq
"
PSK
"
&&
$no_psk
)
{
return
0
;
}
if
(
$keyword
eq
"
DEPRECATED
"
&&
$no_deprecated
)
{
return
0
;
}
# Nothing recognise as true
...
...
util/ssleay.num
浏览文件 @
c20276e4
...
...
@@ -227,7 +227,9 @@ SSL_COMP_get_compression_methods 276 EXIST:!VMS:FUNCTION:COMP
SSL_COMP_get_compress_methods 276 EXIST:VMS:FUNCTION:COMP
SSL_SESSION_get_id 277 EXIST::FUNCTION:
SSL_set_SSL_CTX 278 EXIST::FUNCTION:
SSL_CTX_use_psk_identity_hint 279 EXIST::FUNCTION:
SSL_get_psk_identity_hint 280 EXIST::FUNCTION:
SSL_get_psk_identity 281 EXIST::FUNCTION:
SSL_use_psk_identity_hint 282 EXIST::FUNCTION:
SSL_CTX_use_psk_identity_hint 279 EXIST::FUNCTION:PSK
SSL_get_psk_identity_hint 280 EXIST::FUNCTION:PSK
SSL_get_psk_identity 281 EXIST::FUNCTION:PSK
SSL_use_psk_identity_hint 282 EXIST::FUNCTION:PSK
SSL_get_servername 283 EXIST::FUNCTION:TLSEXT
SSL_get_servername_type 284 EXIST::FUNCTION:TLSEXT
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录