cyassl: update to version 3.0.0
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 1 May 2014 14:04:15 +0000 (14:04 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 1 May 2014 14:04:15 +0000 (14:04 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40621

package/libs/cyassl/Makefile
package/libs/cyassl/patches/100-respect_cflags.patch
package/libs/cyassl/patches/200-SSL_accept-handle-hello-garbage.patch

index 3b8f88b750df2bfa2979118b3729d381a99a03a6..682790c23d5c20854fda9cc02b3a78c3cbd108fb 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cyassl
-PKG_VERSION:=2.8.0
-PKG_RELEASE:=2
+PKG_VERSION:=3.0.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
 PKG_SOURCE_URL:=http://www.yassl.com/
-PKG_MD5SUM:=7465d4815af90eff01095fa1b031ce09
+PKG_MD5SUM:=d29a841796180890bae47b159bb76d38
 
 PKG_FIXUP:=libtool
 PKG_INSTALL:=1
index db6c3ab72399456006e1ea3d1d73f51d1d236607..0e03230dcfb4be094093a9dd8171f9596e06a7ca 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -42,7 +42,7 @@ AC_SUBST([CYASSL_LIBRARY_VERSION])
+@@ -47,7 +47,7 @@ AC_SUBST([CYASSL_LIBRARY_VERSION])
  
  # capture user C_EXTRA_FLAGS from ./configure line, CFLAGS may hold -g -O2 even
  # if user doesn't override, no way to tell
index d28f4d38a192b72aa5aef38e9f39603216cd3661..f9a077020e3f58f5725d76793f3bab3037696716 100644 (file)
@@ -1,9 +1,9 @@
 --- a/src/internal.c
 +++ b/src/internal.c
-@@ -4622,6 +4622,10 @@ int ProcessReply(CYASSL* ssl)
+@@ -5063,6 +5063,10 @@ int ProcessReply(CYASSL* ssl)
                  b1 =
                  ssl->buffers.inputBuffer.buffer[ssl->buffers.inputBuffer.idx++];
-                 ssl->curSize = ((b0 & 0x7f) << 8) | b1;
+                 ssl->curSize = (word16)(((b0 & 0x7f) << 8) | b1);
 +
 +                /* does not appear to a be a SSLv2 client hello */
 +                if ( ssl->buffers.inputBuffer.buffer[ssl->buffers.inputBuffer.idx] != 1 )