Skip to content

Subtree axtls #3423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 316 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
316 commits
Select commit Hold shift + click to select a range
cf08193
some late fixes
Mar 31, 2007
548d147
some late fixes
Apr 7, 2007
8438e9f
fixed client session size, empty certificate list
Apr 25, 2007
09625b7
simplified mime types
May 16, 2007
d53af37
date not included in version
May 16, 2007
eb6a87e
date now added to version
May 16, 2007
fc8409e
added new comments
May 16, 2007
dbadc63
added new comments
May 16, 2007
a194849
fixed partial write error
May 18, 2007
c511f29
lots of CGI work and kepler/lua stuff
May 22, 2007
80b24c3
added kepler/lua to the build
May 22, 2007
4d8f9dd
changed some of the scripts
May 22, 2007
db9b72d
added lua bindings
May 25, 2007
c69e63f
new tweak for java
May 25, 2007
f592df2
added lua work
May 25, 2007
a3ed2cd
fix for win32
May 25, 2007
aa4d1bd
updates to make
May 25, 2007
c928b27
general checkin
May 26, 2007
0d15b8b
receive side now works
Jun 4, 2007
9efcfba
server side now works
Jun 4, 2007
950d7ae
speed improvements to the rc4 cipher
Jun 14, 2007
c8cb14d
improvements to Lua binding
Jun 14, 2007
9d7c8e7
improvements to Lua sample
Jun 14, 2007
d2141a7
some improvments to the samples
Jun 14, 2007
013b3c1
Lua bindings now complete
Jun 17, 2007
4fdd6a7
some documentation updates
Jun 20, 2007
a1bfbe6
lua samples now work again
Aug 17, 2007
f9ee197
dir changes - things are broken at the moment
Aug 29, 2007
2bbf4cf
fixed win32 build
Aug 29, 2007
58212f2
added crypto_misc.h
Aug 29, 2007
d40747d
added x509.c
Aug 29, 2007
114fff4
fixed some of the bindings for the new API changes
Aug 30, 2007
b717f94
fixed server buffer issue
Sep 5, 2007
3515da2
some doco updates
Sep 10, 2007
15651d6
removed some mallocs
Sep 10, 2007
7cd4ea1
css + added strip option
Sep 12, 2007
7c7e89b
added md2
Sep 16, 2007
1d263c9
fixed POST issues in axhttpd
Sep 17, 2007
69003c0
added vfork()
Sep 17, 2007
ab7cbe8
added lua test cases
Sep 17, 2007
6ae00e4
fixed win32 build issues with CGI
Sep 19, 2007
91f0c4b
remove vc6.0 support
Sep 19, 2007
18cde13
memory reductions
Oct 1, 2007
7ac1528
minor fix
Oct 3, 2007
5094c5e
fixed memory leak in renegotiation
Oct 3, 2007
6afb2ce
made inc ms5/sha1 a tmp
Oct 3, 2007
fa0bf09
some more memory tweaks
Oct 4, 2007
27f866d
removed chroot() after lwn article
Oct 12, 2007
2f2dd59
changed var arrays to alloca
Oct 22, 2007
f72d533
minor updates
Nov 1, 2007
70ed449
changed to BSD style license
Nov 5, 2007
4a82037
some directory restructuring
Nov 13, 2007
7cac88c
Nov 18, 2007
bffc3b2
certificate generation
Nov 29, 2007
7853806
finishing touches to cert generation
Dec 2, 2007
31efa00
changes for 1.1.8
Dec 2, 2007
3cd0ded
changes
Dec 3, 2007
bf4238d
final touches to 1.1.8
Dec 4, 2007
d02abde
fixed a bigint issue
Mar 5, 2008
bc1e70c
v1.1.9-2 changes
May 13, 2008
0abda1c
changed x509 verification code
Nov 5, 2008
85e1579
double check on a bad signature
Dec 3, 2008
86f2e47
fixed issue with certificate verification on firefox.
Jan 29, 2009
1b9a2ca
Extended the openssl compatibility layer a bit.
Jan 30, 2009
38e6b1e
Jan 30, 2009
68a71cc
cgi file uploads now work above 1kB in size
Feb 27, 2009
95e8c79
date comment changes + post stuff
Mar 27, 2009
2cedd59
Added SAN ("Subject Alternative Name" support
Sep 23, 2009
629b523
added the qualityssl.com.der certificate in the test harness
Sep 24, 2009
6f4efb3
Added axtlswrap
Sep 25, 2009
02de05f
added -p and -s options
Sep 30, 2009
53142c0
added shutdown to a CGI socket close.
Nov 15, 2009
1e8e818
index.html update
Dec 4, 2009
13dee95
Fix for ssl client renotiation SSL error
Dec 12, 2009
c484a1e
added an entropy pool to the RNG
May 1, 2010
fe927a6
account for output buffer being smaller than entropy pool
May 1, 2010
e674d07
removed debugging
May 1, 2010
8b2e5bb
fixes to axhttpd from Joe Pruett
May 7, 2010
596f569
fixed warning
May 7, 2010
e686f3b
added alert for renegotiation failure
May 8, 2010
92b07bc
changed test for ssl_renegotiation failure
May 9, 2010
c1c5656
fixed memory leak in test harness
Jun 2, 2010
09e7982
some fixes to bigint library
Aug 6, 2010
c69b690
removed redundant x509_free() in do_client_connect()
Aug 7, 2010
7e570e3
Fixed 3132700 (close_notify), 3078672 (regular_square), 3072881
Dec 27, 2010
0d2e75b
fixed regular_square. Some scan-build tweaks. Made os_port.h "private".
Dec 29, 2010
8c18da4
merged partial_multiply with regular_multiply function.
Jan 2, 2011
28c35cf
Updated of comments.
Jan 2, 2011
bc9a451
fixed some valgrind detected issues.
Jan 2, 2011
b8d6697
Comment changes.
Jan 2, 2011
f5dbc88
Removed os_port.h dependency. Fixed CA number issue (default now 120).
Jan 3, 2011
9e082c8
Ignore CA cert errors (caused by invalid signature types in cert bund…
Jan 4, 2011
26e256c
Added some certificate loading tweaks.
Jan 4, 2011
ab9ddd1
Added support to v1.0 http (which apache's ab tool uses)
Jan 7, 2011
9e1cb29
Added comments to hmac and rc4 code and extra diagnotics to cert # ou…
Jan 8, 2011
7ddde6e
Some fixes after scan-build.
Jan 9, 2011
f2dabd5
Allow non-blocked ssl_client_new() operation.
Jan 14, 2011
e68581f
Small code factoring improvement to do_client_connect()
Jan 14, 2011
529d87b
Added Visual Studio 2010 support and fixed some VS compilation issues.
Jan 14, 2011
faba18d
Check made in ssl_write for EAGAIN return from write().
Jan 16, 2011
2c092ba
Name change to SSL_CONNECT_IN_PARTS as last name was ambiguous.
Jan 16, 2011
18c3faf
added test case for non-blocking sockets.
Jan 19, 2011
e254859
Default is always 150 regardless of ssl configuration.
Jan 20, 2011
9c91e35
Now load PEM cert bundles correctly for verification.
Jan 24, 2011
7f3d126
fixed issue with bad certs on cygwin
Feb 8, 2011
222f2d9
Fixed SOCKET_WRITE() when blocked.
Feb 11, 2011
2ae9a3e
Started to implement TLS1.1 (but disabled for now)
Apr 26, 2011
8558c49
Fixed variable length macs used by gnutls.
Apr 28, 2011
1a19505
Fix for version (take 2)
Apr 28, 2011
70a8f79
TLSv1.1 feature added.
May 6, 2011
42cd25f
Fixed closure alerts.
May 7, 2011
6dd1ae9
Updated changes.
May 7, 2011
66c588d
ensure that a compare with a non-null and null x509 field returns non…
Jun 18, 2011
96b65cd
fixed timeout issue in axhttd, -fPIC enabled, pkcs8 enabled for server
Jun 24, 2011
f22e36a
Added test for PKCS8 unencrypted PEM format.
Jun 24, 2011
15ab963
fixed some mconf dependency issues
Jun 24, 2011
9c517f6
* Use RFC1123 format for date/time.
Jul 15, 2011
2e0da63
Fixed bi_export, change to makefile
Jul 29, 2011
cbd6087
added -w command line option for axhttd
Jul 29, 2011
92667ae
Removed Lua dependencies and made sure PHP can be run.
Aug 24, 2011
c0eb269
Config change to remove exe suffix.
Sep 9, 2011
cd28f3c
Fixed issue with non-blocking client mode.
Sep 30, 2011
1378f8a
Updated index.html and the default linux config.
Sep 30, 2011
ffa4da4
Fix in asn1_get_printable string
Feb 10, 2012
af155d9
Some fixes after going through the test harness
Feb 11, 2012
5fcb198
removed diagnostic statement
Feb 11, 2012
c0074b3
Fixed issue with session id's in the future
Feb 25, 2012
fec170a
fixed issue with buffer limit 1 less than it should have been
Jun 1, 2012
8ac6264
looks like some stuff didn't get checked in
Jun 8, 2012
24384a3
Changed order of when os_int.h is imported
Jul 1, 2012
df4606a
added cast to srand
Jul 1, 2012
f74c9ca
Client version number comes from client hello and not the record laye…
Jan 6, 2013
5c51893
Moved setting encryption flags to after handshake completion
Aug 5, 2013
97f9f96
added printf changes from Fabian Frank to stop warnings/erros
Sep 22, 2013
e6f9ae6
added generalized time for certificates
Nov 14, 2013
ce488f9
Fix handling of return values of SOCKET_READ in process_sslv23_client…
Sep 24, 2014
29e7d35
Fixed array access out of bounds bug in add_cert()
Sep 24, 2014
08b27ee
Modified the test script
Oct 31, 2014
9ef84f9
* RSA_decrypt now checks the integrity of the first 11 bytes.
Nov 7, 2014
82a7638
* Added SHA256
Nov 19, 2014
5879091
* Added check to get_asn1_length() to limit the number of octets and …
Nov 19, 2014
b3fc326
* Added diagnostic in case digest could not be identified.
Nov 19, 2014
b9d4326
* axhttpd can load a certificate and private key from the command line
Nov 22, 2014
6711169
* fixed issue where SSL mutex was not being picked up.
Nov 26, 2014
0d334d8
* PT_APP_PROTOCOL_DATA has a test for hs_status=SSL_OK to prevent pos…
Mar 9, 2015
b0bd12b
* Added SHA384 and SHA512 digests.
Mar 10, 2015
a88fd94
* Updated the release notes.
Mar 10, 2015
acf35f0
* Added named unions in SHA256 code for compilers that don't support it.
Apr 30, 2015
a5f7ede
* Fixed client certificate issue where there is no client certificate…
Jul 28, 2015
4e0ccaf
Import axTLS 1.4.9
igrr Aug 30, 2015
3661c54
Add makefile
igrr Aug 30, 2015
6030371
Initial compilation fixes
igrr Aug 31, 2015
6c91aa1
Create README.md
igrr Aug 31, 2015
6095fde
Allocation debugging, reduce SSL structure size.
igrr Sep 1, 2015
ad97806
Calculate SHA-1 fingerprint when loading the certificate
igrr Sep 14, 2015
a069bc0
Add function to match certificate fingerprint
igrr Sep 14, 2015
6f48f0d
Store fingerprint as raw byte array
igrr Sep 18, 2015
d1bcdc5
Tag 64-bit constants with "LL" (make e.g. AVR32 gcc happy)
Oct 1, 2015
10b41c8
Increase plaintext buffer size after handshake is complete
igrr Nov 16, 2015
6830d98
Pre-allocate encrypt/decrypt ctx to reduce memory fragmentation
igrr Nov 16, 2015
34ff442
Get random bytes from hardware RNG
igrr Dec 2, 2015
1551076
Remove default private key and certificate (#3)
igrr Dec 4, 2015
f98cae7
Don't try to load certificate and private key if it is null
igrr Dec 4, 2015
514b668
Disable RC4
igrr Dec 9, 2015
d78e7a0
Initial version of axTLS integration with lwip raw tcp mode (http://l…
Feb 1, 2016
885ff3e
Merge pull request #6 from slaff/feature/lwip-raw
igrr Feb 1, 2016
7c38865
Restructured the lwip raw comat code.
Feb 19, 2016
63da899
Added SNI ( https://en.wikipedia.org/wiki/Server_Name_Indication ) su…
Feb 19, 2016
1154d0a
Changed the code to reserve bytes for hostname only if needed.
Feb 22, 2016
66e1a5f
Merge pull request #7 from slaff/feature/sni
igrr Feb 22, 2016
43a90bc
Merge pull request #8 from slaff/feature/lwipr-compat
igrr Feb 22, 2016
28869ea
Use free followed by malloc instead of realloc when increasing raw bu…
igrr Feb 26, 2016
9eaeca3
Postpone freeing of X509 context to the first data exchange after han…
igrr Feb 26, 2016
c18bb56
Add travis CI
igrr Feb 26, 2016
96fbb39
Update README.md
igrr Feb 26, 2016
324c2fd
Terminate connection if increase_bm_data_size fails
igrr Feb 26, 2016
b33ef68
Fix handshake status not being set if increase_bm_data_size fails
igrr Mar 2, 2016
5b4be7d
Reserve 16k fragment buffer only when it is actually required.
igrr Mar 2, 2016
fe4518d
Make SNI host name an ssl_client_new argument
igrr Apr 19, 2016
3fdea28
Fix Travis build
igrr Apr 19, 2016
69c757f
Allow plain buffer size increase during handshake
igrr Apr 19, 2016
cd6c04a
Add hooks to feed watchdog during lengthy bigint operations
igrr May 10, 2016
139914f
Add option for blocking reads
igrr May 10, 2016
c5c9c73
Merge branch 'master' into tail
jmue May 13, 2016
6209eac
Merge remote-tracking branch 'origin/master' into axtls-8266
jmue May 13, 2016
36e8b49
Merge branch upstream into axtls-upgrade
jmue May 13, 2016
0c09e2c
add be64toh
ikeyasu Oct 18, 2015
87163b2
fix memset usage
jmue May 21, 2016
07fe883
fix doubled code introduced with r231 - 97f9f969
jmue May 21, 2016
fe6e51a
Merge pull request #15 from jmue/axtls-upgrade
igrr Jun 1, 2016
a231133
Update README.md
igrr Jun 1, 2016
9a9be63
Merge pull request #17 from jmue/fix/memset_usage
igrr Jun 1, 2016
f41146f
Merge pull request #16 from jmue/fix/doubled_code
igrr Jun 1, 2016
ab516f7
Purge certificates only when expanding plaintext buffer
igrr Jun 12, 2016
0d6e51a
Removed RC4 from the list of negotiated ciphers as browsers don't sup…
Jun 12, 2016
acc38e3
Can handle SSL chains which are out of order (thanks Paul Johnstone)
Jul 5, 2016
a9eab10
Now include os_port.h in tls1.h, but removed ax_malloc and friends
Jul 5, 2016
14d6809
removed endian.h from os_int.h as it is no longer needed and was caus…
Jul 5, 2016
6d0a2c0
Fixed some skeleton mode warnings
Jul 5, 2016
106a59c
Removed some printfs in skeleton mode
Jul 5, 2016
549bcb4
Tightened up closure alerts for v1.2 (7.2.1)
Jul 18, 2016
01a0531
* Backed out code where close notify from other side closed the socke…
Jul 19, 2016
abda243
Cleaned up alerts as per TLS v1.2 spec (7.2.2)
Jul 21, 2016
d476a79
* Initial crack at TLS 1.2 client side only (server side is seriously…
Jul 27, 2016
09619c9
Client side works with a certificate verify - still lots of work to go.
Aug 9, 2016
fc6b6b3
Server side v1.2 is basically working
Aug 11, 2016
871a70e
TLS 1.2 now passing a bunch of tests.
Aug 15, 2016
f599ff8
* Tightened up the buffer sizes
Aug 16, 2016
29b478f
* Put back TLS 1.0.
Aug 17, 2016
ab9f8b5
Fix unused variable error
ikeyasu Aug 20, 2016
9ca7e76
Fix build error on ESP8266
ikeyasu Aug 20, 2016
a682206
Merge pull request #19 from ikeyasu/merge-200
igrr Aug 25, 2016
f3e154b
ssl: use malloc instead of alloca
igrr Aug 25, 2016
d26f23a
ssl: disable default cert, enable cert chain verification
igrr Aug 25, 2016
23d532a
add send packet size calculator
Aug 27, 2016
144994c
Merge pull request #23 from me-no-dev/add-send-calculator
igrr Aug 29, 2016
fac976c
Re-added the SNI extension.
Sep 15, 2016
d94ccb9
Merge pull request #24 from slaff/master
igrr Sep 15, 2016
b20140f
axTLS fails to aws iot with SSL_ERROR_INVALID_HANDSHAKE. It is a wron…
anmaped Oct 15, 2016
aa87239
Moved the LWIP RAW compat module into a submodule. (#26)
slaff Nov 21, 2016
cf4c0bb
Added initial support for max fragment size extension. (#25)
slaff Nov 21, 2016
5282123
Updated Lwirax to its latest version. (#29)
slaff Nov 22, 2016
d768568
Memory optimization for static const data. (#30)
slaff Dec 11, 2016
993a29f
Add support for verifying SHA-256 hash of Subject Public Key Info (#31)
silbe Feb 19, 2017
33833fb
Fix memleak in rsa.c (#35)
ADiea Mar 13, 2017
47efb7a
use snprintf in print_blob (#40)
ADiea Mar 13, 2017
8afe552
Prefixing max/min defines with axtls_ so they don't clash with other …
madpilot Apr 13, 2017
feed1ca
decrease RAM usage using PROGMEM
ADiea Feb 19, 2017
822e866
Prevent WDT reset while processing the certificates
ADiea Feb 20, 2017
da2dabf
* RC4 only used if PKCS12 is used.
Aug 30, 2016
78c2449
Makefile: use -f{function,data}-sections, don’t rename sections
igrr Apr 29, 2017
bddda2a
Makefile: strip build path prefix from debug info
igrr Apr 29, 2017
a68324f
Update version numbers in readme and version.h
igrr Apr 29, 2017
425067a
* SNI added
Dec 12, 2016
2213f30
* X509 State, country and location are now used for verification and …
Dec 19, 2016
a2c7c7e
* Basic constraint functionality added.
Dec 28, 2016
acab61d
* Basic constraint/key usage v3 extensions now supported
Dec 30, 2016
25200d4
Update readme and version.h
igrr May 2, 2017
abec528
readme: list supported cipher suites
igrr May 2, 2017
48d0f11
Introduce HMAC functions operating on vectors
igrr May 8, 2017
da7ab4a
Don’t allocate extra memory in add_hmac_digest, use hmac_v functions
igrr May 8, 2017
1b2c299
sha512: place 64-bit constants into PROGMEM
igrr May 9, 2017
27f4a6c
Save ~3KB by moving strings out of RODATA
earlephilhower Jun 19, 2017
a21aaa8
Squashed 'tools/sdk/axtls/' content from commit 27f4a6c
madpilot Jul 13, 2017
b010419
Merge commit 'a21aaa8b62cba9fa63fefcec79e1aaa4d2ec3314' as 'tools/sdk…
madpilot Jul 13, 2017
cd1dc97
Adding axtls directory to include path in platform.txt, modified Hash…
madpilot Jul 14, 2017
cc8550d
removing axtls directory to re-add via subtree
madpilot Jul 15, 2017
8212377
Squashed 'tools/sdk/axtls/' content from commit 27f4a6c
madpilot Jul 15, 2017
2d87b0d
Merge commit '821237756e767e26008b5a54ec7b172e3754fc88' as 'tools/sdk…
madpilot Jul 15, 2017
4febcef
Merge commit '27f4a6caf69625a9e798b7a1c3b1406ec1ec1d85' into subtree-…
madpilot Jul 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 4 additions & 28 deletions libraries/Hash/src/Hash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@

#include "Hash.h"

extern "C" {
#include "sha1/sha1.h"
}
#include <crypto/crypto.h>

/**
* create a sha1 hash from data
Expand All @@ -39,31 +37,9 @@ extern "C" {
void sha1(uint8_t * data, uint32_t size, uint8_t hash[20]) {

SHA1_CTX ctx;

#ifdef DEBUG_SHA1
os_printf("DATA:");
for(uint16_t i = 0; i < size; i++) {
os_printf("%02X", data[i]);
}
os_printf("\n");
os_printf("DATA:");
for(uint16_t i = 0; i < size; i++) {
os_printf("%c", data[i]);
}
os_printf("\n");
#endif

SHA1Init(&ctx);
SHA1Update(&ctx, data, size);
SHA1Final(hash, &ctx);

#ifdef DEBUG_SHA1
os_printf("SHA1:");
for(uint16_t i = 0; i < 20; i++) {
os_printf("%02X", hash[i]);
}
os_printf("\n\n");
#endif
SHA1_Init(&ctx);
SHA1_Update(&ctx, data, size);
SHA1_Final(hash, &ctx);
}

void sha1(char * data, uint32_t size, uint8_t hash[20]) {
Expand Down
208 changes: 0 additions & 208 deletions libraries/Hash/src/sha1/sha1.c

This file was deleted.

32 changes: 0 additions & 32 deletions libraries/Hash/src/sha1/sha1.h

This file was deleted.

2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build.lwip_flags=-DLWIP_OPEN_SRC
compiler.path={runtime.tools.xtensa-lx106-elf-gcc.path}/bin/
compiler.sdk.path={runtime.platform.path}/tools/sdk
compiler.libc.path={runtime.platform.path}/tools/sdk/libc/xtensa-lx106-elf
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include" "-I{compiler.sdk.path}/lwip/include" "-I{compiler.libc.path}/include" "-I{build.path}/core"
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include" "-I{compiler.sdk.path}/lwip/include" "-I{compiler.libc.path}/include" "-I{build.path}/core" "-I{compiler.sdk.path}/axtls"

compiler.c.cmd=xtensa-lx106-elf-gcc
compiler.c.flags=-c {compiler.warning_flags} -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections
Expand Down
5 changes: 5 additions & 0 deletions tools/sdk/axtls/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.o
bin/
Makefile.local
.DS_Store

3 changes: 3 additions & 0 deletions tools/sdk/axtls/.gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "compat"]
path = compat
url = https://github.com/attachix/lwirax.git
43 changes: 43 additions & 0 deletions tools/sdk/axtls/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
sudo: false
language: bash
os:
- linux

script:
# Download Arduino IDE
- wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
- tar xf arduino.tar.xz
- mv arduino-nightly $HOME/arduino_ide
# Download ESP8266 Arduino core
- cd $HOME/arduino_ide/hardware
- mkdir esp8266com
- cd esp8266com
- git clone https://github.com/esp8266/Arduino.git esp8266
- cd esp8266
- export ESP8266_ARDUINO_DIR="$PWD"
# Download toolchain and esptool
- cd tools
- python get.py
- export PATH="$PATH:$PWD/xtensa-lx106-elf/bin"
# Build axTLS
- cd $TRAVIS_BUILD_DIR
- make
# Copy the library into Arduino core
- cp bin/libaxtls.a $ESP8266_ARDUINO_DIR/tools/sdk/lib/libaxtls.a
# Try building examples in ESP8266WiFi library from the ESP8266 Arduino core
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
- sleep 3
- export DISPLAY=:1.0
- export PATH="$HOME/arduino_ide:$PATH"
- which arduino
- cd $ESP8266_ARDUINO_DIR
- source tests/common.sh
- arduino --board esp8266com:esp8266:generic --save-prefs
- arduino --get-pref sketchbook.path
- build_sketches $HOME/arduino_ide $ESP8266_ARDUINO_DIR/libraries/ESP8266WiFi/examples/HTTPSRequest
# Feel free to add more test cases (for other environments) here

notifications:
email:
on_success: change
on_failure: change
24 changes: 24 additions & 0 deletions tools/sdk/axtls/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Copyright (c) 2008, Cameron Rich All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer. Redistributions in binary
form must reproduce the above copyright notice, this list of conditions and
the following disclaimer in the documentation and/or other materials
provided with the distribution. Neither the name of the axTLS Project nor
the names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
Loading