Lines Matching refs:SSL
9 * Routines to handle a SSL/TLS-based implementation of RFC 2228, i.e.
32 static SSL* get_ssl(struct vsf_session* p_sess, int fd);
51 die("SSL: could not allocate SSL context");
77 die("SSL: cannot load RSA certificate");
81 die("SSL: cannot load RSA private key");
94 die("SSL: cannot load DSA certificate");
98 die("SSL: cannot load DSA private key");
104 die("SSL: could not set cipher list");
108 die("SSL: RNG is not seeded");
121 str_equal_text(&p_sess->ftp_arg_str, "SSL") ||
134 if (str_equal_text(&p_sess->ftp_arg_str, "SSL") ||
220 retval = SSL_read((SSL*) p_ssl, p_buf, len);
221 err = SSL_get_error((SSL*) p_ssl, retval);
235 retval = SSL_write((SSL*) p_ssl, p_buf, len);
236 err = SSL_get_error((SSL*) p_ssl, retval);
247 int ret = SSL_write((SSL*) p_ssl, str_getbuf(p_str), len);
258 SSL* p_ssl = get_ssl(p_sess, fd);
283 static SSL*
286 SSL* p_ssl = SSL_new(p_sess->p_ssl_ctx);
308 SSL* p_ssl = get_ssl(p_sess, VSFTP_COMMAND_FD);
325 static void setup_bio_callbacks(SSL* p_ssl)
358 die("SSL: ssl_enable is set but SSL support not compiled in");