Also print name for SSL_SIGN_RSA_PKCS1_MD5_SHA1.

Missed one.

Change-Id: I61394db2dded0741cffa977071be998e3f4e4b50
Reviewed-on: https://boringssl-review.googlesource.com/22645
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2017-11-05 16:37:07 -05:00 committed by CQ bot account: commit-bot@chromium.org
parent b2c312d670
commit fdd5fed036

View File

@ -441,6 +441,8 @@ void SSL_CTX_set_private_key_method(SSL_CTX *ctx,
const char *SSL_get_signature_algorithm_name(uint16_t sigalg, const char *SSL_get_signature_algorithm_name(uint16_t sigalg,
int include_curve) { int include_curve) {
switch (sigalg) { switch (sigalg) {
case SSL_SIGN_RSA_PKCS1_MD5_SHA1:
return "rsa_pkcs1_md5_sha1";
case SSL_SIGN_RSA_PKCS1_SHA1: case SSL_SIGN_RSA_PKCS1_SHA1:
return "rsa_pkcs1_sha1"; return "rsa_pkcs1_sha1";
case SSL_SIGN_RSA_PKCS1_SHA256: case SSL_SIGN_RSA_PKCS1_SHA256: