Thank you all for filling in details about remaining steps to get cyassl
Makefile updated.

Here are sizes of the compiled cyassl ipk under ar71xx platform:

-rw-r--r-- 1 ben ben 105819 Jun 11 18:53 libcyassl_2.6.0-1_ar71xx.ipk

... and under atheros:

-rw-r--r-- 1 ben ben 105826 Jun  6 14:10 libcyassl_2.6.0-1_atheros.ipk

I'm assuming the ~40Kbyte size increase for my & Massimo's instance results
from our enabling additional options while compiling cyassl, for use with
libcurl.  Namely --enable-dtls and --enable-opensslextra.  I have not had
opportunity to verify cyassl still functions adequately with libcurl, with
these options disabled.

On Mon, Jun 17, 2013 at 6:47 AM, Sebastian Muszynski <[email protected]> wrote:

> Am Montag, 17. Juni 2013, 13:40:20 schrieb Felix Fietkau:
> > On 2013-06-17 1:33 PM, Sebastian Muszynski wrote:
> > > Am Montag, 17. Juni 2013, 13:16:13 schrieb Felix Fietkau:
> > >> On 2013-06-17 1:57 AM, Ben West wrote:
> > >> > I can confirm the "100-sizeof_long_long.patch" patch for curl
> provided
> > >> > by Massimo does work fine for me under ar71xx and atheros platforms.
> > >> > That is, I can now successfully have libcurl link to cyassl instead
> of
> > >> > openssl.
> > >> >
> > >> > What additional steps are needed to close this thread, specifically
> to
> > >> > update the cyassl Makefile to pull version 2.6.0?
> > >>
> > >> A size comparison would be useful.
> > >
> > > CyaSSL:
> > >
> > > insgesamt 340
> > > -rw-r--r-- 1 x x   43182 Jun 17 13:23 curl_7.29.0-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x 123484 Jun 17 13:23 libcurl_7.29.0-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x 101719 Jun 17 13:23 libcyassl_2.6.0-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x   31580 Jun 17 13:23 libpthread_0.9.33.2-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x   40643 Jun 17 13:23 zlib_1.2.7-1_ar71xx.ipk
> > >
> > > OpenSSL:
> > >
> > > -rw-r--r-- 1 x x   42620 Jun 16 00:40 curl_7.29.0-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x 133415 Jun 16 00:39 libcurl_7.29.0-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x 630003 Jun 16 00:30 libopenssl_1.0.1e-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x   31285 Jun 16 00:14 libpthread_0.9.33.2-1_ar71xx.ipk
> > > -rw-r--r-- 1 x x   40219 Jun 16 00:18 zlib_1.2.7-1_ar71xx.ipk
> > >
> > > CyaSSL is pretty small, so you can use it on small flashs (4MB). Curl +
> > > OpenSSL does not fit usually.
> >
> > I meant a size comparison of old CyaSSL vs. new CyaSSL of course :)
>
> Ups. :-)
>
> -rw-r--r-- 1 x x 64570 Jun 16 00:29 libcyassl_1.6.5-2_ar71xx.ipk
>
> This is the filesize of the current version in trunk.
>
> Kind regards,
>
> Sebastian
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>



-- 
Ben West
http://gowasabi.net
[email protected]
314-246-9434
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to