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