Skip to content

Commit

Permalink
read in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed May 16, 2024
1 parent e0fc86a commit fc26f5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mbedtls/pbpal_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ int pbpal_start_read(pubnub_t* pb, size_t n)

enum pubnub_res pbpal_read_status(pubnub_t* pb)
{
int have_read;

PUBNUB_ASSERT(STATE_READ == pb->sock_state);

if (NULL == pb->pal.ssl) {
PUBNUB_LOG_ERROR("pbpal_read_status(pb=%p) called with NULL SSL context\n", pb);
return PNR_INTERNAL_ERROR;
}

}


Expand Down

0 comments on commit fc26f5e

Please sign in to comment.