[openssl-dev] [openssl.org #3900] openssl returns success on bad arguments

bittwister2@gmail.com via RT rt at openssl.org
Mon Jun 8 23:47:10 UTC 2015


$ openssl version -a
OpenSSL 1.0.2a 19 Mar 2015
built on: reproducible build, date unspecified
platform: linux-x86_64
options:  bn(64,64) rc4(8x,int) des(idx,cisc,16,int) blowfish(idx)
compiler: gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fPIC -Wa,--noexecstack -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/etc/pki/tls"
engines:  dynamic

$ cat /etc/product.id
vendor=Mageia.Org,distribution=Mageia,type=Basic,version=5,branch=Official,release=5,arch=x86_64,product=Default

$ get_src_rpm openssl

      Installed rpm : openssl-1.0.2a-1.mga5
      Source rpm    : openssl-1.0.2a-1.mga5.src.rpm
      Information   : http://www.openssl.org/


Problem: openssl returns success code on bad arguments

Steps to Reproduce:

openssl -cert no.way xx yy
echo $?

_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod



More information about the openssl-dev mailing list