Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Enable debug output on PolarSSL
The PolarSSL library has debug output, but you have to enable it.
Step-by-step guide
- Uncomment the DEBUG defines in include/polarssl/config.h. Specifically, POLARSSL_SSL_DEBUG_ALL, and POLARSSL_DEBUG_C. As this file changes, there may be others. This debugging is primarily focused on SSLSecure Socket Layer operations and other crypto operations do not seem to have the same level of debugging messages built-in. Hopefully, you aren't debugging the crypto, but I have and you may need to.
- In your application, define a debug function. The following illustrates the necessary function prototype and a possible implementation:
- void my_debug( void *ctx, int level, const char *str ) {
- }
Related articles
('contentbylabel' missing)