Commit 1a9382ea authored by Paul Bakker's avatar Paul Bakker
Browse files

- Prevented use of long long in bignum if POLARSSL_HAVE_LONGLONG not defined...

 - Prevented use of long long in bignum if POLARSSL_HAVE_LONGLONG not defined (found by Giles Bathgate).
parent 5946fd91
......@@ -9,6 +9,9 @@ Features
and X509parse.
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
mpi_read_string() (found by code coverage tests).
* Fixed segfault on handling empty rsa_context in
......
......@@ -54,7 +54,9 @@ typedef unsigned long t_dbl;
defined(__ia64__) || defined(__alpha__)
typedef unsigned int t_dbl __attribute__((mode(TI)));
#else
typedef unsigned long long t_dbl;
#if defined(POLARSSL_HAVE_LONGLONG)
typedef unsigned long long t_dbl;
#endif
#endif
#endif
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment