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
57 #include <openssl/ssl.h>
70 static void ssl3_expect_flight(SSL *ssl) {}
72 static void ssl3_received_flight(SSL *ssl) {}
74 static int ssl3_set_read_state(SSL *ssl, SSL_AEAD_CTX *aead_ctx) {
75 if (ssl->s3->rrec.length != 0) {
77 OPENSSL_PUT_ERROR(SSL, SSL_R_BUFFERED_MESSAGES_ON_CIPHER_CHANGE);
78 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_UNEXPECTED_MESSAGE);
83 OPENSSL_memset(ssl->s3->read_sequence, 0, sizeof(ssl->s3->read_sequence));
85 SSL_AEAD_CTX_free(ssl->s3->aead_read_ctx);
86 ssl->s3->aead_read_ctx = aead_ctx;
90 static int ssl3_set_write_state(SSL *ssl, SSL_AEAD_CTX *aead_ctx) {
91 OPENSSL_memset(ssl->s3->write_sequence, 0, sizeof(ssl->s3->write_sequence));
93 SSL_AEAD_CTX_free(ssl->s3->aead_write_ctx);
94 ssl->s3->aead_write_ctx = aead_ctx;
243 SSL *ssl) {
244 if (!ssl->ctx->i_promise_to_verify_certs_after_the_handshake) {
245 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_UNKNOWN_CA);
246 OPENSSL_PUT_ERROR(SSL, SSL_R_CERTIFICATE_VERIFY_FAILED);
255 static int ssl_noop_x509_ssl_new(SSL *ctx) { return 1; }
256 static void ssl_noop_x509_ssl_free(SSL *ctx) { }
257 static void ssl_noop_x509_ssl_flush_cached_client_CA(SSL *ssl) {}
258 static int ssl_noop_x509_ssl_auto_chain_if_needed(SSL *ssl) { return 1; }