Fix misplaced parenthesis.

This commit is contained in:
Peter Vaskovic 2014-05-24 13:30:50 +02:00 committed by Paul Bakker
parent 541529e770
commit c2bbac968b

View file

@ -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;