- Prevented use of long long in bignum if POLARSSL_HAVE_LONGLONG not defined (found by Giles Bathgate).
This commit is contained in:
parent
5946fd9124
commit
1a9382ea80
2 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,9 @@ Features
|
||||||
and X509parse.
|
and X509parse.
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
|
* Prevented use of long long in bignum if
|
||||||
|
POLARSSL_HAVE_LONGLONG not defined (found by Giles
|
||||||
|
Bathgate).
|
||||||
* Fixed incorrect handling of negative strings in
|
* Fixed incorrect handling of negative strings in
|
||||||
mpi_read_string() (found by code coverage tests).
|
mpi_read_string() (found by code coverage tests).
|
||||||
* Fixed segfault on handling empty rsa_context in
|
* Fixed segfault on handling empty rsa_context in
|
||||||
|
|
|
@ -54,9 +54,11 @@ typedef unsigned long t_dbl;
|
||||||
defined(__ia64__) || defined(__alpha__)
|
defined(__ia64__) || defined(__alpha__)
|
||||||
typedef unsigned int t_dbl __attribute__((mode(TI)));
|
typedef unsigned int t_dbl __attribute__((mode(TI)));
|
||||||
#else
|
#else
|
||||||
|
#if defined(POLARSSL_HAVE_LONGLONG)
|
||||||
typedef unsigned long long t_dbl;
|
typedef unsigned long long t_dbl;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue