Commit 38cdee0e authored by Sergio Giro's avatar Sergio Giro
Browse files

sun.security: port rev/5dc3f32c0d26

The revision rev/5dc3f32c0d26 introduced changes to names of
algorithms in AlgorithmId

As a result, for the OID of SHA, it returns SHA-1 instead of SHA.
Note that SHA needed to be converted to SHA1 explicitly in code that
the revision deleted.

In N, for the algorithms whose name was hardcoded in the code
the name was returned without a hyphen (SHAXXX) while names obtained
by scanning the algorithms offered by providers were returned with
a hyphen (SHA-XXX). Now they are consistenly returned with a hyphen.

Change-Id: I43a85b72bc960c7868a121219cea3d3e4a3289b5
Bug: 29631070
Test: make CtsLibcoreTestCases
parent 292beb4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment