projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add check for shm_open() since these functions quite often are located in librt
[umurmur.git]
/
src
/
ssl.h
diff --git
a/src/ssl.h
b/src/ssl.h
index ce9e480ce9f819360624bb45aadd937d5d61c471..2d86a0552bdcb5bc518cb2cb94932bb62f73e5a5 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>
@@
-127,10
+125,10
@@
static inline void SSLi_hash2hex(uint8_t *hash, char *out)
}
static inline void SSLi_hex2hash(char *in, uint8_t *hash)
{
}
static inline void SSLi_hex2hash(char *in, uint8_t *hash)
{
- int i
, offset = 0
;
+ int i;
char byte[3];
int scanned;
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);