Skip to content

Commit

Permalink
Supports empty bignum on print.
Browse files Browse the repository at this point in the history
Fix for issue Mbed-TLS#2723
  • Loading branch information
lagosantol authored Feb 16, 2021
1 parent e31fb03 commit 74d43c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level,
NULL == ssl->conf ||
NULL == ssl->conf->f_dbg ||
NULL == X ||
0 == X->n ||
level > debug_threshold )
{
return;
Expand Down

0 comments on commit 74d43c0

Please sign in to comment.