Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
f598cd13
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看板
提交
f598cd13
编写于
7月 11, 1999
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Various changes to stop VC++ choking under Win32.
上级
f513939e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
34 addition
and
5 deletion
+34
-5
CHANGES
CHANGES
+6
-0
crypto/bio/b_dump.c
crypto/bio/b_dump.c
+1
-1
crypto/evp/p5_crpt2.c
crypto/evp/p5_crpt2.c
+4
-4
util/libeay.num
util/libeay.num
+20
-0
util/mkdef.pl
util/mkdef.pl
+1
-0
util/ssleay.num
util/ssleay.num
+2
-0
未找到文件。
CHANGES
浏览文件 @
f598cd13
...
...
@@ -4,6 +4,12 @@
Changes between 0.9.3a and 0.9.4
*) Various changes to make Win32 compile work:
1. Casts to avoid "loss of data" warnings in p5_crpt2.c
2. Change unsigned int to int in b_dump.c to avoid "signed/unsigned
comparison" warnings.
3. Add sk_<TYPE>_sort to DEF file generator and do make update.
*) Add a debugging option to PKCS#5 v2 key generation function: when
you #define DEBUG_PKCS5V2 passwords, salts, iteration counts and
derived keys are printed to stderr.
...
...
crypto/bio/b_dump.c
浏览文件 @
f598cd13
...
...
@@ -71,7 +71,7 @@ int BIO_dump(BIO *bio, const char *s, int len)
{
int
ret
=
0
;
char
buf
[
160
+
1
],
tmp
[
20
];
unsigned
int
i
,
j
,
rows
,
trunc
;
int
i
,
j
,
rows
,
trunc
;
unsigned
char
ch
;
trunc
=
0
;
...
...
crypto/evp/p5_crpt2.c
浏览文件 @
f598cd13
...
...
@@ -92,10 +92,10 @@ int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
/* We are unlikely to ever use more than 256 blocks (5120 bits!)
* but just in case...
*/
itmp
[
0
]
=
(
i
>>
24
)
&
0xff
;
itmp
[
1
]
=
(
i
>>
16
)
&
0xff
;
itmp
[
2
]
=
(
i
>>
8
)
&
0xff
;
itmp
[
3
]
=
i
&
0xff
;
itmp
[
0
]
=
(
unsigned
char
)((
i
>>
24
)
&
0xff
)
;
itmp
[
1
]
=
(
unsigned
char
)((
i
>>
16
)
&
0xff
)
;
itmp
[
2
]
=
(
unsigned
char
)((
i
>>
8
)
&
0xff
)
;
itmp
[
3
]
=
(
unsigned
char
)(
i
&
0xff
)
;
HMAC_Init
(
&
hctx
,
pass
,
passlen
,
EVP_sha1
());
HMAC_Update
(
&
hctx
,
salt
,
saltlen
);
HMAC_Update
(
&
hctx
,
itmp
,
4
);
...
...
util/libeay.num
浏览文件 @
f598cd13
...
...
@@ -1821,3 +1821,23 @@ PKCS7_signatureVerify 1845
RSA_set_method 1846
RSA_get_method 1847
RSA_get_default_method 1848
sk_CONF_VALUE_sort 1849
sk_X509_REVOKED_sort 1850
sk_X509_ATTRIBUTE_sort 1851
sk_X509_INFO_sort 1852
sk_POLICYINFO_sort 1853
sk_GENERAL_NAME_sort 1854
sk_X509_sort 1855
sk_X509_NAME_sort 1856
sk_ASN1_TYPE_sort 1857
sk_X509_ALGOR_sort 1858
sk_PKCS7_RECIP_INFO_sort 1859
sk_X509_NAME_ENTRY_sort 1860
sk_X509_EXTENSION_sort 1861
sk_SXNETID_sort 1862
sk_ASN1_OBJECT_sort 1863
sk_PKCS7_SIGNER_INFO_sort 1864
sk_X509_LOOKUP_sort 1865
sk_POLICYQUALINFO_sort 1866
sk_X509_CRL_sort 1867
sk_DIST_POINT_sort 1868
util/mkdef.pl
浏览文件 @
f598cd13
...
...
@@ -237,6 +237,7 @@ sub do_defs
$funcs
{"
sk_
${
1
}
_pop_free
"}
=
1
;
$funcs
{"
sk_
${
1
}
_shift
"}
=
1
;
$funcs
{"
sk_
${
1
}
_pop
"}
=
1
;
$funcs
{"
sk_
${
1
}
_sort
"}
=
1
;
}
elsif
(
$safe_stack_def
&&
/^\s*DECLARE_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/
)
{
$funcs
{"
d2i_ASN1_SET_OF_
${
1
}
"}
=
1
;
...
...
util/ssleay.num
浏览文件 @
f598cd13
...
...
@@ -212,3 +212,5 @@ SSL_get_verify_depth 229
sk_SSL_COMP_unshift 230
SSL_CTX_set_session_id_context 231
SSL_CTX_set_cert_verify_callback 232
sk_SSL_COMP_sort 233
sk_SSL_CIPHER_sort 234
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录