openssl/apps
Hubert Kario 148b592db7 s_server: correctly handle 2^14 byte long records
as the code uses BIO_gets, and it always null terminates the
strings it reads, when it reads a record 2^14 byte long, it actually
returns 2^14-1 bytes to the calling application, in general it returns
size-1 bytes to the caller

This makes the code sub-optimal (as every 2^14 record will need two
BIO_gets() calls) and makes it impossible to use -rev option to test
all plaintext lengths (like in openssl#15706)

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17538)
2022-01-20 11:12:21 +01:00
..
demoSRP
include APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
lib coverity 1497107: dereference after null check 2022-01-14 17:06:22 +11:00
asn1parse.c
build.info
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c apps/ca: replace ;; with ; as statement separator 2022-01-18 15:10:38 +11:00
CA.pl.in
cert.pem
ciphers.c
client.pem
cmp.c apps/cmp.c: fix coding style nits reported by check-format.pl 2022-01-07 10:42:44 +01:00
cms.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
crl2pkcs7.c
crl.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
ct_log_list.cnf
dgst.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
dhparam.c
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
dsap.pem
dsaparam.c
ec.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
ecparam.c
enc.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
engine.c
errstr.c
fipsinstall.c
gendsa.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
genpkey.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
genrsa.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
info.c
insta.ca.crt
kdf.c
list.c
mac.c
nseq.c
ocsp.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
openssl-vms.cnf
openssl.c
openssl.cnf
passwd.c apps/passwd.c: free before error exiting 2022-01-05 10:02:02 +01:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c
pkcs8.c
pkcs12.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
pkey.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
pkeyparam.c
pkeyutl.c pkeyutl: Fix regression with -kdflen option 2022-01-12 12:17:34 +11:00
prime.c
privkey.pem
progs.pl
rand.c
rehash.c
req.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
req.pem
rsa8192.pem
rsa.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
rsautl.c
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Ensure s_client sends SNI data when used with -proxy 2021-12-29 15:33:09 +00:00
s_server.c s_server: correctly handle 2^14 byte long records 2022-01-20 11:12:21 +01:00
s_time.c
server2.pem
server.pem
server.srl
sess_id.c
smime.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
speed.c speed: rework if condition to avoid empty statement 2022-01-18 15:10:38 +11:00
spkac.c
srp.c
storeutl.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
tsget.in
verify.c Fix: some patches related to error exiting 2022-01-07 21:11:37 +11:00
version.c
vms_decc_init.c
x509.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00