[icinga-checkins] icinga.org: icinga-nrpe/master: add include/dh.h to .gitignore

git at icinga.org git at icinga.org
Wed Sep 1 11:35:52 CEST 2010


Module: icinga-nrpe
Branch: master
Commit: b10d5212f73a8f7704b2f0c723676fa0dc0f77fc
URL:    https://git.icinga.org/?p=icinga-nrpe.git;a=commit;h=b10d5212f73a8f7704b2f0c723676fa0dc0f77fc

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Sep  1 11:34:16 2010 +0200

add include/dh.h to .gitignore

will be generated throughout configure

---

 include/.gitignore |    1 +
 include/dh.h       |   25 -------------------------
 2 files changed, 1 insertions(+), 25 deletions(-)

diff --git a/include/.gitignore b/include/.gitignore
index 0e56cf2..0e55039 100644
--- a/include/.gitignore
+++ b/include/.gitignore
@@ -1 +1,2 @@
 config.h
+dh.h
diff --git a/include/dh.h b/include/dh.h
deleted file mode 100644
index fd155cb..0000000
--- a/include/dh.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef HEADER_DH_H
-#include <openssl/dh.h>
-#endif
-DH *get_dh512()
-	{
-	static unsigned char dh512_p[]={
-		0xA0,0x83,0xF9,0x4A,0xD3,0x94,0x5C,0xDB,0x54,0xDE,0x2E,0x88,
-		0x99,0x01,0xF5,0xA7,0xD7,0x56,0xD3,0x03,0x60,0xAC,0x1C,0xA4,
-		0x1D,0x9B,0xE2,0xEA,0x26,0x76,0x47,0x30,0x7B,0x81,0x33,0x4A,
-		0x53,0x78,0xC8,0x31,0x64,0x09,0x45,0xE9,0xB0,0xF1,0x86,0x84,
-		0xB9,0xE3,0xB8,0x68,0x53,0xB1,0x5C,0x03,0x52,0x07,0x2F,0x06,
-		0x89,0xF6,0xF0,0xBB,
-		};
-	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 icinga-checkins mailing list