]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
If input is bad, we still need to clear the buffer.
[thirdparty/openssl.git] / CHANGES
CommitLineData
81a6c781 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
12bdb643
NL
5 Changes between 0.9.7f and 0.9.8 [xx XXX xxxx]
6
7 *) Use SHA-1 instead of MD5 as the default digest algorithm for
8 the apps/openssl applications.
9 [Nils Larsch]
4d94ae00 10
41a15c4f
BL
11 *) Compile clean with "-Wall -Wmissing-prototypes
12 -Wstrict-prototypes -Wmissing-declarations -Werror". Currently
13 DEBUG_SAFESTACK must also be set.
14 [Ben Laurie]
15
c9a112f5 16 *) Change ./Configure so that certain algorithms can be disabled by default.
ecc5ef87
BM
17 The new counterpiece to "no-xxx" is "enable-xxx".
18
19 The patented RC5 and MDC2 algorithms will now be disabled unless
20 "enable-rc5" and "enable-mdc2", respectively, are specified.
21
22 (IDEA remains enabled despite being patented. This is because IDEA
23 is frequently required for interoperability, and there is no license
24 fee for non-commercial use. As before, "no-idea" can be used to
25 avoid this algorithm.)
26
c9a112f5
BM
27 [Bodo Moeller]
28
6951c23a
RL
29 *) Add processing of proxy certificates (see RFC 3820). This work was
30 sponsored by KTH (The Royal Institute of Technology in Stockholm) and
31 EGEE (Enabling Grids for E-science in Europe).
32 [Richard Levitte]
33
ea681ba8
AP
34 *) RC4 performance overhaul on modern architectures/implementations, such
35 as Intel P4, IA-64 and AMD64.
36 [Andy Polyakov]
37
401ee37a
DSH
38 *) New utility extract-section.pl. This can be used specify an alternative
39 section number in a pod file instead of having to treat each file as
40 a separate case in Makefile. This can be done by adding two lines to the
41 pod file:
42
43 =for comment openssl_section:XXX
44
45 The blank line is mandatory.
46
47 [Steve Henson]
48
826a42a0
DSH
49 *) New arguments -certform, -keyform and -pass for s_client and s_server
50 to allow alternative format key and certificate files and passphrase
51 sources.
52 [Steve Henson]
53
5d7c222d
DSH
54 *) New structure X509_VERIFY_PARAM which combines current verify parameters,
55 update associated structures and add various utility functions.
56
57 Add new policy related verify parameters, include policy checking in
58 standard verify code. Enhance 'smime' application with extra parameters
59 to support policy checking and print out.
60 [Steve Henson]
61
30fe028f
GT
62 *) Add a new engine to support VIA PadLock ACE extensions in the VIA C3
63 Nehemiah processors. These extensions support AES encryption in hardware
64 as well as RNG (though RNG support is currently disabled).
65 [Michal Ludvig <michal@logix.cz>, with help from Andy Polyakov]
66
df11e1e9
GT
67 *) Deprecate BN_[get|set]_params() functions (they were ignored internally).
68 [Geoff Thorpe]
69
ad500340
AP
70 *) New FIPS 180-2 algorithms, SHA-224/-256/-384/-512 are implemented.
71 [Andy Polyakov and a number of other people]
72
e14f4aab
AP
73 *) Improved PowerPC platform support. Most notably BIGNUM assembler
74 implementation contributed by IBM.
75 [Suresh Chari, Peter Waltenberg, Andy Polyakov]
76
bcfea9fb
GT
77 *) The new 'RSA_generate_key_ex' function now takes a BIGNUM for the public
78 exponent rather than 'unsigned long'. There is a corresponding change to
79 the new 'rsa_keygen' element of the RSA_METHOD structure.
80 [Jelte Jansen, Geoff Thorpe]
81
d5f686d8
BM
82 *) Functionality for creating the initial serial number file is now
83 moved from CA.pl to the 'ca' utility with a new option -create_serial.
84
85 (Before OpenSSL 0.9.7e, CA.pl used to initialize the serial
86 number file to 1, which is bound to cause problems. To avoid
87 the problems while respecting compatibility between different 0.9.7
88 patchlevels, 0.9.7e employed 'openssl x509 -next_serial' in
89 CA.pl for serial number initialization. With the new release 0.9.8,
90 we can fix the problem directly in the 'ca' utility.)
64674bcc
DSH
91 [Steve Henson]
92
3a87a9b9
GT
93 *) Reduced header interdepencies by declaring more opaque objects in
94 ossl_typ.h. As a consequence, including some headers (eg. engine.h) will
95 give fewer recursive includes, which could break lazy source code - so
96 this change is covered by the OPENSSL_NO_DEPRECATED symbol. As always,
97 developers should define this symbol when building and using openssl to
98 ensure they track the recommended behaviour, interfaces, [etc], but
99 backwards-compatible behaviour prevails when this isn't defined.
100 [Geoff Thorpe]
101
bf5773fa
DSH
102 *) New function X509_POLICY_NODE_print() which prints out policy nodes.
103 [Steve Henson]
104
216659eb
DSH
105 *) Add new EVP function EVP_CIPHER_CTX_rand_key and associated functionality.
106 This will generate a random key of the appropriate length based on the
107 cipher context. The EVP_CIPHER can provide its own random key generation
108 routine to support keys of a specific form. This is used in the des and
109 3des routines to generate a key of the correct parity. Update S/MIME
110 code to use new functions and hence generate correct parity DES keys.
111 Add EVP_CHECK_DES_KEY #define to return an error if the key is not
112 valid (weak or incorrect parity).
113 [Steve Henson]
114
e1a27eb3
DSH
115 *) Add a local set of CRLs that can be used by X509_verify_cert() as well
116 as looking them up. This is useful when the verified structure may contain
117 CRLs, for example PKCS#7 signedData. Modify PKCS7_verify() to use any CRLs
118 present unless the new PKCS7_NO_CRL flag is asserted.
119 [Steve Henson]
120
6446e0c3
DSH
121 *) Extend ASN1 oid configuration module. It now additionally accepts the
122 syntax:
123
124 shortName = some long name, 1.2.3.4
125 [Steve Henson]
126
5c98b2ca
GT
127 *) Reimplemented the BN_CTX implementation. There is now no more static
128 limitation on the number of variables it can handle nor the depth of the
129 "stack" handling for BN_CTX_start()/BN_CTX_end() pairs. The stack
130 information can now expand as required, and rather than having a single
131 static array of bignums, BN_CTX now uses a linked-list of such arrays
132 allowing it to expand on demand whilst maintaining the usefulness of
133 BN_CTX's "bundling".
134 [Geoff Thorpe]
135
46ef873f
GT
136 *) Add a missing BN_CTX parameter to the 'rsa_mod_exp' callback in RSA_METHOD
137 to allow all RSA operations to function using a single BN_CTX.
138 [Geoff Thorpe]
139
4acc3e90
DSH
140 *) Preliminary support for certificate policy evaluation and checking. This
141 is initially intended to pass the tests outlined in "Conformance Testing
142 of Relying Party Client Certificate Path Processing Logic" v1.07.
143 [Steve Henson]
144
7f663ce4
GT
145 *) bn_dup_expand() has been deprecated, it was introduced in 0.9.7 and
146 remained unused and not that useful. A variety of other little bignum
147 tweaks and fixes have also been made continuing on from the audit (see
148 below).
149 [Geoff Thorpe]
150
875a644a
RL
151 *) Constify all or almost all d2i, c2i, s2i and r2i functions, along with
152 associated ASN1, EVP and SSL functions and old ASN1 macros.
7f663ce4 153 [Richard Levitte]
875a644a 154
b6358c89
GT
155 *) BN_zero() only needs to set 'top' and 'neg' to zero for correct results,
156 and this should never fail. So the return value from the use of
157 BN_set_word() (which can fail due to needless expansion) is now deprecated;
158 if OPENSSL_NO_DEPRECATED is defined, BN_zero() is a void macro.
159 [Geoff Thorpe]
160
9e051bac
GT
161 *) BN_CTX_get() should return zero-valued bignums, providing the same
162 initialised value as BN_new().
163