]>
Commit | Line | Data |
---|---|---|
651d0aff | 1 | |
f1c236f8 | 2 | OpenSSL CHANGES |
651d0aff RE |
3 | _______________ |
4 | ||
c90341a1 RL |
5 | Changes between 0.9.5a and 0.9.6 [xx XXX 2000] |
6 | ||
469938cb DSH |
7 | *) Fix various signed/unsigned issues to make a_strex,c |
8 | compile under VC++. | |
9 | [Oscar Jacobsson <oscar.jacobsson@celocom.com>] | |
10 | ||
11 | *) ASN1 fixes. i2d_ASN1_OBJECT was not returning the correct | |
12 | length if passed a buffer. ASN1_INTEGER_to_BN failed | |
13 | if passed a NULL BN and its argument was negative. | |
14 | [Steve Henson, pointed out by Sven Heiberg <sven@tartu.cyber.ee>] | |
15 | ||
eaa28181 DSH |
16 | *) Modification to PKCS#7 encoding routines to output definite |
17 | length encoding. Since currently the whole structures are in | |
18 | memory there's not real point in using indefinite length | |
19 | constructed encoding. However if OpenSSL is compiled with | |
20 | the flag PKCS7_INDEFINITE_ENCODING the old form is used. | |
21 | [Steve Henson] | |
22 | ||
e6629837 RL |
23 | *) Added BIO_vprintf() and BIO_vsnprintf(). |
24 | [Richard Levitte] | |
25 | ||
6fd5a047 RL |
26 | *) Added more prefixes to parse for in the the strings written |
27 | through a logging bio, to cover all the levels that are available | |
28 | through syslog. The prefixes are now: | |
29 | ||
30 | PANIC, EMERG, EMR => LOG_EMERG | |
31 | ALERT, ALR => LOG_ALERT | |
32 | CRIT, CRI => LOG_CRIT | |
33 | ERROR, ERR => LOG_ERR | |
34 | WARNING, WARN, WAR => LOG_WARNING | |
35 | NOTICE, NOTE, NOT => LOG_NOTICE | |
36 | INFO, INF => LOG_INFO | |
37 | DEBUG, DBG => LOG_DEBUG | |
38 | ||
39 | and as before, if none of those prefixes are present at the | |
40 | beginning of the string, LOG_ERR is chosen. | |
41 | ||
42 | On Win32, the LOG_* levels are mapped according to this: | |
43 | ||
44 | LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR => EVENTLOG_ERROR_TYPE | |
45 | LOG_WARNING => EVENTLOG_WARNING_TYPE | |
46 | LOG_NOTICE, LOG_INFO, LOG_DEBUG => EVENTLOG_INFORMATION_TYPE | |
47 | ||
48 | [Richard Levitte] | |
49 | ||
368f8554 RL |
50 | *) Made it possible to reconfigure with just the configuration |
51 | argument "reconf" or "reconfigure". The command line arguments | |
52 | are stored in Makefile.ssl in the variable CONFIGURE_ARGS, | |
53 | and are retrieved from there when reconfiguring. | |
54 | [Richard Levitte] | |
55 | ||
3009458e | 56 | *) MD4 implemented. |
bb531a0a | 57 | [Assar Westerlund <assar@sics.se>, Richard Levitte] |
3009458e | 58 | |
88364bc2 RL |
59 | *) Add the arguments -CAfile and -CApath to the pkcs12 utility. |
60 | [Richard Levitte] | |
61 | ||
d4fbe318 DSH |
62 | *) The obj_dat.pl script was messing up the sorting of object |
63 | names. The reason was that it compared the quoted version | |
64 | of strings as a result "OCSP" > "OCSP Signing" because | |
65 | " > SPACE. Changed script to store unquoted versions of | |
66 | names and add quotes on output. It was also omitting some | |
67 | names from the lookup table if they were given a default | |
68 | value (that is if SN is missing it is given the same | |
69 | value as LN and vice versa), these are now added on the | |
70 | grounds that if an object has a name we should be able to | |
71 | look it up. Finally added warning output when duplicate | |
72 | short or long names are found. | |
73 | [Steve Henson] | |
74 | ||
2d978cbd | 75 | *) Changes needed for Tandem NSK. |
d4fbe318 | 76 | [Scott Uroff scott@xypro.com] |
2d978cbd | 77 | |
aa826d88 BM |
78 | *) Fix SSL 2.0 rollback checking: Due to an off-by-one error in |
79 | RSA_padding_check_SSLv23(), special padding was never detected | |
80 | and thus the SSL 3.0/TLS 1.0 countermeasure against protocol | |
81 | version rollback attacks was not effective. | |
82 | ||
37569e64 BM |
83 | In s23_clnt.c, don't use special rollback-attack detection padding |
84 | (RSA_SSLV23_PADDING) if SSL 2.0 is the only protocol enabled in the | |
85 | client; similarly, in s23_srvr.c, don't do the rollback check if | |
86 | SSL 2.0 is the only protocol enabled in the server. | |
87 | [Bodo Moeller] | |
88 | ||
ca1e465f RL |
89 | *) Make it possible to get hexdumps of unprintable data with 'openssl |
90 | asn1parse'. By implication, the functions ASN1_parse_dump() and | |
91 | BIO_dump_indent() are added. | |
92 | [Richard Levitte] | |
93 | ||
a657546f DSH |
94 | *) New functions ASN1_STRING_print_ex() and X509_NAME_print_ex() |
95 | these print out strings and name structures based on various | |
96 | flags including RFC2253 support and proper handling of | |
97 | multibyte characters. Added options to the 'x509' utility | |
98 | to allow the various flags to be set. | |
99 | [Steve Henson] | |
100 | ||
284ef5f3 DSH |
101 | *) Various fixes to use ASN1_TIME instead of ASN1_UTCTIME. |
102 | Also change the functions X509_cmp_current_time() and | |
103 | X509_gmtime_adj() work with an ASN1_TIME structure, | |
104 | this will enable certificates using GeneralizedTime in validity | |
105 | dates to be checked. | |
106 | [Steve Henson] | |
107 | ||
108 | *) Make the NEG_PUBKEY_BUG code (which tolerates invalid | |
109 | negative public key encodings) on by default, | |
110 | NO_NEG_PUBKEY_BUG can be set to disable it. | |
111 | [Steve Henson] | |
112 | ||
113 | *) New function c2i_ASN1_OBJECT() which acts on ASN1_OBJECT | |
114 | content octets. An i2c_ASN1_OBJECT is unnecessary because | |
115 | the encoding can be trivially obtained from the structure. | |
116 | [Steve Henson] | |
117 | ||
fa729135 BM |
118 | *) crypto/err.c locking bugfix: Use write locks (CRYPTO_w_[un]lock), |
119 | not read locks (CRYPTO_r_[un]lock). | |
120 | [Bodo Moeller] | |
121 | ||
b436a982 RL |
122 | *) A first attempt at creating official support for shared |
123 | libraries through configuration. I've kept it so the | |
124 | default is static libraries only, and the OpenSSL programs | |
125 | are always statically linked for now, but there are | |
126 | preparations for dynamic linking in place. | |
127 | This has been tested on Linux and True64. | |
128 | [Richard Levitte] | |
129 | ||
c0722725 UM |
130 | *) Randomness polling function for Win9x, as described in: |
131 | Peter Gutmann, Software Generation of Practically Strong | |
132 | Random Numbers. | |
133 |