components/openssl: add internal openssl X509 debug function

This commit is contained in:
Dong Heng
2016-10-09 16:42:49 +08:00
parent de587a2e0d
commit 2033068a72
7 changed files with 77 additions and 3 deletions
+9
View File
@@ -17,6 +17,14 @@
#include "ssl_dbg.h"
#include "ssl_port.h"
/**
* @brief show X509 certification information
*/
int __X509_show_info(X509 *x)
{
return X509_METHOD_CALL(show_info, x);
}
/**
* @brief create a X509 certification object according to input X509 certification
*/
@@ -256,3 +264,4 @@ X509 *SSL_get_peer_certificate(const SSL *ssl)
return ssl->session->peer;
}