mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 03:15:38 +00:00
- Enlarged debug buffer to facilitate long certificate values and filenames
This commit is contained in:
parent
2da561c2a1
commit
3681b118ec
|
@ -171,7 +171,7 @@ void debug_print_mpi( ssl_context *ssl, int level,
|
||||||
void debug_print_crt( ssl_context *ssl, int level,
|
void debug_print_crt( ssl_context *ssl, int level,
|
||||||
char *file, int line, char *text, x509_cert *crt )
|
char *file, int line, char *text, x509_cert *crt )
|
||||||
{
|
{
|
||||||
char str[512], prefix[64], *p;
|
char str[1024], prefix[64], *p;
|
||||||
int i = 0, maxlen = sizeof( prefix ) - 1;
|
int i = 0, maxlen = sizeof( prefix ) - 1;
|
||||||
|
|
||||||
if( ssl->f_dbg == NULL || crt == NULL )
|
if( ssl->f_dbg == NULL || crt == NULL )
|
||||||
|
|
|
@ -1402,7 +1402,7 @@ char *x509parse_cert_info( char *prefix, x509_cert *crt )
|
||||||
{
|
{
|
||||||
int i, n;
|
int i, n;
|
||||||
char *p, *end;
|
char *p, *end;
|
||||||
static char buf[512];
|
static char buf[1024];
|
||||||
|
|
||||||
p = buf;
|
p = buf;
|
||||||
end = buf + sizeof( buf ) - 1;
|
end = buf + sizeof( buf ) - 1;
|
||||||
|
|
Loading…
Reference in a new issue