Searched refs:wctx (Results 1 – 1 of 1) sorted by relevance
1614 struct wolfssl_ctx *wctx = (struct wolfssl_ctx *)connssl->backend; in wolfssl_shutdown() local1622 DEBUGASSERT(wctx); in wolfssl_shutdown()1623 if(!wctx->handle || cf->shutdown) { in wolfssl_shutdown()1628 wctx->shutting_down = TRUE; in wolfssl_shutdown()1631 if(!(wolfSSL_get_shutdown(wctx->handle) & WOLFSSL_SENT_SHUTDOWN)) { in wolfssl_shutdown()1635 nread = wolfSSL_read(wctx->handle, buf, (int)sizeof(buf)); in wolfssl_shutdown()1636 err = wolfSSL_get_error(wctx->handle, nread); in wolfssl_shutdown()1662 if(wolfSSL_shutdown(wctx->handle) == 1) { in wolfssl_shutdown()1678 nread = wolfSSL_read(wctx->handle, buf, (int)sizeof(buf)); in wolfssl_shutdown()1682 err = wolfSSL_get_error(wctx->handle, nread); in wolfssl_shutdown()[all …]
Completed in 7 milliseconds