Index: Makefile
===================================================================
RCS file: /usr/local/GRANDSTREAM/SW_ENGR/dvf99/system/opensource/user/xsupplicant-1.2.8/src/Makefile,v
retrieving revision 1.1
diff -r1.1 Makefile
20,21d19
< libfl_dir = ${top_srcdir}/../flex-2.5.35
< libiw_dir = ${top_srcdir}/wireless_tools.29
43,46c41,44
< ACLOCAL = ${SHELL} /home/byan/workspace/dvf99/system/opensource/user/xsupplicant-1.2.8/missing --run aclocal-1.6
< AUTOCONF = ${SHELL} /home/byan/workspace/dvf99/system/opensource/user/xsupplicant-1.2.8/missing --run autoconf
< AUTOMAKE = ${SHELL} /home/byan/workspace/dvf99/system/opensource/user/xsupplicant-1.2.8/missing --run automake-1.6
< AUTOHEADER = ${SHELL} /home/byan/workspace/dvf99/system/opensource/user/xsupplicant-1.2.8/missing --run autoheader
---
> ACLOCAL = ${SHELL} /home/jliu/SW_ENGR/HEAD/system/opensource/user/xsupplicant-1.2.8/missing --run aclocal-1.6
> AUTOCONF = ${SHELL} /home/jliu/SW_ENGR/HEAD/system/opensource/user/xsupplicant-1.2.8/missing --run autoconf
> AUTOMAKE = ${SHELL} /home/jliu/SW_ENGR/HEAD/system/opensource/user/xsupplicant-1.2.8/missing --run automake-1.6
> AUTOHEADER = ${SHELL} /home/jliu/SW_ENGR/HEAD/system/opensource/user/xsupplicant-1.2.8/missing --run autoheader
67c65
< EXEEXT =
---
> EXEEXT = 
70,71c68,69
< AMTAR = ${SHELL} /home/byan/workspace/dvf99/system/opensource/user/xsupplicant-1.2.8/missing --run tar
< AWK = gawk
---
> AMTAR = ${SHELL} /home/jliu/SW_ENGR/HEAD/system/opensource/user/xsupplicant-1.2.8/missing --run tar
> AWK = mawk
74c72
< CORELIBS =
---
> CORELIBS = 
76c74
< INCS =
---
> INCS = 
78c76
< LDFLAGS =  --sysroot=/opt/dspg/v1.2.1-rc4/sysroots/armv5te-dspg-linux-gnueabi
---
> LDFLAGS =  --sysroot=/opt/dspg/v1.2.2-rc4/sysroots/armv5te-dspg-linux-gnueabi
80c78
< LEXLIB =
---
> LEXLIB = 
83,85c81,82
< MOREDEFS =
< # MORELIBS =  -lfl -liw -lm -L${top_srcdir}/lib/libxsupconfig -lxsupconfig
< MORELIBS =  -L${libfl_dir} -lfl -L${libiw_dir} -liw -lm -L${top_srcdir}/lib/libxsupconfig -lxsupconfig
---
> MOREDEFS = 
> MORELIBS =  -liw -lm -L${top_srcdir}/lib/libxsupconfig -lxsupconfig -L/../../flex-2.5.35/libfl.a
87,89c84,86
< PREFIX =
< RANLIB = arm-linux-ranlib
< STRIP = arm-linux-strip
---
> PREFIX = 
> RANLIB = ranlib
> STRIP = strip
91c88
< YACC = bison -y -d
---
> YACC = byacc -d
93,95c90,92
< am__quote =
< install_sh = /home/byan/workspace/dvf99/system/opensource/user/xsupplicant-1.2.8/install-sh
< with_openssl_libs =
---
> am__quote = 
> install_sh = /home/jliu/SW_ENGR/HEAD/system/opensource/user/xsupplicant-1.2.8/install-sh
> with_openssl_libs = 
129c126
< 			cardif/generic/cardif_generic.c
---
> 			cardif/generic/cardif_generic.c 
163c160
< CPPFLAGS =  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/dspg/v1.2.1-rc4/sysroots/armv5te-dspg-linux-gnueabi
---
> CPPFLAGS =  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/dspg/v1.2.2-rc4/sysroots/armv5te-dspg-linux-gnueabi
171c168
< CFLAGS =  -I./wireless_tools.29 -Wall
---
> CFLAGS =  -I./wireless_tools.29 -Wall 
238c235
< xsupplicant$(EXEEXT): $(xsupplicant_OBJECTS) $(xsupplicant_DEPENDENCIES)
---
> xsupplicant$(EXEEXT): $(xsupplicant_OBJECTS) $(xsupplicant_DEPENDENCIES) 
Index: xsupplicant
===================================================================
RCS file: /usr/local/GRANDSTREAM/SW_ENGR/dvf99/system/opensource/user/xsupplicant-1.2.8/src/xsupplicant,v
retrieving revision 1.1
diff -r1.1 xsupplicant
Binary files /tmp/cvsIn9Ehz and xsupplicant differ
Index: eap_types/tls/tls_funcs.c
===================================================================
RCS file: /usr/local/GRANDSTREAM/SW_ENGR/dvf99/system/opensource/user/xsupplicant-1.2.8/src/eap_types/tls/tls_funcs.c,v
retrieving revision 1.1
diff -r1.1 tls_funcs.c
219c219
<   mytls_vars->ctx = SSL_CTX_new(TLSv1_method());
---
>   mytls_vars->ctx = SSL_CTX_new(mytls_vars->ctx);
271a272,278
>       debug_printf(DEBUG_NORMAL, "tls_func_build_new_session ------>\n");
>     // junhliu
>     if (mytls_vars->ssl) {
>         SSL_shutdown(mytls_vars->ssl);
>     }
>       debug_printf(DEBUG_NORMAL, "tls_func_build_new_session <-----\n");
> 
277a285,290
> 
>    if (mytls_vars->ctx == NULL) {
>         debug_printf(DEBUG_NORMAL,
>                  "The SSL context is NULL.  (This shouldn't happen.)  Working around it.\n");
>     }
> 
