mirror of
https://github.com/openssl/openssl.git
synced 2024-12-16 21:43:42 +08:00
Output prog name within error message
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3141)
This commit is contained in:
parent
28e5ea88a8
commit
67887855af
@ -1487,17 +1487,17 @@ int s_client_main(int argc, char **argv)
|
||||
}
|
||||
#endif
|
||||
if (max_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) {
|
||||
BIO_printf(bio_err, "Bad max send fragment size\n");
|
||||
BIO_printf(bio_err, "%s: Bad max send fragment size\n", prog);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (split_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) {
|
||||
BIO_printf(bio_err, "Bad split send fragment size\n");
|
||||
BIO_printf(bio_err, "%s: Bad split send fragment size\n", prog);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (max_pipelines > SSL_MAX_PIPELINES) {
|
||||
BIO_printf(bio_err, "Bad max pipelines value\n");
|
||||
BIO_printf(bio_err, "%s: Bad max pipelines value\n", prog);
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
@ -1575,17 +1575,17 @@ int s_server_main(int argc, char *argv[])
|
||||
}
|
||||
#endif
|
||||
if (max_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) {
|
||||
BIO_printf(bio_err, "Bad max send fragment size\n");
|
||||
BIO_printf(bio_err, "%s: Bad max send fragment size\n", prog);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (split_send_fragment > SSL3_RT_MAX_PLAIN_LENGTH) {
|
||||
BIO_printf(bio_err, "Bad split send fragment size\n");
|
||||
BIO_printf(bio_err, "%s:Bad split send fragment size\n", prog);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (max_pipelines > SSL_MAX_PIPELINES) {
|
||||
BIO_printf(bio_err, "Bad max pipelines value\n");
|
||||
BIO_printf(bio_err, "%s:too large max-pipelines value\n", prog);
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user