Fix misplaced parenthesis.
This commit is contained in:
parent
541529e770
commit
c2bbac968b
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ static int ssl_session_copy( ssl_session *dst, const ssl_session *src )
|
||||||
x509_crt_init( dst->peer_cert );
|
x509_crt_init( dst->peer_cert );
|
||||||
|
|
||||||
if( ( ret = x509_crt_parse( dst->peer_cert, src->peer_cert->raw.p,
|
if( ( ret = x509_crt_parse( dst->peer_cert, src->peer_cert->raw.p,
|
||||||
src->peer_cert->raw.len ) != 0 ) )
|
src->peer_cert->raw.len ) ) != 0 )
|
||||||
{
|
{
|
||||||
polarssl_free( dst->peer_cert );
|
polarssl_free( dst->peer_cert );
|
||||||
dst->peer_cert = NULL;
|
dst->peer_cert = NULL;
|
||||||
|
|
Loading…
Reference in a new issue