summaryrefslogtreecommitdiff
path: root/src/modules/m_md5.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-21 01:56:36 +0100
committerPeter Powell <petpow@saberuk.com>2013-07-29 03:33:46 +0100
commitb4ba01f542447def04f1e327c4cf3a385e1b8a9b (patch)
tree9dcd7dd6f3c2cdbd7127e432371a21770ab23eb1 /src/modules/m_md5.cpp
parentc6b911132caba237f86280d1b2cb32ad3123f0da (diff)
Remove a ton of duplicate and obsolete code from configure.
- Add the data and log paths to dumphash. - Always exit with EXIT_FAILURE on error. - Always replace the old config.h with our new one. - Clean up the ./configure --help message slightly. - Install dhparams.pem into the conf directory on GnuTLS as well as OpenSSL. - Only show the users InspIRCd Git revision when building from Git. - Remove a check for MinGW (we have proper Windows builds). - Remove a check for FreeBSD 4 (released in 2000). - Remove a ton of pointless tab-indented comments. - Remove a ton of duplicate or unused variables. - Remove the check for stdint.h (always available on TR1 compilers). - Remove the $writeheader argument from writefiles (always 1). - Remove the following %config options: - DESTINATION (not used, always set to BASE). - EXECUTABLE (always set to inspircd). - OSNAME (duplicate of SYSTEM). - Remove support for checking whether -extra modules are up to date (if the user is installing they won't have any -extra modules installed). - Remove SSL generation messages (genssl provides these). - Replace inappropriate uses of printf with print. - Replace is_dir with -d from the Perl stdlib. - Replace resolve_directory with rel2abs from the Perl stdlib. - Rewrite getrevision to be more compact, cache the revision and return 'release' on non-Git builds. - Use consistent messages for all tests. - Use tput to clear the screen in a portable way.
Diffstat (limited to 'src/modules/m_md5.cpp')
-rw-r--r--src/modules/m_md5.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index 15cb979c6..dd72fe9ea 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -22,9 +22,6 @@
#include "inspircd.h"
-#ifdef HAS_STDINT
-#include <stdint.h>
-#endif
#include "modules/hash.h"
/* The four core functions - F1 is optimized somewhat */
@@ -37,10 +34,6 @@
#define MD5STEP(f,w,x,y,z,in,s) \
(w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)
-#ifndef HAS_STDINT
-typedef unsigned int uint32_t;
-#endif
-
typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */
typedef unsigned char byte;