projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3ce7c
)
Work around other OpenSSL stupidity.
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 11 Oct 2015 21:21:57 +0000
(17:21 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Sun, 11 Oct 2015 21:21:57 +0000
(17:21 -0400)
src/modules/rlm_eap/libeap/cb.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_eap/libeap/cb.c
b/src/modules/rlm_eap/libeap/cb.c
index
c198ed0
..
c2bf7d5
100644
(file)
--- a/
src/modules/rlm_eap/libeap/cb.c
+++ b/
src/modules/rlm_eap/libeap/cb.c
@@
-102,6
+102,8
@@
void cbtls_msg(int write_p, int msg_version, int content_type,
*/
if ((msg_version == 0) && (content_type > 255)) return;
+ if ((write_p != 0) && (write_p != 1)) return;
+
/*
* Work around bug #298, where we may be called with a NULL
* argument. We should really log a serious error