| Destroys an ssl context. The context id must be in ssl_context[0].
+
| Destroys an ssl context. The context id must be in ssl_context[0]. Returns an error if there are pending operations (i.e. there's data waiting to be SSL_READ()ed).
|-
|-
| 7
| 7
Line 132:
Line 132:
* Use SSL_SHUTDOWN
* Use SSL_SHUTDOWN
* Call net_close() to clean-up the TCP socket
* Call net_close() to clean-up the TCP socket
−
+
For the C code of the SSL functions used here go to [[:/dev/net/ssl/code]].