Review comment

This commit is contained in:
Tesfa Mael
2019-10-15 12:24:57 -07:00
parent 1a18e3bba8
commit 1267987c31
3 changed files with 3 additions and 3 deletions

View File

@@ -5233,7 +5233,7 @@ int mp_toradix (mp_int *a, char *str, int radix)
*str++ = mp_s_rmap[d];
++digs;
}
#ifdef OPENSSL_EXTRA
#ifndef WC_DISABLE_RADIX_ZERO_PAD
/* For hexadecimal output, add zero padding when number of digits is odd */
if ((digs & 1) && (radix == 16)) {
*str++ = mp_s_rmap[0];