/* $Cambridge: hermes/src/prayer/accountd/no_ssl.c,v 1.1.1.1 2003/04/15 13:00:02 dpc22 Exp $ */
/************************************************
 *    Prayer - a Webmail Interface              *
 ************************************************/

/* Copyright (c) University of Cambridge 2000 - 2002 */
/* See the file NOTICE for conditions of use and distribution. */

#include "accountd.h"

/* Stub routines if SSL not defined */

void ssl_check_rsakey(struct config *config)
{
}

void ssl_freshen_rsakey(struct config *config)
{
}

void ssl_context_init(struct config *config)
{
}

void ssl_context_free()
{
}

void ssl_shutdown(void *ssl)
{
}

int ssl_get_error(void *ssl, int code)
{
    return (0);
}

void ssl_free(void *ssl)
{
}

void *ssl_start_server(int fd, unsigned long timeout)
{
    return (NIL);
}

void *ssl_start_client(int fd, unsigned long timeout)
{
    return (NIL);
}

int ssl_read(void *ssl, unsigned char *buffer, unsigned long blocksize)
{
    return (-1);
}

int ssl_write(void *ssl, unsigned char *buffer, unsigned long bytes)
{
    return (-1);
}

int ssl_pending(void *ssl)
{
    return (0);
}

int ssl_prune_sessions(struct config *config)
{
    return (NIL);
}


syntax highlighted by Code2HTML, v. 0.9.1