- Added ssl_get_peer_cert() to SSL API
This commit is contained in:
parent
d2c167e9a8
commit
b0550d90c9
5 changed files with 29 additions and 5 deletions
|
@ -539,7 +539,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
printf( " . Peer certificate information ...\n" );
|
||||
x509parse_cert_info( (char *) buf, sizeof( buf ) - 1, " ",
|
||||
ssl.session->peer_cert );
|
||||
ssl_get_peer_cert( &ssl ) );
|
||||
printf( "%s\n", buf );
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue