mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Merge branch 'master' of github.com:cyassl/cyassl
This commit is contained in:
@@ -283,8 +283,8 @@ static INLINE void showPeer(CYASSL* ssl)
|
|||||||
|
|
||||||
#if defined(SESSION_CERTS) && defined(SHOW_CERTS)
|
#if defined(SESSION_CERTS) && defined(SHOW_CERTS)
|
||||||
{
|
{
|
||||||
X509_CHAIN* chain = CyaSSL_get_peer_chain(ssl);
|
CYASSL_X509_CHAIN* chain = CyaSSL_get_peer_chain(ssl);
|
||||||
int count = CyaSSL_get_chain_count(chain);
|
int count = CyaSSL_get_chain_count(chain);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
|
@@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <cyassl/ssl.h>
|
#include <cyassl/ssl.h>
|
||||||
#define NO_MAIN_DRIVER
|
|
||||||
#include <cyassl/test.h>
|
#include <cyassl/test.h>
|
||||||
#include <tests/unit.h>
|
#include <tests/unit.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user