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:
		@@ -904,7 +904,7 @@ static const struct signature_alg sha512_alg = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static const struct signature_alg sha384_alg = {
 | 
					static const struct signature_alg sha384_alg = {
 | 
				
			||||||
    "sha-384",
 | 
					    "sha-384",
 | 
				
			||||||
    ASN1_OID_ID_SHA512,
 | 
					    ASN1_OID_ID_SHA384,
 | 
				
			||||||
    &_hx509_signature_sha384_data,
 | 
					    &_hx509_signature_sha384_data,
 | 
				
			||||||
    NULL,
 | 
					    NULL,
 | 
				
			||||||
    NULL,
 | 
					    NULL,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user