mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
parameterize REPORT_OPENSSL_ERRORS
This commit is contained in:
parent
e1538b6df0
commit
8af6765f3d
@ -203,6 +203,10 @@
|
|||||||
// Define this nonempty if your version of OpenSSL is 0.9.7 or better.
|
// Define this nonempty if your version of OpenSSL is 0.9.7 or better.
|
||||||
#define SSL_097
|
#define SSL_097
|
||||||
|
|
||||||
|
// Define this true to include the OpenSSL code to report verbose
|
||||||
|
// error messages when they occur.
|
||||||
|
#defer REPORT_OPENSSL_ERRORS $[< $[OPTIMIZE], 4]
|
||||||
|
|
||||||
// Is Crypto++ installed, and where?
|
// Is Crypto++ installed, and where?
|
||||||
#define CRYPTO_IPATH /usr/include/crypto++
|
#define CRYPTO_IPATH /usr/include/crypto++
|
||||||
#define CRYPTO_LPATH /usr/lib
|
#define CRYPTO_LPATH /usr/lib
|
||||||
|
@ -37,6 +37,7 @@ $[cdefine HAVE_NSPR]
|
|||||||
/* Define if we have OpenSSL installed. */
|
/* Define if we have OpenSSL installed. */
|
||||||
$[cdefine HAVE_SSL]
|
$[cdefine HAVE_SSL]
|
||||||
$[cdefine SSL_097]
|
$[cdefine SSL_097]
|
||||||
|
$[cdefine REPORT_OPENSSL_ERRORS]
|
||||||
|
|
||||||
/* Define if we have crypto++ installed. */
|
/* Define if we have crypto++ installed. */
|
||||||
$[cdefine HAVE_CRYPTO]
|
$[cdefine HAVE_CRYPTO]
|
||||||
|
@ -48,9 +48,4 @@ extern const double connect_timeout;
|
|||||||
extern const double http_timeout;
|
extern const double http_timeout;
|
||||||
extern const int http_max_connect_count;
|
extern const int http_max_connect_count;
|
||||||
|
|
||||||
// Later, we can make this conditional on NDEBUG or something along
|
|
||||||
// those lines; for now, we define it always to be true so we get
|
|
||||||
// error messages from OpenSSL wherever possible.
|
|
||||||
#define REPORT_OPENSSL_ERRORS 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user