view .travis.yml @ 1089:d144a6bece53

Uses k_size as an signed integer buf_incrwritepos() and mp_to_unsigned_bin() functions use k_size as signed integer argument. k_size is also used in an assertion that compared it to curve_size which is a signed long. Only buf_getwriteptr() is using k_size as unsigned. So it safe to use it as signed.
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 11:37:37 +0200
parents 3cb73e8d6122
children 45830474d83c 20b9baf6d451
line wrap: on
line source

language: c
compiler:
  - gcc

script: 
  - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst 
  - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true
  - make install
  - ~/inst/bin/dropbearkey -t rsa -f testrsa
  - ~/inst/bin/dropbearkey -t dss -f testdss
  - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
  - ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
  - ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev

env: 
  - BUNDLEDLIBTOM=--disable-bundled-libtom
  - BUNDLEDLIBTOM=--enable-bundled-libtom
  - MULTI=1
  - NOWRITEV=1