Home | History | Annotate | Download | only in ssl

Lines Matching refs:ssl

4  * This package is an SSL implementation written
6 * The implementation was written so as to conform with Netscapes SSL.
11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
149 #include <openssl/ssl.h>
184 bool ssl3_new(SSL *ssl) {
190 s3->aead_read_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl));
191 s3->aead_write_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl));
192 s3->hs = ssl_handshake_new(ssl);
197 ssl->s3 = s3.release();
204 ssl->version = TLS1_2_VERSION;
208 void ssl3_free(SSL *ssl) {
209 if (ssl == NULL || ssl->s3 == NULL) {
213 Delete(ssl->s3);
214 ssl->s3 = NULL;
218 const SSL *ssl) {
219 if (ssl->cipher_list != NULL) {
220 return ssl->cipher_list;
223 return ssl->ctx->cipher_list;