31d5c3897686a2e2055a2f14acb76fec1f5c6305

If mp_ubin_size(s) returns zero then mp_to_ubin() will fail and not return MP_OKAY. If MP_OKAY is not returned, NULL is returned to the caller of mpz2BN(). This change avoids the unnecessary memory allocation and function calls. It also removes a dereference after null warning from coverity. Change-Id: I52ff2c166964e41cb4eef1dac637904bf2bf13bf
Heimdal
Heimdal is an implementation of:
- ASN.1/DER,
- PKIX, and
- Kerberos.
For information how to install see here.
There are man pages for most of the commands.
Bug reports and bugs are appreciated. Use GitHub issues.
For more information see the project homepage https://heimdal.software/heimdal/ or the mailing lists:
heimdal-announce@heimdal.software low-volume announcement heimdal-discuss@heimdal.software high-volume discussion
send mail to heimdal-announce-subscribe@heimdal.software and heimdal-discuss-subscribe@heimdal.software respectively to subscribe.
Build Status
Description
Languages
C
92.1%
Roff
2.8%
Shell
2.3%
Makefile
0.7%
M4
0.5%
Other
1.4%