Use digest indices for signature algorithms.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 29 Nov 2015 16:54:27 +0000 (16:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 30 Nov 2015 03:49:35 +0000 (03:49 +0000)
commit7afd231275a6841556dd674ac0df471d0b7bcf33
treef3a78d58ac73ff01caf6676a3695dc2a2560fc69
parentaa430c7467bcb7aa0a88fac45369e3dea7e13a23
Use digest indices for signature algorithms.

Don't hard code EVP_sha* etc for signature algorithms: use table
indices instead. Add SHA224 and SHA512 to tables.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
ssl/ssl_ciph.c
ssl/ssl_locl.h
ssl/t1_lib.c