Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
f3e911d5
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f3e911d5
编写于
11月 19, 2016
作者:
K
Kurt Roeckx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix formatting of fuzzers
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
GH: #2023
上级
82cb311f
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
42 addition
and
21 deletion
+42
-21
fuzz/asn1.c
fuzz/asn1.c
+4
-2
fuzz/asn1parse.c
fuzz/asn1parse.c
+4
-2
fuzz/bignum.c
fuzz/bignum.c
+4
-2
fuzz/bndiv.c
fuzz/bndiv.c
+4
-2
fuzz/cms.c
fuzz/cms.c
+4
-2
fuzz/conf.c
fuzz/conf.c
+4
-2
fuzz/crl.c
fuzz/crl.c
+4
-2
fuzz/ct.c
fuzz/ct.c
+4
-2
fuzz/driver.c
fuzz/driver.c
+2
-1
fuzz/server.c
fuzz/server.c
+4
-2
fuzz/x509.c
fuzz/x509.c
+4
-2
未找到文件。
fuzz/asn1.c
浏览文件 @
f3e911d5
...
...
@@ -183,11 +183,13 @@ static ASN1_ITEM_EXP *item_type[] = {
NULL
};
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
n
;
ASN1_PCTX
*
pctx
=
ASN1_PCTX_new
();
...
...
fuzz/asn1parse.c
浏览文件 @
f3e911d5
...
...
@@ -18,11 +18,13 @@
#include <openssl/x509v3.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
static
BIO
*
bio_out
;
if
(
bio_out
==
NULL
)
...
...
fuzz/bignum.c
浏览文件 @
f3e911d5
...
...
@@ -17,11 +17,13 @@
#include <openssl/bn.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
static
BN_CTX
*
ctx
;
static
BIGNUM
*
b1
;
static
BIGNUM
*
b2
;
...
...
fuzz/bndiv.c
浏览文件 @
f3e911d5
...
...
@@ -17,11 +17,13 @@
#include <openssl/bn.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
static
BN_CTX
*
ctx
;
static
BIGNUM
*
b1
;
static
BIGNUM
*
b2
;
...
...
fuzz/cms.c
浏览文件 @
f3e911d5
...
...
@@ -16,11 +16,13 @@
#include <openssl/cms.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
CMS_ContentInfo
*
i
;
BIO
*
in
;
if
(
!
len
)
{
...
...
fuzz/conf.c
浏览文件 @
f3e911d5
...
...
@@ -15,11 +15,13 @@
#include <openssl/conf.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
CONF
*
conf
;
BIO
*
in
;
long
eline
;
...
...
fuzz/crl.c
浏览文件 @
f3e911d5
...
...
@@ -12,11 +12,13 @@
#include <openssl/bio.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
const
unsigned
char
*
p
=
buf
;
unsigned
char
*
der
=
NULL
;
...
...
fuzz/ct.c
浏览文件 @
f3e911d5
...
...
@@ -16,11 +16,13 @@
#include <openssl/ct.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
const
uint8_t
**
pp
=
&
buf
;
unsigned
char
*
der
=
NULL
;
STACK_OF
(
SCT
)
*
scts
=
d2i_SCT_LIST
(
NULL
,
pp
,
len
);
...
...
fuzz/driver.c
浏览文件 @
f3e911d5
...
...
@@ -22,7 +22,8 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
return
0
;
}
int
LLVMFuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
LLVMFuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
return
FuzzerTestOneInput
(
buf
,
len
);
}
...
...
fuzz/server.c
浏览文件 @
f3e911d5
...
...
@@ -191,7 +191,8 @@ static const uint8_t kRSAPrivateKeyDER[] = {
static
SSL_CTX
*
ctx
;
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
const
uint8_t
*
bufp
=
kRSAPrivateKeyDER
;
RSA
*
privkey
;
EVP_PKEY
*
pkey
;
...
...
@@ -216,7 +217,8 @@ int FuzzerInitialize(int *argc, char ***argv) {
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
SSL
*
server
;
BIO
*
in
;
BIO
*
out
;
...
...
fuzz/x509.c
浏览文件 @
f3e911d5
...
...
@@ -12,11 +12,13 @@
#include <openssl/bio.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
const
unsigned
char
*
p
=
buf
;
unsigned
char
*
der
=
NULL
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录