ovs-pki: Use SHA-1 instead of SHA-512 as message digest.
authorAlex Wang <alexw@nicira.com>
Mon, 22 Sep 2014 22:34:12 +0000 (15:34 -0700)
committerAlex Wang <alexw@nicira.com>
Tue, 23 Sep 2014 20:11:37 +0000 (13:11 -0700)
commit53d58ab0fabe8eab57a0d29f5bca08adc620c8da
treeb6d9de9b49225dd7e6e6586452c535bb6b2dd996
parent635e5bf55b26c3a969f983b7fad586b0095ae2b2
ovs-pki: Use SHA-1 instead of SHA-512 as message digest.

Commit 9ff33ca7 (ovs-pki: Use SHA-512 instead of MD5 as message
digest.) changes the message digest algorithm to SHA-512.  This
seems to break the unit tests on some xenserver 5.6/6.0 builds
causing the error: "SSL_connect: error:0D0C50A1:asn1 encoding
routines:ASN1_item_verify:unknown message digest algorithm".

As a solution, this commit changes the message digest algorithm
to SHA-1 which works for both the above xenserver builds and
centos 7.

VMware-BZ: #1304530

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
NEWS
utilities/ovs-pki.in