view dropbear_lint.sh @ 1709:04155ce30759

Sync curve25519 license
author Vladislav Grishenko <themiron@mail.ru>
date Sun, 31 May 2020 21:10:43 +0500
parents 90fffce0ee99
children
line wrap: on
line source

#!/bin/sh

EXITCODE=0

# #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1

exit $EXITCODE