spp_meth.c 288 Bytes
Newer Older
#include <stdio.h>
#include <openssl/objects.h>
#include "ssl_locl.h"

static const SSL_METHOD *spp_get_method(int ver)
	{
	if (ver == SPP_VERSION)
		return SPP_method();
	return NULL;
	}

IMPLEMENT_spp_meth_func(SPP_VERSION, SPP_method,
			spp_accept,
			spp_connect,
			spp_get_method)