ssl-init-openssl.c revision 5b18609fdd67235479de361b04cebfa1196d01f9
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "write-full.h"
#include "ssl-init.h"
#ifdef HAVE_OPENSSL
/* 2 or 5. Haven't seen their difference explained anywhere, but 2 is the
default.. */
#define DH_GENERATOR 2
#define DH_PARAM_BITSIZE_COUNT \
(sizeof(dh_param_bitsizes)/sizeof(dh_param_bitsizes[0]))
{
unsigned char *buf, *p;
int len;
if (len < 0)
i_fatal("i2d_DHparams() failed");
}
{
unsigned int i;
int bits;
for (i = 0; i < DH_PARAM_BITSIZE_COUNT; i++)
bits = 0;
}
#endif