Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
d754b385
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d754b385
编写于
2月 20, 2000
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change the 'other' structure in certificate aux info.
上级
853f757e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
6 deletion
+12
-6
CHANGES
CHANGES
+5
-0
Configure
Configure
+1
-1
crypto/asn1/x_x509a.c
crypto/asn1/x_x509a.c
+5
-4
crypto/x509/x509.h
crypto/x509/x509.h
+1
-1
未找到文件。
CHANGES
浏览文件 @
d754b385
...
...
@@ -4,6 +4,11 @@
Changes between 0.9.4 and 0.9.5 [xx XXX 2000]
*) Change the 'other' type in certificate aux info to a STACK_OF
X509_ALGOR. Although not an AlgorithmIdentifier as such it has
the required ASN1 format: arbitrary types determined by an OID.
[Steve Henson]
*) Add some PEM_write_X509_REQ_NEW() functions and a command line
argument to 'req'. This is not because the function is newer or
better than others it just uses the work 'NEW' in the certificate
...
...
Configure
浏览文件 @
d754b385
...
...
@@ -103,7 +103,7 @@ my %table=(
"debug-rse","cc:-DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"debug-bodo", "gcc:-DBIO_PAIR_DEBUG -DL_ENDIAN -DREF_CHECK -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -g -m486 -pedantic -Wshadow -Wall::-D_REENTRANT::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"debug-ulf", "gcc:-DL_ENDIAN -DREF_CHECK -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -g -O2 -m486 -Wall -Werror -Wshadow -pipe::-D_REENTRANT::$x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"debug-steve", "gcc:-DL_ENDIAN -DREF_CHECK -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -DPEDANTIC -g -O2 -m486 -pedantic -Wall -Wshadow -pipe::-D_REENTRANT::$x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"debug-steve", "gcc:-DL_ENDIAN -DREF_CHECK -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -DPEDANTIC -g -O2 -m486 -pedantic -Wall -W
error -W
shadow -pipe::-D_REENTRANT::$x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"debug-levitte-linux-elf","gcc:-DRL_DEBUG -DREF_CHECK -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DNO_ASM -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -ggdb -g3 -m486 -pedantic -ansi -Wall -Wshadow -Wid-clash-31 -pipe::-D_REENTRANT:::",
"dist", "cc:-O::(unknown):::::",
...
...
crypto/asn1/x_x509a.c
浏览文件 @
d754b385
...
...
@@ -84,7 +84,8 @@ X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a, unsigned char **pp, long len
d2i_ASN1_OBJECT
,
ASN1_OBJECT_free
,
0
);
M_ASN1_D2I_get_opt
(
ret
->
alias
,
d2i_ASN1_UTF8STRING
,
V_ASN1_UTF8STRING
);
M_ASN1_D2I_get_opt
(
ret
->
keyid
,
d2i_ASN1_OCTET_STRING
,
V_ASN1_OCTET_STRING
);
M_ASN1_D2I_get_opt
(
ret
->
other
,
d2i_ASN1_TYPE
,
V_ASN1_SEQUENCE
);
M_ASN1_D2I_get_IMP_set_opt_type
(
X509_ALGOR
,
ret
->
other
,
d2i_X509_ALGOR
,
X509_ALGOR_free
,
1
);
M_ASN1_D2I_Finish
(
a
,
X509_CERT_AUX_free
,
ASN1_F_D2I_X509_CERT_AUX
);
}
...
...
@@ -110,7 +111,7 @@ void X509_CERT_AUX_free(X509_CERT_AUX *a)
sk_ASN1_OBJECT_pop_free
(
a
->
reject
,
ASN1_OBJECT_free
);
ASN1_UTF8STRING_free
(
a
->
alias
);
ASN1_OCTET_STRING_free
(
a
->
keyid
);
ASN1_TYPE_free
(
a
->
other
);
sk_X509_ALGOR_pop_free
(
a
->
other
,
X509_ALGOR_free
);
Free
(
a
);
}
...
...
@@ -123,7 +124,7 @@ int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **pp)
M_ASN1_I2D_len
(
a
->
alias
,
i2d_ASN1_UTF8STRING
);
M_ASN1_I2D_len
(
a
->
keyid
,
i2d_ASN1_OCTET_STRING
);
M_ASN1_I2D_len
(
a
->
other
,
i2d_ASN1_TYPE
);
M_ASN1_I2D_len
_IMP_SEQUENCE_opt_type
(
X509_ALGOR
,
a
->
other
,
i2d_X509_ALGOR
,
1
);
M_ASN1_I2D_seq_total
();
...
...
@@ -132,7 +133,7 @@ int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **pp)
M_ASN1_I2D_put
(
a
->
alias
,
i2d_ASN1_UTF8STRING
);
M_ASN1_I2D_put
(
a
->
keyid
,
i2d_ASN1_OCTET_STRING
);
M_ASN1_I2D_put
(
a
->
other
,
i2d_ASN1_TYPE
);
M_ASN1_I2D_put
_IMP_SEQUENCE_opt_type
(
X509_ALGOR
,
a
->
other
,
i2d_X509_ALGOR
,
1
);
M_ASN1_I2D_finish
();
}
...
...
crypto/x509/x509.h
浏览文件 @
d754b385
...
...
@@ -242,7 +242,7 @@ typedef struct x509_cert_aux_st
STACK_OF
(
ASN1_OBJECT
)
*
reject
;
/* rejected uses */
ASN1_UTF8STRING
*
alias
;
/* "friendly name" */
ASN1_OCTET_STRING
*
keyid
;
/* key id of private key */
ASN1_TYPE
*
other
;
/* other unspecified info */
STACK_OF
(
X509_ALGOR
)
*
other
;
/* other unspecified info */
}
X509_CERT_AUX
;
typedef
struct
x509_st
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录