Skip to content

Commit

Permalink
Be more precise about 'secure'
Browse files Browse the repository at this point in the history
  • Loading branch information
d3x0r committed Mar 16, 2024
1 parent 353b9a6 commit f34c6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netlib/ssl_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ LOGICAL ssl_BeginClientSession( PCLIENT pc, CPOINTER client_keypair, size_t clie
}

LOGICAL ssl_IsClientSecure( PCLIENT pc ) {
return pc->ssl_session != NULL;
return (pc->ssl_session&&(pc->ssl_session->ctx != NULL));
}


Expand Down

0 comments on commit f34c6e5

Please sign in to comment.