[Pkg-nagios-changes] nagios-nrpe/src dh.h,NONE,1.1

seanius at haydn.debian.org seanius at haydn.debian.org
Mon Oct 17 16:23:59 UTC 2005


Update of /cvsroot/pkg-nagios/nagios-nrpe/src
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv1304

Added Files:
	dh.h 
Log Message:
somehow cvs-inject missed this...

--- NEW FILE: dh.h ---
#ifndef HEADER_DH_H
#include <openssl/dh.h>
#endif
DH *get_dh512()
	{
	static unsigned char dh512_p[]={
		0xD7,0x32,0x39,0xB3,0x1F,0x55,0x31,0xD2,0x44,0x1D,0x5D,0xBC,
		0xF1,0x3B,0x5B,0x70,0xFD,0x2B,0xCF,0x97,0xD8,0xAD,0xA4,0xE2,
		0x80,0xE4,0x9F,0x5A,0x2B,0xF9,0x63,0xA6,0x0A,0xAE,0xF9,0x64,
		0xF2,0x89,0xE3,0xC5,0xCD,0x6D,0x37,0xC8,0x94,0xBF,0xE7,0x26,
		0x9B,0x33,0xCF,0x06,0xA3,0xC4,0x66,0xCE,0x38,0x7B,0x75,0xCA,
		0x0C,0x34,0x47,0xEB,
		};
	static unsigned char dh512_g[]={
		0x02,
		};
	DH *dh;

	if ((dh=DH_new()) == NULL) return(NULL);
	dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL);
	dh->g=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL);
	if ((dh->p == NULL) || (dh->g == NULL))
		{ DH_free(dh); return(NULL); }
	return(dh);
	}




More information about the Pkg-nagios-changes mailing list