hx509: correct ASN.1 OID typo for SHA-384

A copy and paste error initialized the SHA-384 structure in libhx509
with the OID for SHA-512.

Fixes: 776
This commit is contained in:
Luke Howard
2021-05-19 14:41:03 +10:00
parent 497a561b4d
commit 718e3f8b68

View File

@@ -904,7 +904,7 @@ static const struct signature_alg sha512_alg = {
static const struct signature_alg sha384_alg = {
"sha-384",
ASN1_OID_ID_SHA512,
ASN1_OID_ID_SHA384,
&_hx509_signature_sha384_data,
NULL,
NULL,