Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Change the way apps open their input and output files
The different apps had the liberty to decide whether they would open their input and output files in binary mode or not, which could be confusing if two different apps were handling the same type of file in different ways. The solution is to centralise the decision of low level file organisation, and that the apps would use a selection of formats to state the intent of the file. Reviewed-by: Tim Hudson <tjh@openssl.org>
- Loading branch information
Showing
with
168 additions
and 144 deletions.
- +7 −14 apps/apps.c
- +16 −14 apps/apps.h
- +3 −3 apps/asn1pars.c
- +2 −1 apps/ca.c
- +6 −11 apps/cms.c
- +1 −1 apps/crl.c
- +2 −2 apps/crl2p7.c
- +1 −1 apps/dgst.c
- +2 −2 apps/dhparam.c
- +1 −1 apps/dsa.c
- +2 −2 apps/dsaparam.c
- +2 −2 apps/ec.c
- +2 −2 apps/ecparam.c
- +8 −8 apps/enc.c
- +2 −2 apps/gendsa.c
- +1 −1 apps/genpkey.c
- +1 −1 apps/genrsa.c
- +2 −2 apps/nseq.c
- +5 −5 apps/ocsp.c
- +43 −14 apps/openssl.c
- +1 −1 apps/passwd.c
- +12 −7 apps/pkcs12.c
- +2 −2 apps/pkcs7.c
- +2 −2 apps/pkcs8.c
- +1 −1 apps/pkey.c
- +2 −2 apps/pkeyparam.c
- +2 −2 apps/pkeyutl.c
- +8 −8 apps/rand.c
- +4 −4 apps/req.c
- +1 −1 apps/rsa.c
- +2 −2 apps/rsautl.c
- +2 −2 apps/sess_id.c
- +6 −11 apps/smime.c
- +2 −2 apps/spkac.c
- +10 −6 apps/ts.c
- +2 −2 apps/x509.c
Oops, something went wrong.