BAN-AI-Communications/k95-mingw

View on GitHub

Showing 5,973 of 5,973 total issues

High complexity in PKCS7_dataInit: [32/30]
Open

{

High complexity in ssl3_get_key_exchange: [32/30]
Open

{
Severity: Minor
Found in openssl-0.9.7/ssl/s3_clnt.c by gnu-complexity

High complexity in unzReadCurrentFile: [31/30]
Open

{

Tips depend on target shell and yours is unknown. Add a shebang.
Open

FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude"
Severity: Minor
Found in openssl-0.9.7/shlib/sun.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c
Severity: Minor
Found in openssl-0.9.7/shlib/sun.sh by shellcheck

Use $(..) instead of legacy ...
Open

OBJS="$OBJS `grep $obj allobjs`"

Double quote to prevent globbing and word splitting.
Open

cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket

Use $(..) instead of legacy ...
Open

for obj in `ar t libssl.a`

Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Open

cd $PWD

Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
Open

if [ $? != 0 ]; then
Severity: Minor
Found in openssl-0.9.7/util/mkcerts.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c
Severity: Minor
Found in openssl-0.9.7/shlib/irix.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

OBJS="$OBJS `grep $obj allobjs`"

Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Open

(cd crypto/sha/asm; perl sha1-586.pl cpp > sx86unix.cpp)
Severity: Minor
Found in openssl-0.9.7/util/x86asm.sh by shellcheck

Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
Open

if [ $? != 0 ]; then
Severity: Minor
Found in openssl-0.9.7/util/mkcerts.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

ln -s $1 $2
Severity: Minor
Found in openssl-0.9.7/util/point.sh by shellcheck

Use "${var:?}" to ensure this never expands to /etc .
Open

rm -rf ${INSTALL_PREFIX}/etc
Severity: Minor
Found in openssl-0.9.7/util/cygwin.sh by shellcheck

Use "${var:?}" to ensure this never expands to /usr .
Open

rm -rf ${INSTALL_PREFIX}/usr
Severity: Minor
Found in openssl-0.9.7/util/cygwin.sh by shellcheck

Consider using { cmd1; cmd2; } >> file instead of individual redirects.
Open

cat speed.1l >>speed.log
Severity: Minor
Found in openssl-0.9.7/util/speed.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c
Severity: Minor
Found in openssl-0.9.7/shlib/sun.sh by shellcheck

Double quote to prevent globbing and word splitting.
Open

$CC -c $CFLAGS -DCFLAGS="\"$FLAGS\"" -o crypto.o crypto/crypto.c
Severity: Minor
Found in openssl-0.9.7/shlib/solaris.sh by shellcheck
Severity
Category
Status
Source
Language