mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Removed logically dead code from function i2r_issuer_sign_tool
Since new_line is assigned with 0 in the very begging of the function check added at line no. 106 will never become true. Hence removing. CLA: trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23284)
This commit is contained in:
parent
38b2508f63
commit
ffeae4c4e7
@ -103,9 +103,6 @@ static int i2r_issuer_sign_tool(X509V3_EXT_METHOD *method,
|
||||
return 0;
|
||||
}
|
||||
if (ist->signTool != NULL) {
|
||||
if (new_line == 1) {
|
||||
BIO_write(out, "\n", 1);
|
||||
}
|
||||
BIO_printf(out, "%*ssignTool : ", indent, "");
|
||||
BIO_write(out, ist->signTool->data, ist->signTool->length);
|
||||
new_line = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user