spp_meth.c 288 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#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)