]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
Fix various memory leaks in SSL, apps and DSA
[thirdparty/openssl.git] / CHANGES
CommitLineData
651d0aff 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
5
9cb0969f 6 Changes between 0.9.1c and 0.9.2
0172f988 7
a8236c8c
DSH
8 *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
9 leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
10 in apps/ and an unrellated leak in crypto/dsa/dsa_vrf.c
11 [Steve Henson]
12
388ff0b0
DSH
13 *) Support for RAW extensions where an arbitrary extension can be
14 created by including its DER encoding. See apps/openssl.cnf for
15 an example.
a8236c8c 16 [Steve Henson]
388ff0b0 17
6013fa83
RE
18 *) Make sure latest Perl versions don't interpret some generated C array
19 code as Perl array code in the crypto/err/err_genc.pl script.
20 [Lars Weber <3weber@informatik.uni-hamburg.de>]
21
5c00879e
DSH
22 *) Modify ms/do_ms.bat to not generate assembly language makefiles since
23 not many people have the assembler. Various Win32 compilation fixes and
24 update to the INSTALL.W32 file with (hopefully) more accurate Win32
25 build instructions.
26 [Steve Henson]
27
9becf666
DSH
28 *) Modify configure script 'Configure' to automatically create crypto/date.h
29 file under Win32 and also build pem.h from pem.org. New script
30 util/mkfiles.pl to create the MINFO file on environments that can't do a
31 'make files': perl util/mkfiles.pl >MINFO should work.
32 [Steve Henson]
33
4e31df2c
BL
34 *) Major rework of DES function declarations, in the pursuit of correctness
35 and purity. As a result, many evil casts evaporated, and some weirdness,
36 too. You may find this causes warnings in your code. Zapping your evil
37 casts will probably fix them. Mostly.
38 [Ben Laurie]
39
e4119b93
DSH
40 *) Fix for a typo in asn1.h. Bug fix to object creation script
41 obj_dat.pl. It considered a zero in an object definition to mean
42 "end of object": none of the objects in objects.h have any zeros
43 so it wasn't spotted.
44 [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
45
4a71b90d
BL
46 *) Add support for Triple DES Cipher Block Chaining with Output Feedback
47 Masking (CBCM). In the absence of test vectors, the best I have been able
48 to do is check that the decrypt undoes the encrypt, so far. Send me test
49 vectors if you have them.
50 [Ben Laurie]
51
436d318c
BL
52 *) Correct caclulation of key length for export ciphers (too much space was
53 allocated for null ciphers). This has not been tested!
54 [Ben Laurie]
55
55a9cc6e
DSH
56 *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
57 message is now correct (it understands "crypto" and "ssl" on its
58 command line). There is also now an "update" option. This will update
59 the util/ssleay.num and util/libeay.num files with any new functions.
60 If you do a:
61 perl util/mkdef.pl crypto ssl update
62 it will update them.
e4119b93 63 [Steve Henson]
55a9cc6e 64
8073036d
RE
65 *) Overhauled the Perl interface (perl/*):
66 - ported BN stuff to OpenSSL's different BN library
67 - made the perl/ source tree CVS-aware
68 - renamed the package from SSLeay to OpenSSL (the files still contain
69 their history because I've copied them in the repository)
70 - removed obsolete files (the test scripts will be replaced
71 by better Test::Harness variants in the future)
72 [Ralf S. Engelschall]
73
483fdf18
RE
74 *) First cut for a very conservative source tree cleanup:
75 1. merge various obsolete readme texts into doc/ssleay.txt
76 where we collect the old documents and readme texts.
77 2. remove the first part of files where I'm already sure that we no
78 longer need them because of three reasons: either they are just temporary
79 files which were left by Eric or they are preserved original files where
80 I've verified that the diff is also available in the CVS via "cvs diff
81 -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
82 the crypto/md/ stuff).
83 [Ralf S. Engelschall]
84
175b0942
DSH
85 *) More extension code. Incomplete support for subject and issuer alt
86 name, issuer and authority key id. Change the i2v function parameters
87 and add an extra 'crl' parameter in the X509V3_CTX structure: guess
88 what that's for :-) Fix to ASN1 macro which messed up
89 IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
90 [Steve Henson]
91
bceacf93
DSH
92 *) Preliminary support for ENUMERATED type. This is largely copied from the
93 INTEGER code.
94 [Steve Henson]
95
351d8998
MC
96 *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
97 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
98
b621d772
RE
99 *) Make sure `make rehash' target really finds the `openssl' program.
100 [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
101
a96e7810
BL
102 *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
103 like to hear about it if this slows down other processors.
104 [Ben Laurie]
105
e04a6c2b
RE
106 *) Add CygWin32 platform information to Configure script.
107 [Alan Batie <batie@aahz.jf.intel.com>]
108
0172f988
RE
109 *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
110 [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
79dfa975
DSH
111
112 *) New program nseq to manipulate netscape certificate sequences
113 [Steve Henson]
320a14cb 114
9fe84296
DSH
115 *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
116 few typos.
117 [Steve Henson]
118
a0a54079
MC
119 *) Fixes to BN code. Previously the default was to define BN_RECURSION
120 but the BN code had some problems that would cause failures when
121 doing certificate verification and some other functions.
122 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
123
92c046ca
DSH
124 *) Add ASN1 and PEM code to support netscape certificate sequences.
125 [Steve Henson]
126
79dfa975
DSH
127 *) Add ASN1 and PEM code to support netscape certificate sequences.
128 [Steve Henson]
129
a27598bf
DSH
130 *) Add several PKIX and private extended key usage OIDs.
131 [Steve Henson]
132
b2347661
DSH
133 *) Modify the 'ca' program to handle the new extension code. Modify
134 openssl.cnf for new extension format, add comments.
135 [Steve Henson]
136
f317aa4c
DSH
137 *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
138 and add a sample to openssl.cnf so req -x509 now adds appropriate
139 CA extensions.
140 [Steve Henson]
141
834eeef9
DSH
142 *) Continued X509 V3 changes. Add to other makefiles, integrate with the
143 error code, add initial support to X509_print() and x509 application.
f317aa4c 144 [Steve Henson]
834eeef9 145
9aeaf1b4
DSH
146 *) Takes a deep breath and start addding X509 V3 extension support code. Add
147 files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
148 stuff is currently isolated and isn't even compiled yet.
149 [Steve Henson]
150
9b5cc156
DSH
151 *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
152 ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
153 Removed the versions check from X509 routines when loading extensions:
154 this allows certain broken certificates that don't set the version
155 properly to be processed.
156 [Steve Henson]
157
8039257d
BL
158 *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
159 Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
160 can still be regenerated with "make depend".
161 [Ben Laurie]
162
b13a1554
BL
163 *) Spelling mistake in C version of CAST-128.
164 [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
165
6c8abdd7
DSH
166 *) Changes to the error generation code. The perl script err-code.pl
167 now reads in the old error codes and retains the old numbers, only
168 adding new ones if necessary. It also only changes the .err files if new
169 codes are added. The makefiles have been modified to only insert errors
170 when needed (to avoid needlessly modifying header files). This is done
171 by only inserting errors if the .err file is newer than the auto generated
172 C file. To rebuild all the error codes from scratch (the old behaviour)
173 either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
174 or delete all the .err files.
9b5cc156 175 [Steve Henson]
6c8abdd7 176
649cdb7b
BL
177 *) CAST-128 was incorrectly implemented for short keys. The C version has
178 been fixed, but is untested. The assembler versions are also fixed, but
179 new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
180 to regenerate it if needed.
181 [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
182 Hagino <itojun@kame.net>]
183
184 *) File was opened incorrectly in randfile.c.
185