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:
parent
b2c312d670
commit
fdd5fed036
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user