From fdd5fed036996997dc11fef8fb1d4b10cd53b15f Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sun, 5 Nov 2017 16:37:07 -0500 Subject: [PATCH] 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 Reviewed-by: Steven Valdez CQ-Verified: CQ bot account: commit-bot@chromium.org --- ssl/ssl_privkey.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssl/ssl_privkey.cc b/ssl/ssl_privkey.cc index da037d73..e9990aff 100644 --- a/ssl/ssl_privkey.cc +++ b/ssl/ssl_privkey.cc @@ -441,6 +441,8 @@ void SSL_CTX_set_private_key_method(SSL_CTX *ctx, const char *SSL_get_signature_algorithm_name(uint16_t sigalg, int include_curve) { switch (sigalg) { + case SSL_SIGN_RSA_PKCS1_MD5_SHA1: + return "rsa_pkcs1_md5_sha1"; case SSL_SIGN_RSA_PKCS1_SHA1: return "rsa_pkcs1_sha1"; case SSL_SIGN_RSA_PKCS1_SHA256: