mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-05 00:05:12 -04:00
* Fixed a typo in a comment * Refactored sig API following nist-branch (also fixes issue 380) * Fixed Windows compilation error in sig.c. * Added Picnic to Windows' config, and changed defaul alg to Picnic (since qTesla is not yet supported on Windows) * Moved sig_picnic and sig_qtesla under sig directory, to harmonize with kem api * Use different default sig alg on Windows to fix Travis back-compat tests and platform gap. * Further changes required for OQS to be properly used by applications * Compare OQS functions's return values to OQS error codes in sig.c. * Fixed typos in comments. * Replaced minimal_oqs_sig with example_sig. * Ensure travis tests fail on error * Add try-catch block in all-tests.sh * Ignore example_sig * Point global-namespace-check to .libs/liboqs.a * More precise error handling in global-namespace-check * Warning colours in travis tests and error handling in free-check * Error handling in style-check * Clean up style-check * Removed leftover minimal_sig_oqs ref and VS projects. * Prettyprint * Revert clang-format version check * Re-revert clang-format style check * Prettyprint * Added speed_sig to master. * Removed superfluous extern from sig schemes .h
15 lines
347 B
Bash
15 lines
347 B
Bash
#!/bin/bash
|
|
|
|
###
|
|
# Install clang-format on Linux
|
|
###
|
|
|
|
set -e
|
|
|
|
if [ ! -x "$(which clang-format-3.9)" ]; then
|
|
sudo add-apt-repository 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main'
|
|
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -qq -y clang-format-3.9
|
|
fi;
|