]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - libratbox/src/nossl.c
GNUTLS backend. Untested.
[irc/rqf/shadowircd.git] / libratbox / src / nossl.c
index aff870e1f0389cbd71a8ccf80ebab693e3d1f98e..c27a0c76a79b7f7855ba46141c43b50e90ef6f5b 100644 (file)
@@ -27,7 +27,7 @@
 #include <libratbox_config.h>
 #include <ratbox_lib.h>
 
-#ifndef HAVE_OPENSSL
+#if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS)
 
 #include <commio-int.h>
 #include <commio-ssl.h>
@@ -102,5 +102,24 @@ rb_ssl_shutdown(rb_fde_t * F)
 {  
        return;
 }        
+
+void
+rb_ssl_accept_setup(rb_fde_t * F, int new_fd, struct sockaddr *st, int addrlen)
+{
+       return;
+}
+
+ssize_t
+rb_ssl_read(rb_fde_t * F, void *buf, size_t count)
+{
+       return 0;
+}
+
+ssize_t
+rb_ssl_write(rb_fde_t * F, const void *buf, size_t count)
+{
+       return 0;
+}
+
 #endif /* !HAVE_OPENSSL */