add DER NULL to the digest oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15801 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -765,19 +765,21 @@ _hx509_parse_private_key(const heim_oid *key_oid,
|
||||
*
|
||||
*/
|
||||
|
||||
static const heim_octet_string null_entry_oid = { 2, "\x05\x00" };
|
||||
|
||||
static const unsigned sha1_oid_tree[] = { 1, 3, 14, 3, 2, 26 };
|
||||
const AlgorithmIdentifier _hx509_signature_sha1_data = {
|
||||
{ 6, rk_UNCONST(sha1_oid_tree) }, NULL
|
||||
{ 6, rk_UNCONST(sha1_oid_tree) }, &null_entry_oid
|
||||
};
|
||||
|
||||
static const unsigned md5_oid_tree[] = { 1, 2, 840, 113549, 2, 5 };
|
||||
const AlgorithmIdentifier _hx509_signature_md5_data = {
|
||||
{ 6, rk_UNCONST(md5_oid_tree) }, NULL
|
||||
{ 6, rk_UNCONST(md5_oid_tree) }, &null_entry_oid
|
||||
};
|
||||
|
||||
static const unsigned md2_oid_tree[] = { 1, 2, 840, 113549, 2, 2 };
|
||||
const AlgorithmIdentifier _hx509_signature_md2_data = {
|
||||
{ 6, rk_UNCONST(md2_oid_tree) }, NULL
|
||||
{ 6, rk_UNCONST(md2_oid_tree) }, &null_entry_oid
|
||||
};
|
||||
|
||||
static const unsigned rsa_with_sha1_oid[] ={ 1, 2, 840, 113549, 1, 1, 5 };
|
||||
|
Reference in New Issue
Block a user