projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed banning to work for both v4 and v6
[umurmur.git]
/
src
/
ssl.h
diff --git
a/src/ssl.h
b/src/ssl.h
index ce9e480ce9f819360624bb45aadd937d5d61c471..f88e3017a8f80606623ba1206e28043a7bb38db5 100644
(file)
--- a/
src/ssl.h
+++ b/
src/ssl.h
@@
-32,9
+32,7
@@
#ifndef SSL_H_987698
#define SSL_H_987698
#ifndef SSL_H_987698
#define SSL_H_987698
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#ifdef USE_POLARSSL
#include <polarssl/ssl.h>
#ifdef USE_POLARSSL
#include <polarssl/ssl.h>
@@
-130,7
+128,7
@@
static inline void SSLi_hex2hash(char *in, uint8_t *hash)
int i, offset = 0;
char byte[3];
int scanned;
int i, offset = 0;
char byte[3];
int scanned;
-
+
byte[2] = '\0';
for (i = 0; i < 20; i++) {
memcpy(byte, &in[i * 2], 2);
byte[2] = '\0';
for (i = 0; i < 20; i++) {
memcpy(byte, &in[i * 2], 2);