mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
cmp_client.c: Remove dead code of variable 'txt' in cert_response()
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13488)
This commit is contained in:
parent
61b0fead5e
commit
a676c53c7f
@ -633,12 +633,7 @@ static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid,
|
||||
|
||||
/* not throwing failure earlier as transfer_cb may call ERR_clear_error() */
|
||||
if (fail_info != 0) {
|
||||
if (txt == NULL)
|
||||
ERR_raise_data(ERR_LIB_CMP, CMP_R_CERTIFICATE_NOT_ACCEPTED,
|
||||
"rejecting newly enrolled cert with subject: %s",
|
||||
subj);
|
||||
else
|
||||
ERR_raise_data(ERR_LIB_CMP, CMP_R_CERTIFICATE_NOT_ACCEPTED,
|
||||
ERR_raise_data(ERR_LIB_CMP, CMP_R_CERTIFICATE_NOT_ACCEPTED,
|
||||
"rejecting newly enrolled cert with subject: %s; %s",
|
||||
subj, txt);
|
||||
ret = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user