Fix sha2 oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20035 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1353,12 +1353,12 @@ _hx509_generate_private_key(hx509_context context,
|
||||
|
||||
static const heim_octet_string null_entry_oid = { 2, rk_UNCONST("\x05\x00") };
|
||||
|
||||
static const unsigned sha512_oid_tree[] = { 2, 16, 840, 1, 101, 3, 4, 3 };
|
||||
static const unsigned sha512_oid_tree[] = { 2, 16, 840, 1, 101, 3, 4, 2, 3 };
|
||||
const AlgorithmIdentifier _hx509_signature_sha512_data = {
|
||||
{ 9, rk_UNCONST(sha512_oid_tree) }, rk_UNCONST(&null_entry_oid)
|
||||
};
|
||||
|
||||
static const unsigned sha384_oid_tree[] = { 2, 16, 840, 1, 101, 3, 4, 2 };
|
||||
static const unsigned sha384_oid_tree[] = { 2, 16, 840, 1, 101, 3, 4, 2, 2 };
|
||||
const AlgorithmIdentifier _hx509_signature_sha384_data = {
|
||||
{ 9, rk_UNCONST(sha384_oid_tree) }, rk_UNCONST(&null_entry_oid)
|
||||
};
|
||||
|
Reference in New Issue
Block a user