mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-19 23:45:28 +02:00
components/openssl: add internal openssl X509 debug function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user