projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d798e8
)
GnuTLS: Fix compilation with newer GnuTLS versions
author
Jouni Malinen
<j@w1.fi>
Sat, 21 Nov 2009 18:23:58 +0000
(20:23 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 21 Nov 2009 18:23:58 +0000
(20:23 +0200)
Avoid duplicate defination of TLS_RANDOM_SIZE and TLS_MASTER_SIZE.
src/crypto/tls_gnutls.c
patch
|
blob
|
history
diff --git
a/src/crypto/tls_gnutls.c
b/src/crypto/tls_gnutls.c
index
57e80df
..
05d6dd3
100644
(file)
--- a/
src/crypto/tls_gnutls.c
+++ b/
src/crypto/tls_gnutls.c
@@
-35,8
+35,12
@@
int gnutls_ia_verify_endphase(gnutls_session_t session, char *checksum);
#include "tls.h"
+#ifndef TLS_RANDOM_SIZE
#define TLS_RANDOM_SIZE 32
+#endif
+#ifndef TLS_MASTER_SIZE
#define TLS_MASTER_SIZE 48
+#endif
#if LIBGNUTLS_VERSION_NUMBER < 0x010302