Matt Caswell
36216218ca
Prepare for 0.9.8zc release
...
Reviewed-by: Stephen Henson <steve@openssl.org >
2014-10-15 13:48:52 +01:00
Matt Caswell
115eaf4886
make update
...
Reviewed-by: Stephen Henson <steve@openssl.org >
2014-10-15 13:48:52 +01:00
Matt Caswell
53ce5647d4
Updates to NEWS
...
Reviewed-by: Dr Stephen Henson <steve@openssl.org >
2014-10-15 08:46:57 -04:00
Matt Caswell
4d2efa29f6
Updates to CHANGES file
...
Reviewed-by: Bodo Möller <bodo@openssl.org >
2014-10-15 08:46:57 -04:00
Geoff Thorpe
cd332a0750
Fix no-ssl3 configuration option
...
CVE-2014-3568
Reviewed-by: Emilia Kasper <emilia@openssl.org >
Reviewed-by: Rich Salz <rsalz@openssl.org >
2014-10-15 08:46:57 -04:00
Dr. Stephen Henson
2ed80d14d7
Fix for session tickets memory leak.
...
CVE-2014-3567
Reviewed-by: Rich Salz <rsalz@openssl.org >
Reviewed-by: Matt Caswell <matt@openssl.org >
(cherry picked from commit 90e53055939db40cf0fac1ad0c59630280aeee86)
2014-10-15 08:46:57 -04:00
Bodo Moeller
d286606301
Fix SSL_R naming inconsistency.
...
Reviewed-by: Tim Hudson <tjh@openssl.org >
2014-10-15 14:39:17 +02:00
Bodo Moeller
3f4d81e88b
Add TLS_FALLBACK_SCSV documentation, and move s_client -fallback_scsv
...
handling out of #ifndef OPENSSL_NO_DTLS1 section.
Reviewed-by: Rich Salz <rsalz@openssl.org >
2014-10-15 11:15:58 +02:00
Bodo Moeller
dc5dfe431c
Oops -- fix typo in coment added with TLS_FALLBACK_SCSV support.
...
Reviewed-by: Steve Henson <steve@openss.org >
2014-10-15 04:26:29 +02:00
Bodo Moeller
c6a876473c
Support TLS_FALLBACK_SCSV.
...
Reviewed-by: Stephen Henson <steve@openssl.org >
2014-10-15 04:18:29 +02:00
Dr. Stephen Henson
5a7fc89394
Add additional DigestInfo checks.
...
Reencode DigestInto in DER and check against the original: this
will reject any improperly encoded DigestInfo structures.
Note: this is a precautionary measure, there is no known attack
which can exploit this.
Thanks to Brian Smith for reporting this issue.
Reviewed-by: Tim Hudson <tjh@openssl.org >
2014-09-29 12:31:29 +01:00
Emilia Kasper
116fd3732a
Add missing tests
...
Accidentally omitted from commit 455b65dfab
Reviewed-by: Kurt Roeckx <kurt@openssl.org >
(cherry picked from commit fdc35a9d3e
)
2014-09-25 13:48:08 +02:00
Emilia Kasper
1bb01b1b5f
RT3425: constant-time evp_enc
...
Do the final padding check in EVP_DecryptFinal_ex in constant time to
avoid a timing leak from padding failure.
Reviewed-by: Rich Salz <rsalz@openssl.org >
(cherry picked from commit b55ff319f8
)
Conflicts:
crypto/evp/Makefile
crypto/evp/evp_enc.c
2014-09-24 16:41:55 +02:00
Emilia Kasper
699d78ce98
RT3067: simplify patch
...
(Original commit adb46dbc6d
)
Use the new constant-time methods consistently in s3_srvr.c
Reviewed-by: Kurt Roeckx <kurt@openssl.org >
(cherry picked from commit 455b65dfab
)
Conflicts:
ssl/Makefile
2014-09-24 16:01:46 +02:00
Adam Langley
43d613ec18
This change alters the processing of invalid, RSA pre-master secrets so
...
that bad encryptions are treated like random session keys in constant
time.
(cherry picked from commit adb46dbc6d
)
Reviewed-by: Rich Salz <rsalz@openssl.org >
2014-09-24 16:00:16 +02:00
Emilia Kasper
96e1015eec
RT3066: rewrite RSA padding checks to be slightly more constant time.
...
Also tweak s3_cbc.c to use new constant-time methods.
Also fix memory leaks from internal errors in RSA_padding_check_PKCS1_OAEP_mgf1
This patch is based on the original RT submission by Adam Langley <agl@chromium.org >,
as well as code from BoringSSL and OpenSSL.
Reviewed-by: Kurt Roeckx <kurt@openssl.org >
Conflicts:
crypto/rsa/rsa_oaep.c
2014-09-24 14:39:44 +02:00
Tim Hudson
cf4b01a766
Fixed error introduced in commit f2be92b94d
...
that fixed PR#3450 where an existing cast masked an issue when i was changed
from int to long in that commit
Picked up on z/linux (s390) where sizeof(int)!=sizeof(long)
Reviewed-by: Rich Salz <rsalz@openssl.org >
Reviewed-by: Matt Caswell <matt@openssl.org >
(cherry picked from commit b5ff559ff9
)
2014-09-22 06:31:05 +10:00
Adam Langley
45d129511f
Ensure that x**0 mod 1 = 0.
...
(cherry picked from commit 2b0180c37f
)
Reviewed-by: Ben Laurie <ben@openssl.org >
2014-09-04 16:07:39 +02:00
Richard Levitte
0976adac8f
Followup on RT3334 fix: make sure that a directory that's the empty
...
string returns 0 with errno = ENOENT.
Reviewed-by: Andy Polyakov <appro@openssl.org >
(cherry picked from commit 360928b7d0
)
2014-09-03 22:26:24 +02:00
Phil Mesnier
db5b0d9309
RT3334: Fix crypto/LPdir_win.c
...
Reviewed-by: Richard Levitte <levitte@openssl.org >
Reviewed-by: Andy Polyakov <appro@openssl.org >
(cherry picked from commit 6a14fe7576
)
2014-09-03 22:26:24 +02:00
Emilia Kasper
aeeedc8acc
Make the inline const-time functions static.
...
"inline" without static is not correct as the compiler may choose to ignore it
and will then either emit an external definition, or expect one.
Reviewed-by: Geoff Thorpe <geoff@openssl.org >
(cherry picked from commit 86f50b36e6
)
2014-09-02 15:25:20 +02:00
Matt Caswell
c903866420
Fixed double inclusion of string.h
...
PR2693
Reviewed-by: Tim Hudson <tjh@openssl.org >
(cherry picked from commit 5d33b70ef5a4768fdfb77a73f9817c4570613039)
2014-08-29 21:40:15 +01:00
Emilia Kasper
9b208659aa
Constant-time utilities
...
Pull constant-time methods out to a separate header, add tests.
Reviewed-by: Bodo Moeller <bodo@openssl.org >
(cherry picked from commit 73729e4cf3
)
Conflicts:
ssl/Makefile
test/Makefile
2014-08-28 17:28:42 +02:00
Adam Langley
f54fab0fef
RT3060: Limit the number of empty records.
...
Limit the number of empty records that will be processed consecutively
in order to prevent ssl3_get_record from never returning.
Reported by "oftc_must_be_destroyed" and George Kadianakis.
Reviewed-by: Bodo Moeller <bodo@openssl.org >
(cherry picked from commit 3aac17a82f
)
2014-08-22 15:53:34 +02:00
Emilia Kasper
b30aaafbe5
define inline for Visual Studio
...
In Visual Studio, inline is available in C++ only, however __inline is available for C, see
http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx
Reviewed-by: Richard Levitte <levitte@openssl.org >
Reviewed-by: Dr Stephen Henson <steve@openssl.org >
(cherry picked from commit f511b25a73
)
Conflicts:
e_os.h
2014-08-21 16:08:55 +02:00
Adam Langley
fee8d86d7a
Add volatile qualifications to two blocks of inline asm to stop GCC from
...
eliminating them as dead code.
Both volatile and "memory" are used because of some concern that the compiler
may still cache values across the asm block without it, and because this was
such a painful debugging session that I wanted to ensure that it's never
repeated.
(cherry picked from commit 7753a3a684
)
Conflicts:
crypto/bn/asm/x86_64-gcc.c
Reviewed-by: Rich Salz <rsalz@openssl.org >
(cherry picked from commit a90b1e32d2
)
2014-08-19 17:12:08 +02:00
Matt Caswell
bf3e53a7fa
Fixed out-of-bounds read errors in ssl3_get_key_exchange.
...
PR#3450
Conflicts:
ssl/s3_clnt.c
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-15 23:34:45 +01:00
Bodo Moeller
44a8fced97
Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and
...
group_order_tests (ectest.c). Also fix the EC_POINTs_mul documentation (ec.h).
Reviewed-by: emilia@openssl.org
Conflicts:
crypto/ec/ectest.c
Conflicts:
crypto/ec/ec.h
2014-08-13 18:09:00 +02:00
Matt Caswell
4ff07f4c71
Prepare for 0.9.8zc-dev
...
Reviewed-by: Stephen Henson <steve@openssl.org >
2014-08-06 22:29:40 +01:00
Matt Caswell
1c5f396d36
Prepare for 0.9.8zb release
...
Reviewed-by: Stephen Henson <steve@openssl.org >
2014-08-06 22:29:20 +01:00
Matt Caswell
9fcaaef34f
Updates to CHANGES and NEWS
...
Reviewed-by: Kurt Roeckx <kurt@openssl.org >
2014-08-06 22:02:00 +01:00
Emilia Kasper
b9a73f5481
Fix OID handling:
...
- Upon parsing, reject OIDs with invalid base-128 encoding.
- Always NUL-terminate the destination buffer in OBJ_obj2txt printing function.
CVE-2014-3508
Reviewed-by: Dr. Stephen Henson <steve@openssl.org >
Reviewed-by: Kurt Roeckx <kurt@openssl.org >
Reviewed-by: Tim Hudson <tjh@openssl.org >
2014-08-06 22:02:00 +01:00
Emilia Käsper
bff5319d90
Fix DTLS anonymous EC(DH) denial of service
...
CVE-2014-3510
Reviewed-by: Dr. Stephen Henson <steve@openssl.org >
2014-08-06 22:02:00 +01:00
David Benjamin
fc4bd2f287
Fix protocol downgrade bug in case of fragmented packets
...
CVE-2014-3511
Reviewed-by: Emilia Käsper <emilia@openssl.org >
Reviewed-by: Bodo Möller <bodo@openssl.org >
2014-08-06 22:02:00 +01:00
Adam Langley
4c836c96c4
Remove some duplicate DTLS code.
...
In |dtls1_process_out_of_seq_message|, we know that
|frag_len| <= |msg_hdr->msg_len| so the later tests for |frag_len <
msg_hdr->msg_len| can be more clearly written as |frag_len !=
msg_hdr->msg_len|, since that's the only remaining case.
Reviewed-by: Matt Caswell <matt@openssl.org >
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Matt Caswell
6e14e7fc19
Applying same fix as in dtls1_process_out_of_seq_message. A truncated DTLS fragment would cause *ok to be clear, but the return value would still be the number of bytes read.
...
Problem identified by Emilia Käsper, based on previous issue/patch by Adam
Langley.
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Adam Langley
fc15c44049
Fix return code for truncated DTLS fragment.
...
Previously, a truncated DTLS fragment in
|dtls1_process_out_of_seq_message| would cause *ok to be cleared, but
the return value would still be the number of bytes read. This would
cause |dtls1_get_message| not to consider it an error and it would
continue processing as normal until the calling function noticed that
*ok was zero.
I can't see an exploit here because |dtls1_get_message| uses
|s->init_num| as the length, which will always be zero from what I can
see.
Reviewed-by: Matt Caswell <matt@openssl.org >
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Adam Langley
445598b35e
Fix memory leak from zero-length DTLS fragments.
...
The |pqueue_insert| function can fail if one attempts to insert a
duplicate sequence number. When handling a fragment of an out of
sequence message, |dtls1_process_out_of_seq_message| would not call
|dtls1_reassemble_fragment| if the fragment's length was zero. It would
then allocate a fresh fragment and attempt to insert it, but ignore the
return value, leaking the fragment.
This allows an attacker to exhaust the memory of a DTLS peer.
Fixes CVE-2014-3507
Reviewed-by: Matt Caswell <matt@openssl.org >
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Matt Caswell
338a5e7e54
Fix DTLS handshake message size checks.
...
In |dtls1_reassemble_fragment|, the value of
|msg_hdr->frag_off+frag_len| was being checked against the maximum
handshake message size, but then |msg_len| bytes were allocated for the
fragment buffer. This means that so long as the fragment was within the
allowed size, the pending handshake message could consume 16MB + 2MB
(for the reassembly bitmap). Approx 10 outstanding handshake messages
are allowed, meaning that an attacker could consume ~180MB per DTLS
connection.
In the non-fragmented path (in |dtls1_process_out_of_seq_message|), no
check was applied.
Fixes CVE-2014-3506
Wholly based on patch by Adam Langley with one minor amendment.
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Matt Caswell
6a431cd293
Added comment for the frag->reassembly == NULL case as per feedback from Emilia
...
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Adam Langley
1b7024fb69
Avoid double free when processing DTLS packets.
...
The |item| variable, in both of these cases, may contain a pointer to a
|pitem| structure within |s->d1->buffered_messages|. It was being freed
in the error case while still being in |buffered_messages|. When the
error later caused the |SSL*| to be destroyed, the item would be double
freed.
Thanks to Wah-Teh Chang for spotting that the fix in 1632ef74
was
inconsistent with the other error paths (but correct).
Fixes CVE-2014-3505
Reviewed-by: Matt Caswell <matt@openssl.org >
Reviewed-by: Emilia Käsper <emilia@openssl.org >
2014-08-06 22:02:00 +01:00
Dr. Stephen Henson
5021f6314e
fix warn_unused_result warnings
...
Reviewed-by: Tim Hudson <tjh@openssl.org >
2014-08-06 21:59:15 +01:00
Dr. Stephen Henson
21d24dd38a
Fix warnings about ignored return values.
...
(cherry picked from commit 27131fe8f7
)
Reviewed-by: Matt Caswell <matt@openssl.org >
2014-08-06 21:58:25 +01:00
Bodo Moeller
681d11b6fd
Simplify and fix ec_GFp_simple_points_make_affine
...
(which didn't always handle value 0 correctly).
Reviewed-by: emilia@openssl.org
Conflicts:
CHANGES
crypto/ec/ectest.c
2014-08-01 17:59:31 +02:00
Billy Brumley
8c387e62b2
"EC_POINT_invert" was checking "dbl" function pointer instead of "invert".
...
PR#2569
Reviewed-by: Rich Salz <rsalz@openssl.org >
(cherry picked from commit cba11f57ce
)
2014-07-21 22:29:35 +01:00
Tim Hudson
a117329c5a
Remove old unused and unmaintained demonstration code.
...
Reviewed-by: Dr. Stephen Henson <steve@openssl.org >
(cherry picked from commit 62352b8138
)
2014-07-22 07:25:47 +10:00
Tim Hudson
f39dbff498
Minor documentation update removing "really" and a
...
statement of opinion rather than a fact.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org >
Reviewed-by: Rich Salz <rsalz@openssl.org >
(cherry picked from commit c8d133e4b6
)
2014-07-21 20:23:09 +10:00
Dr. Stephen Henson
f6fefb0cb6
Fix documentation for RSA_set_method(3)
...
PR#1675
Reviewed-by: Matt Caswell <matt@openssl.org >
(cherry picked from commit 197400c3f0d617d71ad8167b52fb73046d334320)
2014-07-19 18:32:29 +01:00
Jeffrey Walton
febfaa53f4
Fix typo, add reference.
...
PR#3456
Reviewed-by: Stephen Henson <steve@openssl.org >
Reviewed-by: Matt Caswell <matt@openssl.org >
(cherry picked from commit d48e78f0cf
)
2014-07-17 12:09:14 +01:00
Matt Caswell
cfed221c2d
Add Matt Caswell's fingerprint, and general update on the fingerprints file to bring it up to date
...
Reviewed-by: Tim Hudson <tjh@openssl.org >
(cherry picked from commit 3bd548192a
)
2014-07-15 23:25:07 +01:00
Dr. Stephen Henson
c2014ae252
Clarify -Verify and PSK.
...
PR#3452
(cherry picked from commit ca2015a617
)
2014-07-15 20:24:55 +01:00
Dr. Stephen Henson
c3d317b4de
Fix DTLS certificate requesting code.
...
Use same logic when determining when to expect a client
certificate for both TLS and DTLS.
PR#3452
(cherry picked from commit c8d710dc5f
)
2014-07-15 18:24:14 +01:00
Dr. Stephen Henson
a214feb26b
Don't allow -www etc options with DTLS.
...
The options which emulate a web server don't make sense when doing DTLS.
Exit with an error if an attempt is made to use them.
PR#3453
(cherry picked from commit 58a2aaeade8bdecd0f9f0df41927f7cff3012547)
2014-07-15 12:27:29 +01:00
Dr. Stephen Henson
7a3a82dbbd
Use case insensitive compare for servername.
...
PR#3445
(cherry picked from commit 1c3e9a7c67
)
2014-07-15 00:00:39 +01:00
Matt Caswell
02fef91630
Fixed valgrind complaint due to BN_consttime_swap reading uninitialised data.
...
This is actually ok for this function, but initialised to zero anyway if
PURIFY defined.
This does have the impact of masking any *real* unitialised data reads in bn though.
Patch based on approach suggested by Rich Salz.
PR#3415
(cherry picked from commit 77747e2d9a5573b1dbc15e247ce18c03374c760c)
2014-07-13 22:36:03 +01:00
Richard Levitte
0b8cd5acd6
* crypto/ui/ui_lib.c: misplaced brace in switch statement.
...
Detected by dcruette@qualitesys.com
(cherry picked from commit 8b5dd34091
)
2014-07-13 19:17:21 +02:00
Matt Caswell
97f4e235a1
Fix memory leak in BIO_free if there is no destroy function.
...
Based on an original patch by Neitrino Photonov <neitrinoph@gmail.com >
PR#3439
(cherry picked from commit 66816c53be
)
2014-07-09 23:38:23 +01:00
David Lloyd
cfd2aeeb7c
Prevent infinite loop loading config files.
...
PR#2985
(cherry picked from commit 9d23f422a3
)
2014-07-07 13:51:07 +01:00
Dr. Stephen Henson
a0fdc4c6d6
Fix ECC SSLv2 exclusion on OpenSSL 0.9.8.
2014-07-07 13:00:07 +01:00
Dr. Stephen Henson
b5def0243e
Update ticket callback docs.
...
(cherry picked from commit a23a6e85d8
)
2014-07-06 12:43:22 +01:00
Matt Caswell
357f6d8add
Fixes for newer versions of pod2man
2014-07-06 00:05:29 +01:00
Matt Caswell
19a71e8c16
Fixed error in pod files with latest versions of pod2man
...
(cherry picked from commit 07255f0a76d9d349d915e14f969b9ff2ee0d1953)
2014-07-06 00:05:29 +01:00
Alan Hryngle
7faa66433f
Return smaller of ret and f.
...
PR#3418.
(cherry picked from commit fdea4fff8f
)
2014-07-05 22:39:16 +01:00
Dr. Stephen Henson
1a0498769f
Don't limit message sizes in ssl3_get_cert_verify.
...
PR#319 (reoponed version).
(cherry picked from commit 7f6e957864
)
Conflicts:
ssl/s3_srvr.c
2014-07-05 13:32:40 +01:00
Dr. Stephen Henson
a4dde82423
More doc fixes.
2014-07-03 21:31:51 +01:00
Rich Salz
eba0aa995d
More bugfixes from the doc-fix merge; errors found by DrH, thanks.
2014-07-03 16:17:54 -04:00
Rich Salz
c9e6fffa53
Fix errors with last cherry-pick; SSL_CONF_* and s_client
...
-verify_return_error aren't in this release.
2014-07-03 14:31:04 -04:00
Rich Salz
85dcce7c63
Merge branch 'rsalz-docfixes'
...
(cherry picked from commit b5071dc2f6
)
Conflicts:
doc/apps/s_client.pod
doc/apps/verify.pod
doc/apps/x509v3_config.pod
doc/crypto/ASN1_generate_nconf.pod
doc/ssl/SSL_CONF_CTX_set_ssl_ctx.pod
doc/ssl/SSL_CONF_cmd.pod
doc/ssl/SSL_CONF_cmd_argv.pod
doc/ssl/SSL_CTX_set_cert_cb.pod
doc/ssl/SSL_CTX_set_security_level.pod
2014-07-03 12:35:40 -04:00
Rich Salz
2ed29615cb
Close 3170, remove reference to Ariel Glenn's old 0.9.8 doc
...
(cherry picked from commit f1112985e8
)
2014-07-03 12:28:54 -04:00
Matt Smart
d7080d624b
Fix doc typo.
...
ERR_get_error(3) references the non-existent
ERR_get_last_error_line_data instead of the one that does exist,
ERR_peek_last_error_line_data.
PR#3283
(cherry picked from commit 5cc99c6cf5
)
2014-07-02 03:45:21 +01:00
Geoff Thorpe
5d7c8a48db
util/mkerr.pl: fix perl warning
...
Gets rid of this;
defined(@array) is deprecated at ../util/mkerr.pl line 792.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at ../util/mkerr.pl line 800.
(Maybe you should just omit the defined()?)
Signed-off-by: Geoff Thorpe <geoff@openssl.org >
(cherry picked from commit 647f360e2e
)
2014-07-02 01:51:04 +01:00
Dr. Stephen Henson
00e86a74bd
ASN1 sanity check.
...
Primitive encodings shouldn't use indefinite length constructed
form.
PR#2438 (partial).
(cherry picked from commit 398e99fe5e
)
2014-07-02 01:01:55 +01:00
Dr. Stephen Henson
9e6857a358
Fix memory leak.
...
PR#2531.
(cherry picked from commit 59899c4d1b
)
2014-06-29 13:54:21 +01:00
Ken Ballou
715258486c
Typo.
...
PR#3173
(cherry picked from commit 76ed5a42ea
)
2014-06-29 13:39:32 +01:00
Dr. Stephen Henson
2daec41e25
Show errors on CSR verification failure.
...
If CSR verify fails in ca utility print out error messages.
Otherwise some errors give misleading output: for example
if the key size exceeds the library limit.
PR#2875
(cherry picked from commit a30bdb55d1
)
2014-06-29 13:35:18 +01:00
Dr. Stephen Henson
8519635923
Typo.
...
PR#3107
(cherry picked from commit 7c206db928
)
2014-06-28 12:43:50 +01:00
Dr. Stephen Henson
d0bdfdd830
Don't disable state strings with no-ssl2
...
Some state strings were erronously not compiled when no-ssl2
was set.
PR#3295
(cherry picked from commit 0518a3e19e
)
2014-06-28 00:57:18 +01:00
Andreas Westfeld
4b98488eb0
Fix typo in ideatest.c
...
(cherry picked from commit d1d4382dcb
)
2014-06-28 00:07:02 +01:00
Ken Ballou
0e2458e187
Remove redundant check.
...
PR#3174
(cherry picked from commit fd331c0bb9b557903dd2ce88398570a3327b5ef0)
2014-06-27 23:18:40 +01:00
Tom Greenslade
326de18955
Handle IPv6 addresses in OCSP_parse_url.
...
PR#2783
(cherry picked from commit b36f35cda9
)
2014-06-27 17:31:55 +01:00
Tomas Mraz
1fcfd61ee7
Don't advertise ECC ciphersuits in SSLv2 compatible client hello.
...
PR#3374
(cherry picked from commit 0436369fcc
)
2014-06-27 16:52:15 +01:00
Jeffrey Walton
121f386ec7
Clarify docs.
...
Document that the certificate passed to SSL_CTX_add_extra_chain_cert()
should not be freed by the application.
PR#3409
Add restrictions section present in other branches.
(cherry picked from commit 86cac6d3b2
)
2014-06-27 16:44:14 +01:00
Dr. Stephen Henson
9fb10cfe6b
Memory leak and NULL dereference fixes.
...
PR#3403
(cherry picked from commit d2aea03829
)
Conflicts:
apps/crl2p7.c
crypto/asn1/a_utctm.c
crypto/asn1/ameth_lib.c
crypto/asn1/bio_asn1.c
2014-06-27 15:33:18 +01:00
Dr. Stephen Henson
a20a6366c8
Remove ancient obsolete files under pkcs7.
...
(cherry picked from commit 7be6b27aaf
)
2014-06-27 14:04:35 +01:00
Huzaifa Sidhpurwala
54985b5061
Make sure BN_sqr can never return a negative value.
...
PR#3410
(cherry picked from commit e14e764c0d5d469da63d0819c6ffc0e1e9e7f0bb)
2014-06-26 23:52:18 +01:00
Miod Vallat
b09db677d5
Fix off-by-one errors in ssl_cipher_get_evp()
...
In the ssl_cipher_get_evp() function, fix off-by-one errors in index validation before accessing arrays.
Bug discovered and fixed by Miod Vallat from the OpenBSD team.
PR#3375
2014-06-22 23:26:33 +01:00
Matt Caswell
cdc596567d
Revert " Fix off-by-one errors in ssl_cipher_get_evp()"
...
This reverts commit def1490717
.
Incorrect attribution
2014-06-22 23:24:52 +01:00
Dr. Stephen Henson
70d923fb03
Accept CCS after sending finished.
...
Allow CCS after finished has been sent by client: at this point
keys have been correctly set up so it is OK to accept CCS from
server. Without this renegotiation can sometimes fail.
PR#3400
(cherry picked from commit 99cd6a91fcb0931feaebbb4832681d40a66fad41)
2014-06-14 22:26:56 +01:00
Kurt Cancemi
def1490717
Fix off-by-one errors in ssl_cipher_get_evp()
...
In the ssl_cipher_get_evp() function, fix off-by-one errors in index validation before accessing arrays.
PR#3375
2014-06-12 21:25:07 +01:00
Ben Laurie
7697d9b587
Allow the maximum value.
...
(Backported as a result of PR#3377 reported by Rainer Jung <rainer.jung@kippdata.de >)
2014-06-12 20:52:30 +01:00
Dr. Stephen Henson
0345354fe0
Fix null pointer errors.
...
PR#3394
(cherry picked from commit 7a9d59c148
)
2014-06-10 14:48:19 +01:00
Dr. Stephen Henson
90aef4431b
Clarify NEWS.
2014-06-09 09:40:25 +01:00
Dr. Stephen Henson
602689074a
Use correct wording for website scripts.
2014-06-06 13:26:31 +01:00
Dr. Stephen Henson
810d2c7f6e
Add two known issues to NEWS.
2014-06-06 12:31:13 +01:00
Dr. Stephen Henson
0a9b8dd1b4
Fix 0.9.8 FIPS capable OpenSSL build.
...
The object file bn_lib.o is excluded from FIPS builds which causes
a linker error for BN_consttime_swap. So move definition from bn_lib.c
to bn_gf2m.c
This change is *only* needed for OpenSSL 0.9.8 which uses the 1.2
FIPS module.
2014-06-06 12:31:13 +01:00
Matt Caswell
bfce4e5d6e
Fixed Windows compilation failure
2014-06-05 20:27:14 +01:00
Dr. Stephen Henson
4a1190beca
Prepare for 0.9.8zb-dev
2014-06-05 10:40:11 +01:00
Dr. Stephen Henson
047ec5d196
Prepare for 0.9.8za release
2014-06-05 10:38:57 +01:00
Dr. Stephen Henson
bb59889305
Update CHANGES and NEWS
2014-06-05 09:08:27 +01:00
Dr. Stephen Henson
141a5482fd
Fix CVE-2014-3470
...
Check session_cert is not NULL before dereferencing it.
2014-06-03 16:30:23 +01:00
Dr. Stephen Henson
de2422affb
Fix CVE-2014-0221
...
Unnecessary recursion when receiving a DTLS hello request can be used to
crash a DTLS client. Fixed by handling DTLS hello request without recursion.
Thanks to Imre Rad (Search-Lab Ltd.) for discovering this issue.
2014-06-03 16:30:23 +01:00
Dr. Stephen Henson
897169fdf0
Additional CVE-2014-0224 protection.
...
Return a fatal error if an attempt is made to use a zero length
master secret.
2014-06-03 16:30:23 +01:00
Dr. Stephen Henson
410a49a4fa
Fix for CVE-2014-0224
...
Only accept change cipher spec when it is expected instead of at any
time. This prevents premature setting of session keys before the master
secret is determined which an attacker could use as a MITM attack.
Thanks to KIKUCHI Masashi (Lepidum Co. Ltd.) for reporting this issue
and providing the initial fix this patch is based on.
2014-06-03 16:30:23 +01:00
Dr. Stephen Henson
82ba68c42d
Fix for CVE-2014-0195
...
A buffer overrun attack can be triggered by sending invalid DTLS fragments
to an OpenSSL DTLS client or server. This is potentially exploitable to
run arbitrary code on a vulnerable client or server.
Fixed by adding consistency check for DTLS fragments.
Thanks to Jüri Aedla for reporting this issue.
2014-06-03 16:30:23 +01:00
zhu qun-ying
4b258e73ae
Free up s->d1->buffered_app_data.q properly.
...
PR#3286
(cherry picked from commit 71e95000afb2227fe5cac1c79ae884338bcd8d0b)
2014-06-02 14:40:45 +01:00
Andy Polyakov
6ac2f67882
ecdsa.pod: typo.
...
PR: 2678
Submitted by: Annie Yousar
(cherry picked from commit d572544a2c
)
2014-06-02 13:59:53 +01:00
Sami Farin
bea1d1cbd8
Typo: set i to -1 before goto.
...
PR#3302
(cherry picked from commit 9717f01951f976f76dd40a38d9fc7307057fa4c4)
2014-06-02 12:28:50 +01:00
Dr. Stephen Henson
61e6e80fe5
Set default global mask to UTF8 only.
...
(cherry picked from commit 3009244da4
)
2014-06-01 15:04:49 +01:00
David Ramos
2ce540743e
Allocate extra space when NETSCAPE_HANG_BUG defined.
...
Make sure there is an extra 4 bytes for server done message when
NETSCAPE_HANG_BUG is defined.
PR#3361
(cherry picked from commit 673c42b238
)
2014-06-01 14:31:57 +01:00
Ben Laurie
8e928aab02
Fix signed/unsigned warning.
...
(cherry picked from commit 989d87cb1a
)
2014-05-29 14:16:21 +01:00
Dr. Stephen Henson
105e52bf23
Set version number correctly.
...
PR#3249
(cherry picked from commit 8909bf20269035d295743fca559207ef2eb84eb3)
2014-05-29 14:12:11 +01:00
František Bořánek
492a5010a4
Fix memory leak.
...
PR#3278
(cherry picked from commit de56fe797081fc09ebd1add06d6e2df42a324fd5)
2014-05-29 14:12:11 +01:00
Peter Mosmans
53b0b0a330
Fix for test_bn regular expression to work on Windows using MSYS. PR#3346
2014-05-27 23:30:17 +01:00
Matt Caswell
677c117419
Fixed error in args for SSL_set_msg_callback and SSL_set_msg_callback_arg
2014-05-25 23:48:57 +01:00
Matt Caswell
bb50d30f35
Fix for non compilation with TLS_DEBUG defined
2014-05-25 00:02:38 +01:00
Dr. Stephen Henson
8323996d99
Fix for PKCS12_create if no-rc2 specified.
...
Use triple DES for certificate encryption if no-rc2 is
specified.
PR#3357
(cherry picked from commit 03b5b78c09
)
2014-05-21 11:30:34 +01:00
Dr. Stephen Henson
ee14e33c35
Change default cipher in smime app to des3.
...
PR#3357
(cherry picked from commit ca3ffd9670f2b589bf8cc04923f953e06d6fbc58)
Conflicts:
doc/apps/smime.pod
2014-05-21 11:21:12 +01:00
Matt Caswell
1bcb94a721
Removed note in BUGS section about AEAD ciphers - inadvertently added to wrong branch
2014-05-15 21:24:07 +01:00
Jeffrey Walton
9658c634a2
Fix grammar error in verify pod. PR#3355
2014-05-14 23:00:57 +01:00
Jeffrey Walton
7ee8b27267
Add information to BUGS section of enc documentation. PR#3354
2014-05-14 23:00:57 +01:00
Michal Bozon
e4ea6f0c76
Corrected POD syntax errors. PR#3353
2014-05-14 23:00:56 +01:00
Kurt Roeckx
a2c00fb210
Check sk_SSL_CIPHER_num() after assigning sk.
2014-05-12 23:07:44 +01:00
Günther Noack
d06ae0fff7
Avoid out-of-bounds write in SSL_get_shared_ciphers
...
PR: 3317
2014-05-12 00:04:57 +01:00
Viktor Dukhovni
afa2ea204e
Fix infinite loop. PR#3347
2014-05-11 21:20:00 +01:00
Tim Hudson
0b6394c738
safety check to ensure we dont send out beyond the users buffer
2014-05-11 13:38:23 +01:00
Dr. Stephen Henson
70ddf8ecca
Return an error if no recipient type matches.
...
If the key type does not match any CMS recipient type return
an error instead of using a random key (MMA mitigation). This
does not leak any useful information to an attacker.
PR#3348
(cherry picked from commit 83a3182e0560f76548f4378325393461f6275493)
2014-05-08 13:18:49 +01:00
Geoff Thorpe
9febee0272
evp: prevent underflow in base64 decoding
...
This patch resolves RT ticket #2608 .
Thanks to Robert Dugal for originally spotting this, and to David
Ramos for noticing that the ball had been dropped.
Signed-off-by: Geoff Thorpe <geoff@openssl.org >
2014-05-06 18:23:54 -04:00
Geoff Thorpe
a721216f0f
bignum: allow concurrent BN_MONT_CTX_set_locked()
...
The lazy-initialisation of BN_MONT_CTX was serialising all threads, as
noted by Daniel Sands and co at Sandia. This was to handle the case that
2 or more threads race to lazy-init the same context, but stunted all
scalability in the case where 2 or more threads are doing unrelated
things! We favour the latter case by punishing the former. The init work
gets done by each thread that finds the context to be uninitialised, and
we then lock the "set" logic after that work is done - the winning
thread's work gets used, the losing threads throw away what they've done.
Signed-off-by: Geoff Thorpe <geoff@openssl.org >
2014-05-06 18:23:49 -04:00
Dr. Stephen Henson
47f689ac09
Initialize num properly.
...
PR#3289
PR#3345
(cherry picked from commit 3ba1e406c2
)
2014-05-06 14:09:26 +01:00
Dr. Stephen Henson
f51f374199
Set Enveloped data version to 2 if ktri version not zero.
...
(cherry picked from commit 9c5d953a07
)
2014-05-06 14:05:05 +01:00
Steve Marquess
3c1128f43f
Add new sponsors
...
(cherry picked from commit 351f0a124bffaa94d2a8abdec2e7dde5ae9c457d)
2014-04-24 12:31:42 +01:00
Dr. Stephen Henson
8185c9457e
Add new key fingerprint.
...
(cherry picked from commit 3143a332e8
)
2014-04-11 02:52:14 +01:00
Dr. Stephen Henson
c61f0cbffb
Fix free errors in ocsp utility.
...
Keep copy of any host, path and port values allocated by
OCSP_parse_url and free as necessary.
(cherry picked from commit 5219d3dd35
)
2014-04-09 15:45:56 +01:00
Dr. Stephen Henson
d90605dd00
Update FAQ.
...
(cherry picked from commit 6cc0068430
)
2014-04-04 13:09:13 +01:00
Dr. Stephen Henson
e56334998c
Use correct length when prompting for password.
...
Use bufsiz - 1 not BUFSIZ - 1 when prompting for a password in
the openssl utility.
Thanks to Rob Mackinnon, Leviathan Security for reporting this issue.
(cherry picked from commit 7ba08a4d73
)
2014-04-04 13:09:05 +01:00
Eric Young
9ad5c5e4f9
Fix base64 decoding bug.
...
A short PEM encoded sequence if passed to the BIO, and the file
had 2 \n following would fail.
PR#3289
(cherry picked from commit 10378fb5f4
)
2014-04-02 19:58:25 +01:00
Dr. Stephen Henson
4bc24cf01d
make update
2014-03-27 01:03:46 +00:00
Dr. Stephen Henson
79f57768ff
Update NEWS
2014-03-27 01:03:07 +00:00
Dr. Stephen Henson
d79eb9299a
Update ordinals.
...
Use a previously unused value as we will be updating multiple released
branches.
(cherry picked from commit 0737acd2a8
)
2014-03-27 00:59:48 +00:00
mancha
fff69a7d8c
Fix for CVE-2014-0076 backported to 0.9.8 branch
...
Fix for the attack described in the paper "Recovering OpenSSL
ECDSA Nonces Using the FLUSH+RELOAD Cache Side-channel Attack"
by Yuval Yarom and Naomi Benger. Details can be obtained from:
http://eprint.iacr.org/2014/140
Thanks to Yuval Yarom and Naomi Benger for discovering this
flaw and to Yuval Yarom for supplying a fix.
Thanks for mancha for backporting the fix to OpenSSL 0.9.8 branch.
2014-03-27 00:55:08 +00:00
mancha
a375025e4d
Fix alert handling.
...
Fix OpenSSL 0.9.8 alert handling.
PR#3038
2014-03-27 00:54:16 +00:00
Dr. Stephen Henson
d471adf351
Remove duplicate statement.
...
(cherry picked from commit 5a7652c3e5
)
2014-02-15 01:31:34 +00:00
Dr. Stephen Henson
2fb8642eea
Clarify docs.
...
Remove reference to ERR_TXT_MALLOCED in the error library as that is
only used internally. Indicate that returned error data must not be
freed.
(cherry picked from commit f2d678e6e8
)
2014-01-29 01:02:35 +00:00
Dr. Stephen Henson
c44d95c1a7
fix shell syntax PR#3216
...
(cherry picked from commit 080ae68432
)
2014-01-10 23:04:40 +00:00
Dr. Stephen Henson
0da40f0ffc
Restore SSL_OP_MSIE_SSLV2_RSA_PADDING
...
The flag SSL_OP_MSIE_SSLV2_RSA_PADDING hasn't done anything since OpenSSL
0.9.7h but deleting it will break source compatibility with any software
that references it. Restore it but #define to zero.
(cherry picked from commit b17d6b8d1d
)
2014-01-04 14:01:25 +00:00
Dr. Stephen Henson
7f722c95f8
remove obsolete STATUS file
2013-12-10 00:11:06 +00:00
Dr. Stephen Henson
4268216005
Add release dates to NEWS
2013-12-09 23:53:28 +00:00
Dr. Stephen Henson
17540b77e0
Simplify and update openssl.spec
2013-11-27 15:37:39 +00:00
Dr. Stephen Henson
b70e4d3e90
Fixes for no-static-engine and Windows builds.
2013-11-21 15:49:34 +00:00
Rob Stradling
d9519a4032
Update CHANGES.
2013-10-04 14:55:01 +01:00
Rob Stradling
5ac9786807
Fix compilation with this branch's definition of SSL_CIPHER.
2013-10-04 14:55:01 +01:00
Rob Stradling
0b05204c4e
Remove empty line.
2013-10-04 14:55:01 +01:00
Rob Stradling
a4bfeff254
Tidy up comments.
2013-10-04 14:55:01 +01:00
Rob Stradling
43433b3852
Use TLS version supplied by client when fingerprinting Safari.
2013-10-04 14:55:01 +01:00
Rob Stradling
020a4782bd
Backport TLS 1.1/1.2 #defines
2013-10-04 14:55:01 +01:00
Rob Stradling
cadbbd51c8
Don't prefer ECDHE-ECDSA ciphers when the client appears to be Safari on OS X.
...
OS X 10.8..10.8.3 has broken support for ECDHE-ECDSA ciphers.
2013-10-04 14:55:01 +01:00
Bodo Moeller
ff7b021040
Fix overly lenient comparisons:
...
- EC_GROUP_cmp shouldn't consider curves equal just because
the curve name is the same. (They really *should* be the same
in this case, but there's an EC_GROUP_set_curve_name API,
which could be misused.)
- EC_POINT_cmp shouldn't return 0 for ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
or EC_R_INCOMPATIBLE_OBJECTS errors because in a cmp API, 0 indicates
equality (not an error).
Reported by: king cope
(cherry picked from commit ca567a03ad
)
Conflicts:
Configure
2013-09-17 10:20:04 +02:00
Dr. Stephen Henson
e7e4d506d6
Correct ECDSA example.
...
(cherry picked from commit 3a918ea2bbf4175d9461f81be1403d3781b2c0dc)
2013-08-20 17:31:53 +01:00
Michael Tuexen
9204e7ef0d
DTLS message_sequence number wrong in rehandshake ServerHello
...
This fix ensures that
* A HelloRequest is retransmitted if not responded by a ClientHello
* The HelloRequest "consumes" the sequence number 0. The subsequent
ServerHello uses the sequence number 1.
* The client also expects the sequence number of the ServerHello to
be 1 if a HelloRequest was received earlier.
This patch fixes the RFC violation.
Conflicts:
ssl/d1_pkt.c
(cherry picked from commit 6f87807e62
)
2013-08-13 19:00:59 +01:00
Michael Tuexen
257df40f00
DTLS handshake fix.
...
Reported by: Prashant Jaikumar <rmstar@gmail.com >
Fix handling of application data received before a handshake.
(cherry picked from commit 0c75eeacd3
)
2013-08-08 13:33:20 +01:00
Dr. Stephen Henson
a44c9b9c33
Set s->d1 to NULL after freeing it.
...
(cherry picked from commit 04638f2fc3
)
2013-04-08 18:40:39 +01:00
Dr. Stephen Henson
1cbd7456aa
Print out DSA key if parameters absent.
...
In DSA_print DSA parameters can be absent (e.g inherited) it is
not a fatal error.
2013-04-07 22:50:55 +01:00
Dr. Stephen Henson
e1e39a2451
Disable compression for DTLS.
...
The only standard compression method is stateful and is incompatible with
DTLS.
(cherry picked from commit e14b8410ca
)
2013-03-19 13:48:02 +00:00
Andy Polyakov
01de6e21cc
x86cpuid.pl: make it work with older CPU.
...
PR: 3005, from master
2013-03-18 20:03:44 +01:00
Michael Tuexen
05689a132c
Avoid unnecessary fragmentation.
...
(cherry picked from commit 80ccc66d7e
)
2013-03-18 14:33:27 +00:00
Dr. Stephen Henson
1643edc63c
Encode INTEGER correctly.
...
If an ASN1_INTEGER structure is allocated but not explicitly set encode
it as zero: don't generate an invalid zero length INTEGER.
2013-03-18 14:19:40 +00:00
Dr. Stephen Henson
1546fb780b
Typo.
2013-03-18 13:58:32 +00:00
Dr. Stephen Henson
b7d222c519
Merge branch 'OpenSSL_0_9_8-stable' of /home/steve/src/git/openssl into OpenSSL_0_9_8-stable
2013-02-26 17:13:37 +00:00
Geoff Lowe
a93cc7c573
Use orig_len, not rec->orig_len
2013-02-26 17:12:13 +00:00
Nick Alcock
8988407a0b
Fix POD errors to stop make install_docs dying with pod2man 2.5.0+
...
podlators 2.5.0 has switched to dying on POD syntax errors. This means
that a bunch of long-standing erroneous POD in the openssl documentation
now leads to fatal errors from pod2man, halting installation.
Unfortunately POD constraints mean that you have to sort numeric lists
in ascending order if they start with 1: you cannot do 1, 0, 2 even if
you want 1 to appear first. I've reshuffled such (alas, I wish there
were a better way but I don't know of one).
2013-02-15 19:43:49 +01:00
Andy Polyakov
b2afc0a9dc
cms-test.pl: make it work with not-so-latest perl.
...
(cherry picked from commit 9c437e2fad
)
2013-02-14 16:40:55 +01:00
David Woodhouse
a8655eb21a
Check DTLS_BAD_VER for version number.
...
Need to check DTLS_BAD_VER as well as DTLS1_VERSION.
PR:2984
(cherry picked from commit 6a14feb048
)
2013-02-12 15:12:52 +00:00
Dr. Stephen Henson
f751dc4759
Fix for SSL_get_certificate
...
Now we set the current certificate to the one used by a server
there is no need to call ssl_get_server_send_cert which will
fail if we haven't sent a certificate yet.
(cherry picked from commit 147dbb2fe3
)
2013-02-11 18:27:41 +00:00
Dr. Stephen Henson
fbe621d08f
Fix in ssltest is no-ssl2 configured
...
(cherry picked from commit cbf9b4aed3
)
2013-02-11 18:27:33 +00:00
Dr. Stephen Henson
2e9fd4301f
use 10240 for tar record size
2013-02-11 15:20:57 +00:00
Lutz Jaenicke
1638ce7212
FAQ/README: we are now using Git instead of CVS
...
(cherry picked from commit f88dbb8385
)
Conflicts:
INSTALL.W32
2013-02-11 11:31:48 +01:00
Dr. Stephen Henson
7ecd974f5f
Set next version.
...
Note: it was decided that after 0.9.8y it should be 0.9.8za then
0.9.8zb etc.
2013-02-10 13:30:04 +00:00
Andy Polyakov
db731da802
ssl/s3_[clnt|srvr].c: fix warning and linking error.
...
PR: 2979
2013-02-09 19:38:47 +01:00
Andy Polyakov
5864fd2061
s3_cbc.c: make CBC_MAC_ROTATE_IN_PLACE universal.
...
(cherry picked from commit f93a41877d
)
2013-02-08 21:38:06 +01:00
Andy Polyakov
ff58eaa4b6
s3_cbc.c: get rid of expensive divisions [from master].
...
(cherry picked from commit e9baceab5a
)
2013-02-08 17:01:55 +01:00
Andy Polyakov
76c61a5d1a
ssl/s3_enc.c: remove artefact.
2013-02-08 12:03:16 +01:00
Andy Polyakov
4ea7019165
ssl/[d1|s3]_pkt.c: harmomize orig_len handling.
...
(cherry picked from commit 8545f73b89
)
2013-02-08 11:51:09 +01:00
Dr. Stephen Henson
59b1129e0a
Fix IV check and padding removal.
...
Fix the calculation that checks there is enough room in a record
after removing padding and optional explicit IV. (by Steve)
For AEAD remove the correct number of padding bytes (by Andy)
(cherry picked from commit be125aa5ba
)
2013-02-08 11:49:41 +01:00
Andy Polyakov
fb092ef4fc
ssl/*: remove SSL3_RECORD->orig_len to restore binary compatibility.
...
Kludge alert. This is arranged by passing padding length in unused
bits of SSL3_RECORD->type, so that orig_len can be reconstructed.
(cherry picked from commit 413cbfe68d
)
2013-02-07 15:03:00 +00:00
Adam Langley
6351adecb4
Fix for EXP-RC2-CBC-MD5
...
MD5 should use little endian order. Fortunately the only ciphersuite
affected is EXP-RC2-CBC-MD5 (TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5) which
is a rarely used export grade ciphersuite.
(cherry picked from commit ee463921ed
)
2013-02-06 16:12:49 +00:00
Dr. Stephen Henson
8964efc413
prepare for release
2013-02-05 16:50:37 +00:00
Dr. Stephen Henson
430b637bd5
make update
2013-02-05 16:50:36 +00:00
Dr. Stephen Henson
ca3b81c858
Fix error codes.
...
(cherry picked from commit 35d732fc2e
)
2013-02-05 16:50:36 +00:00
Dr. Stephen Henson
031cbecf86
update NEWS and CHANGES
2013-02-05 16:50:36 +00:00
Andy Polyakov
1213e6c3c2
bn_word.c: fix overflow bug in BN_add_word.
...
(cherry picked from commit 134c00659a
)
2013-02-05 16:50:36 +00:00
Dr. Stephen Henson
32619893b4
update NEWS
2013-02-05 16:50:35 +00:00
Andy Polyakov
40e0de0395
s3/s3_cbc.c: allow for compilations with NO_SHA256|512.
...
(cherry picked from commit d5371324d9
)
2013-02-05 16:50:35 +00:00
Andy Polyakov
5f9345a2f0
ssl/s3_cbc.c: md_state alignment portability fix.
...
RISCs are picky and alignment granted by compiler for md_state can be
insufficient for SHA512.
(cherry picked from commit 36260233e7
)
2013-02-05 16:50:35 +00:00
Andy Polyakov
33ccde59a1
ssl/s3_cbc.c: uint64_t portability fix.
...
Break dependency on uint64_t. It's possible to declare bits as
unsigned int, because TLS packets are limited in size and 32-bit
value can't overflow.
(cherry picked from commit cab13fc847
)
2013-02-05 16:50:35 +00:00
Dr. Stephen Henson
1909df070f
Don't access EVP_MD internals directly.
2013-02-05 16:50:35 +00:00
Dr. Stephen Henson
c23a745820
Add ordinal for CRYPTO_memcmp: since this will affect multiple
...
branches it needs to be in a "gap".
2013-02-05 16:50:34 +00:00
Dr. Stephen Henson
924b117422
Timing fix mitigation for FIPS mode.
...
We have to use EVP in FIPS mode so we can only partially mitigate
timing differences.
Make an extra call to HMAC_Update to hash additonal blocks
to cover any timing differences caused by removal of padding.
2013-02-05 16:50:34 +00:00
Dr. Stephen Henson
24b2806097
Move CRYPTO_memcmp to o_init.c when compiling with fips: cryptlib.o
...
is in the fips module for fips capable builds.
2013-02-05 16:50:34 +00:00
Dr. Stephen Henson
99f5093347
The cbc functions shouldn't be inside #ifdef OPENSSL_NO_TLSEXT
2013-02-05 16:50:34 +00:00
Ben Laurie
be88529753
Update DTLS code to match CBC decoding in TLS.
...
This change updates the DTLS code to match the constant-time CBC
behaviour in the TLS.
(cherry picked from commit 9f27de170d
)
(cherry picked from commit 5e4ca556e970edb8a7f364fcb6ee6818a965a60b)
Conflicts:
ssl/d1_enc.c
ssl/d1_pkt.c
ssl/s3_pkt.c
2013-02-05 16:50:33 +00:00
Ben Laurie
b3a959a337
Don't crash when processing a zero-length, TLS >= 1.1 record.
...
The previous CBC patch was bugged in that there was a path through enc()
in s3_pkt.c/d1_pkt.c which didn't set orig_len. orig_len would be left
at the previous value which could suggest that the packet was a
sufficient length when it wasn't.
(cherry picked from commit 6cb19b7681
)
(cherry picked from commit 2c948c1bb218f4ae126e14fd3453d42c62b93235)
Conflicts:
ssl/s3_enc.c
2013-02-05 16:50:33 +00:00
Ben Laurie
2928cb4c82
Fixups.
2013-02-05 16:50:33 +00:00
Ben Laurie
a33e6702a0
Oops. Add missing file.
...
(cherry picked from commit 014265eb02
)
(cherry picked from commit 7721c53e5e9fe4c90be420d7613559935a96a4fb)
2013-02-05 16:50:33 +00:00
Ben Laurie
35a65e814b
Make CBC decoding constant time.
...
This patch makes the decoding of SSLv3 and TLS CBC records constant
time. Without this, a timing side-channel can be used to build a padding
oracle and mount Vaudenay's attack.
This patch also disables the stitched AESNI+SHA mode pending a similar
fix to that code.
In order to be easy to backport, this change is implemented in ssl/,
rather than as a generic AEAD mode. In the future this should be changed
around so that HMAC isn't in ssl/, but crypto/ as FIPS expects.
(cherry picked from commit e130841bcc
)
Conflicts:
crypto/evp/c_allc.c
ssl/ssl_algs.c
ssl/ssl_locl.h
ssl/t1_enc.c
(cherry picked from commit 3622239826698a0e534dcf0473204c724bb9b4b4)
Conflicts:
ssl/d1_enc.c
ssl/s3_enc.c
ssl/s3_pkt.c
ssl/ssl3.h
ssl/ssl_algs.c
ssl/t1_enc.c
2013-02-05 16:50:32 +00:00
Andy Polyakov
7ad132b133
.gitignore adjustments
2013-02-05 16:50:32 +00:00
Ben Laurie
2708813166
Add and use a constant-time memcmp.
...
This change adds CRYPTO_memcmp, which compares two vectors of bytes in
an amount of time that's independent of their contents. It also changes
several MAC compares in the code to use this over the standard memcmp,
which may leak information about the size of a matching prefix.
(cherry picked from commit 2ee798880a
)
Conflicts:
crypto/crypto.h
ssl/t1_lib.c
(cherry picked from commit dc406b59f3169fe191e58906df08dce97edb727c)
Conflicts:
crypto/crypto.h
ssl/d1_pkt.c
ssl/s3_pkt.c
2013-02-05 16:50:32 +00:00
Ben Laurie
affe98998a
Add target so I can build.
2013-02-05 16:50:32 +00:00
Dr. Stephen Henson
66e8211c0b
Don't try and verify signatures if key is NULL (CVE-2013-0166)
...
Add additional check to catch this in ASN1_item_verify too.
2013-02-05 16:50:31 +00:00
Dr. Stephen Henson
dd2dee60f3
Don't include comp.h in cmd_cd.c if OPENSSL_NO_COMP set
2013-01-23 01:16:59 +00:00
Dr. Stephen Henson
6495179af6
Don't include comp.h if no-comp set.
2013-01-20 01:16:25 +00:00
Dr. Stephen Henson
61b8c79d15
Add .gitignore
2013-01-11 23:21:19 +00:00
Dr. Stephen Henson
42aa3ec4f2
PR: 2888
...
Reported by: Daniel Black <daniel.black@openquery.com >
Support renewing session tickets (backport from HEAD).
2012-12-10 16:45:39 +00:00
Dr. Stephen Henson
bb152dae8f
check mval for NULL too
2012-12-04 17:26:36 +00:00
Dr. Stephen Henson
c42ab44087
fix leak
2012-12-03 16:33:54 +00:00
Dr. Stephen Henson
42e10c3fd6
PR: 2803
...
Submitted by: jean-etienne.schwartz@bull.net
In OCSP_basic_varify return an error if X509_STORE_CTX_init fails.
2012-11-29 19:16:01 +00:00
Dr. Stephen Henson
c571a3e984
PR: 2908
...
Submitted by: Dmitry Belyavsky <beldmit@gmail.com >
Fix DH double free if parameter generation fails.
2012-11-21 14:01:38 +00:00
Dr. Stephen Henson
e55988bb60
correct docs
2012-11-19 20:07:23 +00:00
Dr. Stephen Henson
34b5ba3b60
PR: 2880
...
Submitted by: "Florian Rüchel" <florian.ruechel@ruhr-uni-bochum.de >
Correctly handle local machine keys in the capi ENGINE.
2012-11-18 15:20:40 +00:00
Andy Polyakov
629ac4b4ca
aix[64]-cc: get MT support right [from HEAD].
...
PR: 2896
2012-10-16 08:22:55 +00:00
Bodo Möller
75f0bc4f44
Fix EC_KEY initialization race.
...
Submitted by: Adam Langley
2012-10-05 20:51:47 +00:00
Dr. Stephen Henson
71a2440ee5
backport OCSP fix enhancement
2012-10-05 13:02:31 +00:00
Ben Laurie
04e40739f7
Update CHANGES for OCSP fix.
2012-10-05 13:00:17 +00:00
Ben Laurie
48bcdad0d5
Backport OCSP fix.
2012-10-05 12:50:24 +00:00
Bodo Möller
f7d2402cab
Fix Valgrind warning.
...
Submitted by: Adam Langley
2012-09-24 19:50:07 +00:00
Richard Levitte
808f55351a
* Configure: make the debug-levitte-linux{elf,noasm} less extreme.
2012-09-24 18:49:09 +00:00
Richard Levitte
c06271bc35
* ssl/t1_enc.c (tls1_change_cipher_state): Stupid bug. Fortunately in
...
debugging code that's seldom used.
2012-09-21 13:08:32 +00:00
Dr. Stephen Henson
92e5882aca
fix memory leak
2012-09-11 13:45:42 +00:00
Richard Levitte
afa0580cd5
Remove duplicate symbol in crypto/symhacks.h
...
Have the new names start in column 48, that makes it easy to see when
the 31 character limit is reached (on a 80 column display, do the math)
2012-07-05 09:06:20 +00:00
Dr. Stephen Henson
4baee3031c
PR: 2813
...
Reported by: Constantine Sapuntzakis <csapuntz@gmail.com >
Fix possible deadlock when decoding public keys.
2012-05-11 13:49:15 +00:00
Dr. Stephen Henson
db7a72b224
prepare for next version
2012-05-10 16:01:11 +00:00
Dr. Stephen Henson
b71e69ad8e
update FAQ
2012-05-10 14:38:52 +00:00
Dr. Stephen Henson
f856173c43
prepare for 0.9.8x release
2012-05-10 14:36:07 +00:00
Dr. Stephen Henson
d742f9ebbd
update NEWS
2012-05-10 14:35:13 +00:00
Dr. Stephen Henson
36dd4cba3d
Sanity check record length before skipping explicit IV in DTLS
...
to fix DoS attack.
Thanks to Codenomicon for discovering this issue using Fuzz-o-Matic
fuzzing as a service testing platform.
(CVE-2012-2333)
2012-05-10 14:33:11 +00:00
Dr. Stephen Henson
3978429ad5
Reported by: Solar Designer of Openwall
...
Make sure tkeylen is initialised properly when encrypting CMS messages.
2012-05-10 13:27:57 +00:00
Richard Levitte
885945d6e1
Correct environment variable is OPENSSL_ALLOW_PROXY_CERTS.
2012-05-04 10:43:17 +00:00
Dr. Stephen Henson
e22e770147
prepare for next version
2012-04-23 21:15:22 +00:00
Dr. Stephen Henson
e0c0203341
update STATUS
2012-04-23 21:03:04 +00:00
Dr. Stephen Henson
e1eec61e26
correct STATUS
2012-04-23 20:51:18 +00:00
Dr. Stephen Henson
296fa128c9
correct NEWS
2012-04-23 20:49:21 +00:00
Dr. Stephen Henson
6dde222aae
prepare form 0.9.8w release
2012-04-23 20:45:29 +00:00
Dr. Stephen Henson
391ac37018
update NEWS
2012-04-23 20:43:35 +00:00
Dr. Stephen Henson
8d038a08fb
The fix for CVE-2012-2110 did not take into account that the
...
'len' argument to BUF_MEM_grow and BUF_MEM_grow_clean is an
int in OpenSSL 0.9.8, making it still vulnerable. Fix by
rejecting negative len parameter.
Thanks to the many people who reported this bug and to Tomas Hoger
<thoger@redhat.com > for supplying the fix.
2012-04-23 20:35:55 +00:00
Dr. Stephen Henson
747c6ffda4
correct error code
2012-04-22 13:31:46 +00:00
Dr. Stephen Henson
d4cddc54f0
correct old FAQ answers, sync with HEAD
2012-04-22 13:22:38 +00:00
Dr. Stephen Henson
eb7112c18e
prepare for next version
2012-04-19 17:03:28 +00:00
Dr. Stephen Henson
fef9e07930
update FAQ
2012-04-19 12:05:18 +00:00
Dr. Stephen Henson
8ab27e6ef7
prepare for 0.9.8v release
2012-04-19 11:39:03 +00:00
Dr. Stephen Henson
6415055590
update NEWS
2012-04-19 11:37:17 +00:00
Dr. Stephen Henson
556e27b14f
Check for potentially exploitable overflows in asn1_d2i_read_bio
...
BUF_mem_grow and BUF_mem_grow_clean. Refuse attempts to shrink buffer
in CRYPTO_realloc_clean.
Thanks to Tavis Ormandy, Google Security Team, for discovering this
issue and to Adam Langley <agl@chromium.org > for fixing it. (CVE-2012-2110)
2012-04-19 11:36:09 +00:00
Dr. Stephen Henson
af0c009d70
use /fixed argument when linking FIPS targets to disable address space layout randomization
2012-04-15 16:48:34 +00:00
Dr. Stephen Henson
0b1cf4a139
PR: 2778(part)
...
Submitted by: John Fitzgibbon <john_fitzgibbon@yahoo.com >
Time is always encoded as 4 bytes, not sizeof(Time).
2012-03-31 18:02:23 +00:00
Dr. Stephen Henson
a9101cdcaa
Always use SSLv23_{client,server}_method in s_client.c and s_server.c,
...
the old code came from SSLeay days before TLS was even supported.
2012-03-18 18:18:30 +00:00
Dr. Stephen Henson
e351e2a7cf
prepare for next version
2012-03-12 16:35:13 +00:00
Dr. Stephen Henson
215276243d
corrected fix to PR#2711 and also cover mime_param_cmp
2012-03-12 15:25:53 +00:00
Dr. Stephen Henson
ddb7832852
correct FAQ
2012-03-12 15:01:44 +00:00
Dr. Stephen Henson
2fad41d155
prepare for release
2012-03-12 14:53:14 +00:00
Dr. Stephen Henson
b9c3d9168f
update NEWS
2012-03-12 14:52:14 +00:00
Dr. Stephen Henson
4f2fc3c2dd
Fix for CMS/PKCS7 MMA. If RSA decryption fails use a random key and
...
continue with symmetric decryption process to avoid leaking timing
information to an attacker.
Thanks to Ivan Nestlerode <inestlerode@us.ibm.com > for discovering
this issue. (CVE-2012-0884)
2012-03-12 14:51:45 +00:00
Dr. Stephen Henson
48819f4d54
fix error code
2012-03-12 14:50:55 +00:00
Dr. Stephen Henson
b0cbdd3eba
manually patch missing part of PR#2756
2012-03-12 12:46:52 +00:00
Dr. Stephen Henson
5016107550
PR: 2756
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Fix DTLS timeout handling.
2012-03-09 15:51:56 +00:00
Dr. Stephen Henson
25d5d15fd5
check return value of BIO_write in PKCS7_decrypt
2012-03-08 14:01:44 +00:00
Dr. Stephen Henson
725713f74a
PR: 2755
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reduce MTU after failed transmissions. [0.9.8 version of patch]
2012-03-07 15:14:16 +00:00
Dr. Stephen Henson
73eb0972cf
return failure code if I/O error
2012-03-06 19:08:30 +00:00
Dr. Stephen Henson
6720779c7e
revert PR#2755: it breaks compilation
2012-03-06 18:25:33 +00:00
Dr. Stephen Henson
b2a2c6af2a
PR: 2755
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reduce MTU after failed transmissions.
2012-03-06 13:45:47 +00:00
Dr. Stephen Henson
272993bac4
PR: 2696 Submitted by: Rob Austein <sra@hactrn.net>
...
Fix inverted range problem in RFC3779 code.
Thanks to Andrew Chi for generating test cases for this bug.
[from HEAD]
2012-03-06 13:37:52 +00:00
Dr. Stephen Henson
58532ae047
oops, revert unrelated patches
2012-03-06 13:22:32 +00:00
Dr. Stephen Henson
4e7f6d380d
PR: 2748
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Fix possible DTLS timer deadlock.
2012-03-06 13:20:20 +00:00
Dr. Stephen Henson
f0be325f88
Fix memory leak cause by race condition when creating public keys.
...
Thanks to Ivan Nestlerode <inestlerode@us.ibm.com > for reporting this bug.
2012-02-28 14:47:36 +00:00
Dr. Stephen Henson
b66af23aa9
free headers after use in error message
2012-02-27 16:26:32 +00:00
Dr. Stephen Henson
29d0c13e97
Detect symmetric crypto errors in PKCS7_decrypt.
...
Thanks to Ivan Nestlerode <inestlerode@us.ibm.com > for reporting this bug.
2012-02-27 15:23:20 +00:00
Dr. Stephen Henson
8a4e81a269
PR: 2711
...
Submitted by: Tomas Mraz <tmraz@redhat.com >
Tolerate bad MIME headers in parser.
2012-02-23 21:50:13 +00:00
Dr. Stephen Henson
843fc7b681
Fix bug in CVE-2011-4619: check we have really received a client hello
...
before rejecting multiple SGC restarts.
2012-02-16 15:21:17 +00:00
Dr. Stephen Henson
6dcb6bf1c1
PR: 2703
...
Submitted by: Alexey Melnikov <alexey.melnikov@isode.com >
Fix some memory and resource leaks in CAPI ENGINE.
2012-02-11 23:12:34 +00:00
Dr. Stephen Henson
1061c3cb3c
PR: 2705
...
Submitted by: Alexey Melnikov <alexey.melnikov@isode.com >
Only create ex_data indices once for CAPI engine.
2012-02-11 23:07:32 +00:00
Dr. Stephen Henson
0d0f15d8d1
fix Visual Studio 2010 warning [from HEAD] (original by appro)
2012-01-20 23:24:17 +00:00
Dr. Stephen Henson
a72ce94213
prepare for next version
2012-01-18 14:27:13 +00:00
Dr. Stephen Henson
f71d59c70e
update FAQ
2012-01-18 13:15:37 +00:00
Dr. Stephen Henson
3309f8313c
prepare for release
2012-01-18 13:14:49 +00:00
Dr. Stephen Henson
6cc5f194a7
update NEWS
2012-01-18 13:13:31 +00:00
Dr. Stephen Henson
096327a99a
Fix for DTLS DoS issue introduced by fix for CVE-2011-4109.
...
Thanks to Antonio Martin, Enterprise Secure Access Research and
Development, Cisco Systems, Inc. for discovering this bug and
preparing a fix. (CVE-2012-0050)
2012-01-18 13:12:08 +00:00
Dr. Stephen Henson
cc10bcf25e
fix CHANGES entry
2012-01-17 14:18:26 +00:00
Dr. Stephen Henson
875ac0ec00
fix warning
2012-01-10 14:37:00 +00:00
Bodo Möller
bf240f063a
Fix usage indentation
2012-01-05 13:15:29 +00:00
Bodo Möller
dd016b0570
Fix for builds without DTLS support.
...
Submitted by: Brian Carlstrom
2012-01-05 10:21:49 +00:00
Dr. Stephen Henson
244788464a
update for next version
2012-01-04 23:56:13 +00:00
Dr. Stephen Henson
a95808334e
update FAQ
2012-01-04 19:23:07 +00:00
Dr. Stephen Henson
b3cebd5acf
prepare for 0.9.8s release
2012-01-04 19:20:49 +00:00
Dr. Stephen Henson
7b775145e4
update NEWS
2012-01-04 19:16:11 +00:00
Dr. Stephen Henson
7183aa6b9d
make update
2012-01-04 19:12:39 +00:00
Dr. Stephen Henson
eebefe35e7
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>, Michael Tuexen <tuexen@fh-muenster.de>
...
Reviewed by: steve
Fix for DTLS plaintext recovery attack discovered by Nadhem Alfardan and
Kenny Paterson.
2012-01-04 19:10:16 +00:00
Dr. Stephen Henson
1db0bbdc76
Fix double free in policy check code (CVE-2011-4109)
2012-01-04 19:00:28 +00:00
Dr. Stephen Henson
e643112dd8
Clear bytes used for block padding of SSL 3.0 records. (CVE-2011-4576)
2012-01-04 18:54:17 +00:00
Dr. Stephen Henson
21c4b25959
Only allow one SGC handshake restart for SSL/TLS. (CVE-2011-4619)
2012-01-04 18:52:18 +00:00
Dr. Stephen Henson
41cf2c3aef
stop warning
2012-01-04 18:45:18 +00:00
Dr. Stephen Henson
0e3a930fb4
Prevent malformed RFC3779 data triggering an assertion failure (CVE-2011-4577)
2012-01-04 18:44:20 +00:00
Dr. Stephen Henson
0c214e0153
Submitted by: Adam Langley <agl@chromium.org>
...
Reviewed by: steve
Fix memory leaks.
2012-01-04 14:25:10 +00:00
Dr. Stephen Henson
6c61cfbe03
PR: 2326
...
Submitted by: Tianjie Mao <tjmao@tjmao.net >
Reviewed by: steve
Fix incorrect comma expressions and goto f_err as alert has been set.
2011-12-26 19:38:28 +00:00
Andy Polyakov
2ee77d36a0
x86-mont.pl: fix bug in integer-only squaring path [from HEAD].
...
PR: 2648
2011-12-09 14:28:48 +00:00
Dr. Stephen Henson
24f441e0bb
The default CN prompt message can be confusing when often the CN needs to
...
be the server FQDN: change it.
[Reported by PSW Group]
2011-12-06 00:01:09 +00:00
Bodo Möller
740da44f20
Resolve a stack set-up race condition (if the list of compression
...
methods isn't presorted, it will be sorted on first read).
Submitted by: Adam Langley
2011-12-02 12:50:44 +00:00
Bodo Möller
72033fde7b
Fix ecdsatest.c.
...
Submitted by: Emilia Kasper
2011-12-02 12:40:25 +00:00
Bodo Möller
9adf3fcf9a
Fix BIO_f_buffer().
...
Submitted by: Adam Langley
Reviewed by: Bodo Moeller
2011-12-02 12:23:57 +00:00
Andy Polyakov
65f7456652
ppc.pl: fix bug in bn_mul_comba4 [from HEAD].
...
PR: 2636
Submitted by: Charles Bryant
2011-11-05 10:17:06 +00:00
Dr. Stephen Henson
8794569a08
PR: 2628
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Send alert instead of assertion failure for incorrectly formatted DTLS
fragments.
2011-10-27 13:06:26 +00:00
Dr. Stephen Henson
f8731bc2fd
PR: 2632
...
Submitted by: emmanuel.azencot@bull.net
Reviewed by: steve
Return -1 immediately if not affine coordinates as BN_CTX has not been
set up.
2011-10-26 16:42:48 +00:00
Bodo Möller
195d6bf760
BN_BLINDING multi-threading fix.
...
Submitted by: Emilia Kasper (Google)
2011-10-19 14:57:59 +00:00
Bodo Möller
dacd94b9c8
Oops: this change ( http://cvs.openssl.org/chngview?cn=21503 )
...
wasn't right for 0.9.8-stable (it's actually a fix for
http://cvs.openssl.org/chngview?cn=14494 , which introduced
SSL_CTRL_SET_MAX_SEND_FRAGMENT).
2011-10-19 13:53:41 +00:00
Bodo Möller
8070cb5f87
Clarify warning
2011-10-13 13:24:13 +00:00
Bodo Möller
f7d514f449
In ssl3_clear, preserve s3->init_extra along with s3->rbuf.
...
Submitted by: Bob Buckholz <bbuckholz@google.com >
2011-10-13 13:04:40 +00:00
Dr. Stephen Henson
6d50bce79f
PR: 2482
...
Submitted by: Rob Austein <sra@hactrn.net >
Reviewed by: steve
Don't allow inverted ranges in RFC3779 code, discovered by Frank Ellermann.
2011-10-09 00:56:18 +00:00
Dr. Stephen Henson
3cf0a38b3e
fix signed/unsigned warning
2011-09-26 17:05:00 +00:00
Dr. Stephen Henson
91a1d08a4c
use keyformat for -x509toreq, don't hard code PEM
2011-09-23 21:49:08 +00:00
Dr. Stephen Henson
85e776885b
PR: 2606
...
Submitted by: Christoph Viethen <cv@kawo2.rwth-aachen.de >
Reviewed by: steve
Handle timezones correctly in UTCTime.
2011-09-23 13:40:06 +00:00
Dr. Stephen Henson
fc4015329f
PR: 2602
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS bug which prevents manual MTU setting
2011-09-23 13:35:32 +00:00
Dr. Stephen Henson
6ec9ff83f3
PR: 2347
...
Submitted by: Tomas Mraz <tmraz@redhat.com >
Reviewed by: steve
Fix usage message.
2011-09-23 13:13:02 +00:00
Bodo Möller
db45308477
(EC)DH memory handling fixes.
...
Submitted by: Adam Langley
2011-09-05 10:25:15 +00:00
Bodo Möller
1c7c69a8a5
Fix memory leak on bad inputs.
2011-09-05 09:56:48 +00:00
Bodo Möller
24ad061037
Move OPENSSL_init declaration out of auto-generated code section
...
(it is not auto-generated).
2011-09-05 09:52:58 +00:00
Dr. Stephen Henson
92f96fa721
PR: 2576
...
Submitted by: Doug Goldstein <cardoe@gentoo.org >
Reviewed by: steve
Include header file stdlib.h which is needed on some platforms to get
getenv() declaration.
2011-09-02 11:20:49 +00:00
Dr. Stephen Henson
0d1e362363
PR: 2340
...
Submitted by: "Mauro H. Leggieri" <mxmauro@caiman.com.ar >
Reviewed by: steve
Stop warnings if OPENSSL_NO_DGRAM is defined.
2011-09-01 15:03:10 +00:00
Dr. Stephen Henson
a0bf2c86ab
make timing attack protection unconditional
2011-09-01 14:23:41 +00:00
Dr. Stephen Henson
6a662a45f3
PR: 2573
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS buffering and decryption bug.
2011-09-01 14:01:36 +00:00
Dr. Stephen Henson
24d0524f31
PR: 2588
...
Submitted by: Thomas Jarosch <thomas.jarosch@intra2net.com >
Reviewed by: steve
Close file pointer.
2011-09-01 13:48:48 +00:00
Dr. Stephen Henson
c081817c95
PR: 2586
...
Submitted by: Thomas Jarosch <thomas.jarosch@intra2net.com >
Reviewed by: steve
Fix brace mismatch.
2011-09-01 13:37:11 +00:00
Dr. Stephen Henson
46a1f2487e
PR: 2559
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS socket error bug
2011-07-20 15:20:19 +00:00
Dr. Stephen Henson
ac02a4b68a
PR: 2555
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS sequence number bug
2011-07-20 15:17:20 +00:00
Dr. Stephen Henson
4ba063d3c5
PR: 2550
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS HelloVerifyRequest Timer bug
2011-07-20 15:12:58 +00:00
Andy Polyakov
e0e0818e4b
config: detect if assembler supports --noexecstack and pass it down [from HEAD].
2011-07-15 19:59:31 +00:00
Dr. Stephen Henson
82a5049f6a
PR: 2556 (partial)
...
Reported by: Daniel Marschall <daniel-marschall@viathinksoft.de >
Reviewed by: steve
Fix OID routines.
Check on encoding leading zero rejection should start at beginning of
encoding.
Allow for initial digit when testing when to use BIGNUMs which can increase
first value by 2 * 40.
2011-07-14 12:01:08 +00:00
Andy Polyakov
d027b75b73
perlasm/cbc.pl: fix tail processing bug [from HEAD].
...
PR: 2557
2011-07-13 06:25:15 +00:00
Dr. Stephen Henson
87421d3fc5
PR: 2471
...
Submitted by: Corinna Vinschen
util/cygwin.sh: maintainer's update [from HEAD].
2011-06-22 15:46:37 +00:00
Dr. Stephen Henson
87d14a3625
PR: 2470
...
Submitted by: Corinna Vinschen <vinschen@redhat.com >
Reviewed by: steve
Don't call ERR_remove_state from DllMain.
2011-06-22 15:39:19 +00:00
Dr. Stephen Henson
cc0931e36b
PR: 2543
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Correctly handle errors in DTLSv1_handle_timeout()
2011-06-22 15:29:36 +00:00
Dr. Stephen Henson
22152d6885
PR: 2540
...
Submitted by: emmanuel.azencot@bull.net
Reviewed by: steve
Prevent infinite loop in BN_GF2m_mod_inv().
2011-06-22 15:23:20 +00:00
Dr. Stephen Henson
102bcbce8d
correctly encode OIDs near 2^32
2011-06-22 15:15:20 +00:00
Andy Polyakov
8655de423d
rc4_skey.c [0.9.8]: at some point rc4_skey and x86[_64]cpuid were modified
...
to examine bit#20 on x86[_64], but it was erroneously reverted to bit#28
in 2008 in process of FIPS integration.
2011-06-06 19:58:21 +00:00
Dr. Stephen Henson
c4b2eb24b3
PR: 2529
...
Submitted by: Marcus Meissner <meissner@suse.de >
Reviewed by: steve
Call ssl_new() to reallocate SSL BIO internals if we want to replace
the existing internal SSL structure.
2011-05-25 15:15:43 +00:00
Dr. Stephen Henson
03e3fbb702
PR: 2527
...
Submitted by: Marcus Meissner <meissner@suse.de >
Reviewed by: steve
Set cnf to NULL to avoid possible double free.
2011-05-25 15:06:32 +00:00
Dr. Stephen Henson
bc7ee385f5
Fix the ECDSA timing attack mentioned in the paper at:
...
http://eprint.iacr.org/2011/232.pdf
Thanks to the original authors Billy Bob Brumley and Nicola Tuveri for
bringing this to our attention.
2011-05-25 14:52:54 +00:00
Dr. Stephen Henson
1e368ab08f
Fix the ECDSA timing attack mentioned in the paper at:
...
http://eprint.iacr.org/2011/232.pdf
Thanks to the original authors Billy Bob Brumley and Nicola Tuveri for
bringing this to our attention.
2011-05-25 14:43:47 +00:00
Dr. Stephen Henson
2c77c5c8db
Oops use up to date patch for PR#2506
2011-05-25 14:29:39 +00:00
Dr. Stephen Henson
1eb38c563f
PR: 2506
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fully implement SSL_clear for DTLS.
2011-05-25 12:28:42 +00:00
Dr. Stephen Henson
fa657871ed
PR: 2505
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS session resumption timer bug.
2011-05-25 12:24:03 +00:00
Dr. Stephen Henson
09dac71a45
update date
2011-05-19 17:57:08 +00:00
Dr. Stephen Henson
be70b3adce
set encodedPoint to NULL after freeing it
2011-05-19 16:18:39 +00:00
Dr. Stephen Henson
6d12b1f82b
check buffer is larger enough before overwriting
2011-04-06 18:07:12 +00:00
Dr. Stephen Henson
7116a41129
PR: 2462
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS Retransmission Buffer Bug
2011-04-03 17:15:23 +00:00
Dr. Stephen Henson
7143acab25
PR: 2458
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Don't change state when answering DTLS ClientHello.
2011-04-03 16:26:33 +00:00
Dr. Stephen Henson
11d4086d8e
PR: 2457
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Reviewed by: steve
Fix DTLS fragment reassembly bug.
2011-04-03 15:49:26 +00:00
Dr. Stephen Henson
32cd1da62e
PR: 2469
...
Submitted by: Jim Studt <jim@studt.net >
Reviewed by: steve
Check mac is present before trying to retrieve mac iteration count.
2011-03-13 18:23:24 +00:00
Bodo Möller
d430f56de6
start 0.9.8s-dev
2011-02-08 17:58:34 +00:00
Bodo Möller
957ebe98fb
OCSP stapling fix (OpenSSL 0.9.8r/1.0.0d)
...
Submitted by: Neel Mehta, Adam Langley, Bodo Moeller
2011-02-08 17:10:47 +00:00
Bodo Möller
9d09fc8485
Assorted bugfixes:
...
- RLE decompression boundary case
- SSL 2.0 key arg length check
Submitted by: Google (Neel Mehta, Bodo Moeller)
2011-02-03 12:04:48 +00:00
Bodo Möller
8ea4531718
Update 0.9.7-branch section with information from 1.0.0-branch NEWS file
2011-02-03 11:44:00 +00:00
Bodo Möller
881611678e
"make update"
2011-02-03 10:28:14 +00:00
Dr. Stephen Henson
a3dc628d86
PR: 2433
...
Submitted by: Chris Wilson <chris@qwirx.com >
Reviewed by: steve
Constify ASN1_STRING_set_default_mask_asc().
2011-01-24 16:21:00 +00:00
Dr. Stephen Henson
3c159fc1a5
check EC public key isn't point at infinity
2011-01-24 15:08:12 +00:00
Dr. Stephen Henson
6056afd223
PR: 1612
...
Submitted by: Robert Jackson <robert@rjsweb.net >
Reviewed by: steve
Fix EC_POINT_cmp function for case where b but not a is the point at infinity.
2011-01-24 14:42:11 +00:00
Richard Levitte
54db796991
PR: 2434
...
Under Windows, there seems to be a problem relinking fips_premain_dso
because that file is locked. Changing from backtick op to using
system() with redirection and reading the hash from the output file
seems to fix the problem.
In an ideal world, there should be no difference, as a command in a
backtick op should terminate before the backtick returns, same as it
does with system(). We suspect, though, that the loaded binary is
cached by Windows for a little while, and that reading the output from
a file provides enough delay for the lock to drop before we try to
relink.
2011-01-20 22:12:50 +00:00
Dr. Stephen Henson
119e912a83
Since DTLS 1.0 is based on TLS 1.1 we should never return a decryption_failed
...
alert.
2011-01-04 19:33:01 +00:00
Dr. Stephen Henson
f4a4a0fdc7
PR: 2411
...
Submitted by: Rob Austein <sra@hactrn.net >
Reviewed by: steve
Fix corner cases in RFC3779 code.
2011-01-03 01:40:22 +00:00
Dr. Stephen Henson
9ad765173f
Fix escaping code for string printing. If *any* escaping is enabled we
...
must escape the escape character itself (backslash).
2011-01-03 01:26:33 +00:00
Dr. Stephen Henson
c8e3c1a9b5
PR: 2410
...
Submitted by: Rob Austein <sra@hactrn.net >
Reviewed by: steve
Use OPENSSL_assert() instead of assert().
2011-01-03 01:20:03 +00:00
Dr. Stephen Henson
ae378b769a
use fips-dev not dev-fips
2011-01-03 00:43:47 +00:00
Dr. Stephen Henson
4de4e35459
PR: 2416
...
Submitted by: Mark Phalan <mark.phalan@oracle.com >
Reviewed by: steve
Use L suffix in version number.
2011-01-03 00:25:47 +00:00
Bodo Möller
5537a83e56
Add missing explicit instruction size.
...
[CVS head and later branches have this since revision 1.7 of this file.]
Submitted by: Chandler Carruth (Google)
2010-12-13 20:47:26 +00:00
Dr. Stephen Henson
c850d322a6
add Android changes from FIPS 1.2.2 module
2010-12-11 00:30:43 +00:00
Dr. Stephen Henson
b8be571868
update for next release
2010-12-02 19:42:28 +00:00
Dr. Stephen Henson
acd43bf38c
prepare for release
2010-12-02 18:53:52 +00:00
Dr. Stephen Henson
5eaf173647
update FAQ
2010-12-02 18:53:34 +00:00
Dr. Stephen Henson
7890b562bc
fix for CVE-2010-4180
2010-12-02 18:49:28 +00:00
Dr. Stephen Henson
7258d33794
PR: 2386
...
Submitted by: Stefan Birrer <stefan.birrer@adnovum.ch >
Reviewed by: steve
Correct SKM_ASN1_SET_OF_d2i macro.
2010-12-02 18:02:02 +00:00
Dr. Stephen Henson
263979a2a3
use consistent FAQ between version
2010-12-02 00:11:32 +00:00
Dr. Stephen Henson
2c6d83354d
update README
2010-12-01 17:50:41 +00:00
Dr. Stephen Henson
a188fc01fe
oops, no corrected fix needed for 0.9.8 branch
2010-12-01 17:48:59 +00:00
Dr. Stephen Henson
1948f9e042
update NEWS
2010-12-01 17:16:36 +00:00
Dr. Stephen Henson
f7ffc3a6c9
add CVE to JPAKE fix
2010-11-29 18:47:51 +00:00
Dr. Stephen Henson
4d6af5c5d2
../comm.txt
2010-11-27 17:33:34 +00:00
Ben Laurie
efed63d783
Backport J-PAKE fix.
2010-11-26 16:03:23 +00:00
Dr. Stephen Henson
7e351bb560
add acknowledgements file to 0.9.8 branch too
2010-11-22 16:35:15 +00:00
Dr. Stephen Henson
0067580321
update for next version
2010-11-16 16:35:37 +00:00
Dr. Stephen Henson
82e0073624
oops, correct version number
2010-11-16 14:56:17 +00:00
Dr. Stephen Henson
7e541b1a7f
prepare for release
2010-11-16 14:37:28 +00:00
Dr. Stephen Henson
2ae47ddbc2
fix CVE-2010-3864
2010-11-16 14:26:18 +00:00
Dr. Stephen Henson
3e8b8b8990
Submitted by: Jonathan Dixon <joth@chromium.org>
...
Reviewed by: steve
If store is NULL set flags correctly.
2010-11-02 15:57:00 +00:00
Dr. Stephen Henson
05bbbe9204
PR: 2295
...
Submitted by: Alexei Khlebnikov <alexei.khlebnikov@opera.com >
Reviewed by: steve
OOM checking. Leak in OOM fix. Fall-through comment. Duplicate code
elimination.
2010-10-11 23:28:54 +00:00
Dr. Stephen Henson
a073129293
PR: 2314
...
Submitted by: Mounir IDRASSI <mounir.idrassi@idrix.net >
Reviewed by: steve
Fix for double free bug in ssl/s3_clnt.c CVE-2010-2939
2010-10-10 12:21:23 +00:00
Dr. Stephen Henson
93fc0e0e40
We can't always read 6 bytes in an OCSP response: fix so error statuses
...
are read correctly for non-blocking I/O.
2010-10-06 18:01:35 +00:00
Dr. Stephen Henson
84f1c14396
Minor documentation fixes, PR#2345
2010-10-04 13:28:15 +00:00
Dr. Stephen Henson
f10986bab4
Minor documentation fixes, PR#2344
2010-10-04 13:25:29 +00:00
Dr. Stephen Henson
6cb5746b65
Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
...
this means that some implementations will be used automatically, e.g. aesni,
we do this for cryptodev anyway.
Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
2010-10-03 18:55:57 +00:00
Dr. Stephen Henson
0061aa9f32
Don't announce tests run in empty directories
2010-09-20 23:25:07 +00:00
Dr. Stephen Henson
3926bbcf6d
support customisable rm and mkdir commands
2010-09-19 15:34:23 +00:00
Dr. Stephen Henson
b5cee977c2
update FIPS script generator to make output easier to hand edit
2010-09-19 11:30:14 +00:00
Dr. Stephen Henson
ae3b60ba99
fix bug in AES_unwrap()
2010-08-30 23:57:03 +00:00
Bodo Möller
d4ba6424a1
ECC library bugfixes.
...
Submitted by: Emilia Kapser (Google)
2010-08-26 12:10:25 +00:00
Bodo Möller
92a97e52a0
Version tree clarification.
2010-08-26 11:15:09 +00:00
Dr. Stephen Henson
78dcaa0609
PR: 2297
...
Submitted by: Antony, Benoy <bantony@ebay.com >
Approved by: steve@openssl.org
Fix bug in AES wrap code when t > 0xff.
2010-07-09 17:24:29 +00:00
Dr. Stephen Henson
65b4c34d86
initialise pbe_tmp
2010-07-08 16:51:48 +00:00
Andy Polyakov
d8486c312c
rand_nw.c: compensate for gcc bug (using %edx instead of %eax at -O3)
...
[from HEAD].
PR: 2296
2010-07-08 09:15:14 +00:00
Andy Polyakov
8d4baaf2f0
PROBLEMS: MacOS X is not necessarily a problem anymore [from HEAD].
2010-07-08 09:01:33 +00:00
Dr. Stephen Henson
50fb940f05
make WIN32 compile work again
2010-07-08 01:23:25 +00:00
Dr. Stephen Henson
63e3676e68
fix so it is safe to repeatedly add PBE algorithms
2010-06-26 12:55:01 +00:00
Dr. Stephen Henson
1dac2cae68
prepare for next release
2010-06-16 13:40:09 +00:00
Ben Laurie
d886975835
Fix gcc 4.6 warnings. Check TLS server hello extension length.
2010-06-12 13:18:58 +00:00
Dr. Stephen Henson
22872a5363
Prepare for release.
2010-06-01 14:47:12 +00:00
Dr. Stephen Henson
82b6b541b1
Fix CVE-2010-0742
2010-06-01 14:39:57 +00:00
Dr. Stephen Henson
60a989a76e
fix PR#2261 in a different way
2010-05-31 13:17:52 +00:00
Andy Polyakov
18394ed50f
098 aes-x86_64.pl module was erroneously enabled in Win64 build without
...
being adapted for Win64 ABI. Fix this.
2010-05-30 22:02:03 +00:00
Dr. Stephen Henson
3416d11926
update NEWS file
2010-05-27 15:02:27 +00:00
Dr. Stephen Henson
c1f1a03d0c
PR: 2262
...
Submitted By: Victor Wagner <vitus@cryptocom.ru >
Fix error reporting in load_key function.
2010-05-27 14:09:22 +00:00
Dr. Stephen Henson
278a447ee8
PR: 2245
...
Submitted By: Mounir IDRASSI <mounir.idrassi@idrix.net >
Add /Zi to WIN32 debug builds in 0.9.8 tree.
2010-05-27 13:16:28 +00:00
Dr. Stephen Henson
8ceee689c7
PR: 2261
...
Submitted By: De Rudder, Stephen L." <s_derudder@tditx.com >
Workaround for newer Windows headers which define EADDRINUSE but not to the
same value as WSAEADDRINUSE.
2010-05-27 13:07:54 +00:00
Dr. Stephen Henson
356f164f52
PR: 2258
...
Submitted By: Ger Hobbelt <ger@hobbelt.com >
Base64 BIO fixes:
Use OPENSSL_assert() instead of assert().
Use memmove() as buffers overlap.
Fix write retry logic.
2010-05-27 12:41:33 +00:00
Dr. Stephen Henson
203ef9988c
PR: 2266
...
Submitted By: Jonathan Gray <jsg@goblin.cx >
Correct ioctl definitions.
2010-05-26 23:23:53 +00:00
Dr. Stephen Henson
9f51bdae00
Avoid use of ex_data free function in Chil ENGINE so it can be safely
...
reloaded.
2010-05-26 16:16:49 +00:00
Dr. Stephen Henson
59c4f46f0f
PR: 2251
...
Submitted by: Ger Hobbelt <ger@hobbelt.com >
Approved by: steve@openssl.org
Memleak, BIO chain leak and realloc checks in v3_pci.c
2010-05-22 00:31:18 +00:00
Dr. Stephen Henson
f9ab6255e7
oops, typo
2010-05-20 17:36:24 +00:00
Dr. Stephen Henson
a89b665b9b
make cms-test.pl consistent with other branches
2010-05-20 17:33:25 +00:00
Dr. Stephen Henson
a7949b8da3
PR: 2253
...
Submitted By: Ger Hobbelt <ger@hobbelt.com >
Check callback return value when outputting errors.
2010-05-15 00:36:40 +00:00
Dr. Stephen Henson
b0b4adc3af
Use /MD in FIPS mode for WIN64 too.
2010-05-06 13:10:36 +00:00
Dr. Stephen Henson
6e19895972
PR: 2252
...
Submitted By: Ger Hobbelt <ger@hobbelt.com >
Update docs to BIO_f_buffer()
2010-05-03 15:29:38 +00:00
Dr. Stephen Henson
d24f1cbf35
PR: 2230
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fix bug in bitmask macros and stop warnings.
2010-05-03 13:01:59 +00:00
Andy Polyakov
b8febed96a
Prevent ERR_print_errors_fp crash on Win32 [from HEAD].
2010-04-20 20:28:30 +00:00
Dr. Stephen Henson
82687bb4c3
PR: 2230
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fixed various DTLS fragment reassembly bugs patch for 0.9.8.
2010-04-14 13:26:50 +00:00
Dr. Stephen Henson
6506b7754a
update FAQ
2010-04-14 13:21:37 +00:00
Dr. Stephen Henson
2eb8e5e62a
fix signed/unsigned comparison warnings
2010-04-14 00:41:25 +00:00
Dr. Stephen Henson
c713a4c04d
PR: 2230
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fix various DTLS fragment reassembly bugs.
2010-04-14 00:17:12 +00:00
Dr. Stephen Henson
0cefa0f942
PR: 2229
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Don't drop DTLS connection if mac or decryption failed.
2010-04-14 00:09:39 +00:00
Dr. Stephen Henson
834c85ef0c
PR: 2228
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fix DTLS buffer record MAC failure bug.
2010-04-14 00:02:50 +00:00
Richard Levitte
0c8c8eab58
Third argument to dtls1_buffer_record is by reference
2010-04-13 08:42:01 +00:00
Dr. Stephen Henson
bc06baca76
Add SHA2 algorithms to SSL_library_init(). Although these aren't used
...
directly by SSL/TLS SHA2 certificates are becoming more common and
applications that only call SSL_library_init() and not
OpenSSL_add_all_alrgorithms() will fail when verifying certificates.
Update docs.
2010-04-07 13:19:48 +00:00
Dr. Stephen Henson
9eeb779e8f
Remove obsolete PRNG note. Add comment about use of SHA256 et al.
2010-04-06 15:02:43 +00:00
Dr. Stephen Henson
fe171f9c3e
PR: 2209
...
Submitted Daniel Mentz <danielml@sent.com >
Documentation typo.
2010-04-06 14:45:40 +00:00
Dr. Stephen Henson
5e613d5411
PR: 2218
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fixes for DTLS replay bug.
2010-04-06 12:44:44 +00:00
Dr. Stephen Henson
56e930eb03
PR: 2219
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fixes for DTLS buffering bug.
2010-04-06 12:39:57 +00:00
Dr. Stephen Henson
4a052f0bb9
PR: 2223
...
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de >
Fixes for DTLS timeout bug
2010-04-06 12:29:08 +00:00
Dr. Stephen Henson
f34e79f27b
make no-comp compile again
2010-03-30 17:31:58 +00:00
Dr. Stephen Henson
ef1fe9094c
make FAQ, STATUS consistent with other branches
2010-03-30 00:58:23 +00:00
Andy Polyakov
c25e8ee9b3
md32_common.h: fix copy-n-paste typo. The typo was present in 098 only.
2010-03-29 11:23:11 +00:00
Dr. Stephen Henson
4525a048ec
PR: 1696
...
Check return value if d2i_PBEPARAM().
2010-03-28 00:42:17 +00:00
Dr. Stephen Henson
f421a52f56
PR: 2083
...
Submitted by: Mike Frysinger <vapier@gentoo.org >
Add includes in synopsis, fix some indents. For some reason this never got
applied to the 0.9.8-stable branch.
2010-03-28 00:17:28 +00:00
Dr. Stephen Henson
17a79eec0c
PR: 1763
...
Remove useless num = 0 assignment.
Remove redundant cases on sock_ctrl(): default case handles them.
2010-03-27 23:28:33 +00:00
Dr. Stephen Henson
1eda14b44f
PR: 1813
...
Submitted by: Torsten Hilbrich <torsten.hilbrich@secunet.com >
Fix memory leak when engine name cannot be loaded.
2010-03-27 18:28:24 +00:00
Richard Levitte
aa9b502619
We don't have a whirlpool test in this branch.
2010-03-25 20:36:48 +00:00
Richard Levitte
aaf45e6464
Have an underscore before <ARCH> to make sure any future architecture
...
name won't be mixed up with any crypto name.
Missed the other spot.
2010-03-25 16:25:42 +00:00
Richard Levitte
be83c31cdd
Have an underscore before <ARCH> to make sure any future architecture
...
name won't be mixed up with any crypto name.
Missed one spot.
2010-03-25 16:18:51 +00:00
Richard Levitte
76a41eec2b
Try to define the tests and their respective directories in a way that
...
preserves the order of the tests (to make it as easy as possible to
synchronise with future Unix builds)
2010-03-25 14:46:58 +00:00
Richard Levitte
ab9c0ec9fc
Have an underscore before <ARCH> to make sure any future architecture
...
name won't be mixed up with any crypto name.
2010-03-25 14:45:22 +00:00
Dr. Stephen Henson
cf6a1dea19
PR: 2202 (partial)
...
Submitted by: Steven M. Schweda <sms@antinode.info >
VMS fixes:
Reduce copying into .apps and .test in makevms.com
Don't try to use blank CA certificate in CA.com
Allow use of C files from original directories in maketests.com
2010-03-25 12:29:56 +00:00
Dr. Stephen Henson
ea5b3f5e62
PR: 2202 (partial)
...
Submitted by: Steven M. Schweda <sms@antinode.info >
Make some declarations conditional on FIPS/ENGINE.
Make pqueue_print non-VAX.
2010-03-25 12:17:17 +00:00
Dr. Stephen Henson
c3c658e1c0
updates for next version
2010-03-25 12:07:04 +00:00
Dr. Stephen Henson
5d013b6b32
initialise buf if wrong_info not used
2010-03-24 23:42:30 +00:00
Dr. Stephen Henson
ee91323f52
PR: 1731 and maybe 2197
...
Clear error queue in a few places in SSL code where errors are expected
so they don't stay in the queue.
2010-03-24 23:16:35 +00:00
Dr. Stephen Henson
4fae868811
prepare for release
2010-03-24 13:16:55 +00:00
Dr. Stephen Henson
354f92d66a
Submitted by: Bodo Moeller and Adam Langley (Google).
...
Fix for "Record of death" vulnerability CVE-2010-0740.
2010-03-24 13:16:42 +00:00
Andy Polyakov
c3484e0268
rand_win.c: fix logical bug in readscreen [from HEAD].
2010-03-22 22:44:48 +00:00
Andy Polyakov
6b0be9c73d
bss_file.c: fix MSC 6.0 warning [from HEAD].
2010-03-22 22:40:18 +00:00
Andy Polyakov
02312a91ca
ppc.pl: assembler Y chokes on apostrophes in comment.
2010-03-22 20:58:43 +00:00
Andy Polyakov
744f6b648e
e_capi.c: fix typo [from HEAD].
2010-03-15 22:30:09 +00:00
Andy Polyakov
f1502a491e
Fix UPLINK typo [from HEAD].
2010-03-15 22:27:32 +00:00
Dr. Stephen Henson
b70871b675
workaround for missing definition in some headers
2010-03-15 13:12:00 +00:00
Dr. Stephen Henson
9de450b545
PR: 2192
...
Submitted By: Jaroslav Imrich <jaroslav.imrich@disig.sk >
The prompt_info and wrong_info parameters can be empty strings which
can produce confusing prompts. Treat empty string same as NULL.
2010-03-12 12:48:56 +00:00
Dr. Stephen Henson
cc53036744
missing goto meant signature was never printed out
2010-03-12 12:07:16 +00:00
Dr. Stephen Henson
4610d8dc00
don't leave bogus errors in the queue
2010-03-10 13:48:35 +00:00
Dr. Stephen Henson
5d7dfefe82
PR: 2186
...
Submitted By: "Joel Rabinovitch" <Joel.Rabinovitch@tecsys.com >
Detect aix64-gcc
2010-03-09 17:08:24 +00:00
Dr. Stephen Henson
5e8e7054f7
The OID sanity check was incorrect. It should only disallow *leading* 0x80
...
values.
2010-03-07 16:40:31 +00:00
Dr. Stephen Henson
9a542ea01d
don't add digest alias if signature algorithm is undefined
2010-03-06 20:52:33 +00:00
Dr. Stephen Henson
1939f83709
Fix memory leak: free up ENGINE functional reference if digest is not
...
found in an ENGINE.
2010-03-05 13:35:06 +00:00
Dr. Stephen Henson
b7c114f044
PR: 2183
...
PR#1999 broke fork detection by assuming HAVE_FORK was set for all platforms.
Include original HAVE_FORK detection logic while allowing it to be
overridden on specific platforms with -DHAVE_FORK=1 or -DHAVE_FORK=0
2010-03-03 19:56:00 +00:00
Dr. Stephen Henson
ede1351997
Submitted by: Tomas Hoger <thoger@redhat.com>
...
Fix for CVE-2010-0433 where some kerberos enabled versions of OpenSSL
could be crashed if the relevant tables were not present (e.g. chrooted).
2010-03-03 15:34:11 +00:00
Dr. Stephen Henson
7786ed6a64
don't mix definitions and code
2010-03-03 15:30:05 +00:00
Andy Polyakov
bdd08277b8
Fix s390x-specific HOST_l2c|c2l [from HEAD].
...
Submitted by: Andreas Krebbel
2010-03-02 16:26:13 +00:00
Dr. Stephen Henson
2bf4faa7e4
PR: 2178
...
Submitted by: "Kennedy, Brendan" <brendan.kennedy@intel.com >
Handle error codes correctly: cryptodev returns 0 for success whereas OpenSSL
returns 1.
2010-03-01 23:54:19 +00:00
Dr. Stephen Henson
2e5e604b0c
load cryptodev if HAVE_CRYPTODEV is set too
2010-03-01 00:30:11 +00:00
Ben Laurie
ed4cd027f3
Fix warnings.
2010-02-28 13:37:15 +00:00
Dr. Stephen Henson
bab19a2ac2
quote HOSTCC in case it isn't defined
2010-02-26 19:56:10 +00:00
Dr. Stephen Henson
582eb96d15
Revert CFB block length change. Despite what SP800-38a says the input to
...
CFB mode does *not* have to be a multiple of the block length and several
other specifications (e.g. PKCS#11) do not require this.
2010-02-26 14:41:38 +00:00
Dr. Stephen Henson
2649ce1ebc
Change versions for 0.9.8n-dev
2010-02-26 14:34:24 +00:00
Dr. Stephen Henson
7070cdba4e
Prepare for 0.9.8m release
2010-02-25 17:18:23 +00:00
Richard Levitte
e885de28b1
Since crypto-lib.com is built to be executed in the crypto/ directory,
...
there's no need to specify that directory in the include path.
2010-02-24 01:20:04 +00:00
Dr. Stephen Henson
3038649ab2
The meaning of the X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY and
...
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT error codes were reversed in
the verify application documentation.
2010-02-23 14:09:32 +00:00
Bodo Möller
3e4da3f7cb
Always check bn_wexpend() return values for failure (CVE-2009-3245).
...
(The CHANGES entry covers the change from PR #2111 as well, submitted by
Martin Olsson.)
Submitted by: Neel Mehta
2010-02-23 10:36:41 +00:00
Richard Levitte
53b5d04715
Apply changes from the 1.0.0 branch.
2010-02-23 07:51:39 +00:00
Richard Levitte
defede6080
Include [.CRYPTO.<ARCH>] instead of just [.<ARCH>]
2010-02-23 07:50:54 +00:00
Richard Levitte
1472f1427e
In some environments, we need to defined sslroot locally.
2010-02-22 07:05:50 +00:00
Richard Levitte
00d1ecb1da
Add t1_reneg to the VMS build.
...
Hack the symbols with long names.
2010-02-22 07:05:24 +00:00
Bodo Möller
739e0e934a
Fix X509_STORE locking
2010-02-19 18:25:39 +00:00
Dr. Stephen Henson
6ae9770d34
clarify documentation
2010-02-18 12:42:03 +00:00
Dr. Stephen Henson
bec7184768
OR default SSL_OP_LEGACY_SERVER_CONNECT so existing options are preserved
2010-02-17 19:43:08 +00:00
Dr. Stephen Henson
442ac8d259
Allow renegotiation if SSL_OP_LEGACY_SERVER_CONNECT is set as well as
...
initial connection to unpatched servers. There are no additional security
concerns in doing this as clients don't see renegotiation during an
attack anyway.
2010-02-17 18:37:47 +00:00
Dr. Stephen Henson
657b02d0cf
PR: 2100
...
Submitted by: James Baker <jbaker@tableausoftware.com > et al.
Workaround for slow Heap32Next on some versions of Windows.
2010-02-17 14:32:01 +00:00
Dr. Stephen Henson
b50ef8b216
PR: 2171
...
Submitted by: Tomas Mraz <tmraz@redhat.com >
Since SSLv2 doesn't support renegotiation at all don't reject it if
legacy renegotiation isn't enabled.
Also can now use SSL2 compatible client hello because RFC5746 supports it.
2010-02-16 14:19:42 +00:00
Dr. Stephen Henson
1b690c1a8b
The "block length" for CFB mode was incorrectly coded as 1 all the time. It
...
should be the number of feedback bits expressed in bytes. For CFB1 mode set
this to 1 by rounding up to the nearest multiple of 8.
2010-02-15 19:40:45 +00:00
Dr. Stephen Henson
2873a53f5f
Correct ECB mode EVP_CIPHER definition: IV length is 0
2010-02-15 19:25:37 +00:00
Dr. Stephen Henson
04a781e844
PR: 2164
...
Submitted by: "Noszticzius, Istvan" <inoszticzius@rightnow.com >
Don't clear the output buffer: ciphers should correctly the same input
and output buffers.
2010-02-15 19:02:53 +00:00
Dr. Stephen Henson
68be98d1a6
update references to new RI RFC
2010-02-12 22:02:07 +00:00
Dr. Stephen Henson
0bbbadf3f5
Fix memory leak in ENGINE autoconfig code. Improve error logging.
2010-02-09 14:18:15 +00:00
Dr. Stephen Henson
c0c1ce125a
update year
2010-02-09 14:13:30 +00:00
Dr. Stephen Henson
105861186f
Only use bufferoverflowu.lib when needed
2010-02-04 01:10:24 +00:00
Dr. Stephen Henson
4a9d335bb4
tolerate broken CMS/PKCS7 implementations using signature OID instead of digest
2010-02-02 14:19:54 +00:00
Dr. Stephen Henson
162f1e08f8
make no-rsa no-dsa compile again
2010-02-02 14:03:07 +00:00
Dr. Stephen Henson
0484ff5ec1
PR: 2160
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Make session tickets work with DTLS.
2010-02-01 16:48:40 +00:00
Dr. Stephen Henson
4acc2fed6c
PR: 2159
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Typo in PR#1949 bug, oops!
2010-02-01 12:44:21 +00:00
Dr. Stephen Henson
0369804ffa
In engine_table_select() don't clear out entire error queue: just clear
...
out any we added using ERR_set_mark() and ERR_pop_to_mark() otherwise
errors from other sources (e.g. SSL library) can be wiped.
2010-01-28 17:53:11 +00:00
Dr. Stephen Henson
33d7b5ec07
reword RI description
2010-01-27 18:53:59 +00:00
Dr. Stephen Henson
4b38f35e72
update documentation to reflect new renegotiation options
2010-01-27 17:50:47 +00:00
Dr. Stephen Henson
82c2773423
Some shells print out the directory name if CDPATH is set breaking the
...
pod2man test. Use ./util instead to avoid this.
2010-01-27 16:06:36 +00:00
Dr. Stephen Henson
ded27f709c
typo
2010-01-27 14:04:51 +00:00
Dr. Stephen Henson
30dc3e112b
stop warnings in fips_test_suite application
2010-01-27 14:03:26 +00:00
Dr. Stephen Henson
371b262f96
stop missing prototype warnings
2010-01-27 13:32:31 +00:00
Dr. Stephen Henson
b3fb2492d5
eliminate some warnings in fips build
2010-01-27 13:21:34 +00:00
Dr. Stephen Henson
93b810637b
Bypass algorithm blocking with TLS MD5+SHA1 signature in FIPS mode by
...
calling underlying method directly.
2010-01-27 00:51:24 +00:00
Dr. Stephen Henson
cc62974182
PR: 1949
...
Submitted by: steve@openssl.org
More robust fix and workaround for PR#1949. Don't try to work out if there
is any write pending data as this can be unreliable: always flush.
2010-01-26 19:40:36 +00:00
Dr. Stephen Henson
9413788571
PR: 2138
...
Submitted by: Kevin Regan <k.regan@f5.com >
Clear stat structure if -DPURIFY is set to avoid problems on some
platforms which include unitialised fields.
2010-01-26 18:08:42 +00:00
Dr. Stephen Henson
e8387db0c4
Fix VC++ warning (change had already been made to other branches).
2010-01-26 13:24:08 +00:00
Dr. Stephen Henson
81f28ca567
Typo
2010-01-26 12:29:32 +00:00
Dr. Stephen Henson
1b32943215
Update OID table too.
2010-01-25 16:08:52 +00:00
Dr. Stephen Henson
a231d99d4c
PR: 2149
...
Submitted by: Douglas Stebila <douglas@stebila.ca >
Fix wap OIDs.
2010-01-25 16:08:01 +00:00
Dr. Stephen Henson
714044cc03
oops revert test code from previous commit
2010-01-24 13:52:38 +00:00
Dr. Stephen Henson
5598b99fb3
The fix for PR#1949 unfortunately broke cases where the BIO_CTRL_WPENDING
...
ctrl is incorrectly implemented (e.g. some versions of Apache). As a workaround
call both BIO_CTRL_INFO and BIO_CTRL_WPENDING if it returns zero. This should
both address the original bug and retain compatibility with the old behaviour.
2010-01-24 13:50:57 +00:00
Dr. Stephen Henson
6899d9bbf6
If legacy renegotiation is not permitted then send a fatal alert if a patched
...
server attempts to renegotiate with an unpatched client.
2010-01-22 18:49:43 +00:00
Dr. Stephen Henson
cf876a9893
change versions back to 0.9.8m-dev
2010-01-20 18:22:04 +00:00
Dr. Stephen Henson
8b8a2928af
prepare for release
2010-01-20 17:26:02 +00:00
Dr. Stephen Henson
031774468c
update TABLE
2010-01-20 17:16:52 +00:00
Dr. Stephen Henson
dd28d12add
make update
2010-01-20 16:35:30 +00:00
Dr. Stephen Henson
6c61ee8fe3
Support -L options in VC++ link.
2010-01-20 14:04:29 +00:00
Andy Polyakov
b86ebb55ff
rand_win.c: handel GetTickCount wrap-around [from HEAD].
2010-01-19 21:45:45 +00:00
Andy Polyakov
66956eaba3
x86_64-xlate.pl: refine sign extension logic when handling lea [from HEAD].
...
PR: 2094,2095
2010-01-19 21:45:16 +00:00
Dr. Stephen Henson
444ff35029
revert patch
2010-01-19 19:10:53 +00:00
Dr. Stephen Henson
ff2549be1d
PR: 2144
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Better fix for PR#2144
2010-01-19 19:10:03 +00:00
Andy Polyakov
2557c6a812
Valgrind fix to aes-x86_64.pl in 0.9.8. For reference, newer aes-x86_64.pl
...
don't suffer from the problem after Win64 SEH support was added.
PR: 2075
Submitted by: Peter Klotz
2010-01-17 19:43:49 +00:00
Dr. Stephen Henson
aae48de0f7
PR: 2144
...
Submitted by: steve@openssl.org
Fix DTLS connection so new_session is reset if we read second client hello:
new_session is used to detect renegotiation.
2010-01-16 19:45:46 +00:00
Dr. Stephen Henson
766708f24b
PR: 2133
...
Submitted by: steve@openssl.org
Add missing DTLS state strings.
2010-01-16 19:18:31 +00:00
Dr. Stephen Henson
fbeb4a9d15
Add strings for DTLS protocol versions
2010-01-16 19:02:43 +00:00
Dr. Stephen Henson
24fc4f656c
PR: 1618
...
Submitted by: steve@openssl.org
Fix bug in 0.9.8-stable time handling in ca.c . NB: this only handles cases
where times are not being checked or printed properly. Issues relating to
time_t becoming negative or wrapping around are *NOT* addressed. OpenSSL
1.0.0 and later does fix these issues by using its own time routines.
2010-01-14 17:44:46 +00:00
Dr. Stephen Henson
c3c3b28818
Fix version handling so it can cope with a major version >3.
...
Although it will be many years before TLS v2.0 or later appears old versions
of servers have a habit of hanging around for a considerable time so best
if we handle this properly now.
2010-01-13 19:08:45 +00:00
Dr. Stephen Henson
06e2670a57
Modify compression code so it avoids using ex_data free functions. This
...
stops applications that call CRYPTO_free_all_ex_data() prematurely leaking
memory.
2010-01-13 18:45:03 +00:00
Dr. Stephen Henson
3798a4d059
Simplify RI+SCSV logic:
...
1. Send SCSV is not renegotiating, never empty RI.
2. Send RI if renegotiating.
2010-01-07 19:09:32 +00:00
Andy Polyakov
5b8246d6eb
x86_64-xlate.pl: new gas requires sign extention in lea instruction
...
[from HEAD].
PR: 2094,2095
2010-01-07 11:22:25 +00:00
Andy Polyakov
2e24bc421d
util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed [from HEAD].
...
PR: 2086
2010-01-07 11:04:49 +00:00
Dr. Stephen Henson
f244ed3ed2
correct error codes
2010-01-06 18:02:07 +00:00
Dr. Stephen Henson
50a095ed16
Updates to conform with draft-ietf-tls-renegotiation-03.txt:
...
1. Add provisional SCSV value.
2. Don't send SCSV and RI at same time.
3. Fatal error is SCSV received when renegotiating.
2010-01-06 17:59:41 +00:00
Dr. Stephen Henson
37aff2199e
Typo
2010-01-05 17:50:12 +00:00
Dr. Stephen Henson
309aa5fbf3
PR: 2132
...
Submitted by: steve
Fix bundled pod2man.pl to handle alternative comment formats.
2010-01-05 17:33:20 +00:00
Dr. Stephen Henson
5f40948714
Update RI to match latest spec.
...
MCSV is now called SCSV.
Don't send SCSV if renegotiating.
Also note if RI is empty in debug messages.
2009-12-27 23:03:40 +00:00
Dr. Stephen Henson
c22050be29
Traditional Yuletide commit ;-)
...
Add Triple DES CFB1 and CFB8 to algorithm list and NID translation.
2009-12-25 14:11:18 +00:00
Bodo Möller
54ca55fd81
Constify crypto/cast.
2009-12-22 11:45:57 +00:00
Bodo Möller
d0e79d7e2c
Constify crypto/cast.
2009-12-22 10:59:03 +00:00
Dr. Stephen Henson
c1003dfd15
Ooops, engage ENGINE initialisation code correctly in FIPS builds.
2009-12-17 16:38:18 +00:00
Dr. Stephen Henson
98809a1458
Alert to use is now defined in spec: update code
2009-12-17 15:42:25 +00:00
Dr. Stephen Henson
ccc3df8c33
New option to enable/disable connection to unpatched servers
2009-12-16 20:34:20 +00:00
Dr. Stephen Henson
593a6dbe19
add another missed case
2009-12-14 01:32:47 +00:00
Dr. Stephen Henson
efbe446f1a
simplify RI error code and catch extra error case ignored before
2009-12-14 01:28:51 +00:00
Dr. Stephen Henson
725745d105
Allow initial connection (but no renegoriation) to servers which don't support
...
RI.
2009-12-14 01:09:01 +00:00
Ben Laurie
c0e94f8292
Missing newline.
2009-12-12 11:10:25 +00:00
Dr. Stephen Henson
ef4bd0167c
Move SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION out of SSL_OP_ALL
2009-12-11 00:22:12 +00:00
Dr. Stephen Henson
7a8a3ef4f6
clarify docs
2009-12-09 18:17:21 +00:00
Dr. Stephen Henson
98c7b0367d
Document option clearning functions.
...
Initial secure renegotiation documentation.
2009-12-09 18:01:07 +00:00
Dr. Stephen Henson
9e5dea0ffd
PR: 2124
...
Submitted by: Jan Pechanec <Jan.Pechanec@Sun.COM >
Check for memory allocation failures.
2009-12-09 13:41:50 +00:00
Dr. Stephen Henson
cb4823fdd6
Add ctrls to clear options and mode.
...
Change RI ctrl so it doesn't clash.
2009-12-09 13:15:01 +00:00
Dr. Stephen Henson
17bb051628
Send no_renegotiation alert as required by spec.
2009-12-08 19:05:49 +00:00
Dr. Stephen Henson
59f44e810b
Add ctrl and macro so we can determine if peer support secure renegotiation.
...
Fix SSL_CIPHER initialiser for mcsv
2009-12-08 13:47:28 +00:00
Dr. Stephen Henson
7a014dceb6
Add support for magic cipher suite value (MCSV). Make secure renegotiation
...
work in SSLv3: initial handshake has no extensions but includes MCSV, if
server indicates RI support then renegotiation handshakes include RI.
NB: current MCSV value is bogus for testing only, will be updated when we
have an official value.
Change mismatch alerts to handshake_failure as required by spec.
Also have some debugging fprintfs so we can clearly see what is going on
if OPENSSL_RI_DEBUG is set.
2009-12-08 13:15:38 +00:00
Dr. Stephen Henson
1ff44a99a4
PR: 2111
...
Submitted by: Martin Olsson <molsson@opera.com >
Check for bn_wexpand errors in bn_mul.c
2009-12-02 15:27:19 +00:00
Dr. Stephen Henson
6cf61614e4
Replace the broken SPKAC certification with the correct version.
2009-12-02 14:39:12 +00:00
Dr. Stephen Henson
82e448b92b
PR: 2115
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Add Renegotiation extension to DTLS, fix DTLS ClientHello processing bug.
2009-12-01 17:40:46 +00:00
Dr. Stephen Henson
b172352b52
PR: 1432
...
Submitted by: "Andrzej Chmielowiec" <achmielowiec@enigma.com.pl >, steve@openssl.org
Approved by: steve@openssl.org
Truncate hash if it is too large: as required by FIPS 186-3.
2009-12-01 17:32:16 +00:00
Dr. Stephen Henson
95b14fd803
typo
2009-11-29 13:44:59 +00:00
Bodo Möller
553d2e3280
(whitespace)
2009-11-26 18:35:33 +00:00
Bodo Möller
82fb4ee89d
The version numbering may change, again; so be careful about what we
...
announce in CHANGES.
2009-11-26 17:30:07 +00:00
Bodo Möller
389fef6c9c
Remove attribution -- this wasn't my patch, I only edited and applied it.
2009-11-26 17:28:27 +00:00
Bodo Möller
b6622f9623
Remove obsolete information about a change for 0.9.7n.
...
(No further releases from the 0.9.7 branch are planned. Note that the
"deleted" change is also in 0.9.8f.)
2009-11-26 17:25:38 +00:00
Dr. Stephen Henson
7f5448e3a8
Servers can't end up talking SSLv2 with legacy renegotiation disabled
2009-11-18 15:08:49 +00:00
Dr. Stephen Henson
5d965f0783
Don't use SSLv2 compatible client hello if we don't tolerate legacy renegotiation
2009-11-18 14:43:27 +00:00
Dr. Stephen Henson
b14713c231
Include a more meaningful error message when rejecting legacy renegotiation
2009-11-18 14:24:00 +00:00
Dr. Stephen Henson
637e0ba420
PR: 2094
...
Submitted by: Arkadiusz Miskiewicz <arekm@maven.pl >
Approved by: steve@openssl.org
Fix for out range of signed 32bit displacement error on newer binutils.
2009-11-13 14:14:46 +00:00
Dr. Stephen Henson
9ac37cb018
PR: 2084
...
Submitted by: Mike Frysinger <vapier@gentoo.org >
Approved by: steve@openssl.org
Parallel build fix.
2009-11-13 14:09:45 +00:00
Dr. Stephen Henson
fb7751b44f
PR: 2101
...
Submitted by: Doug Kaufman <dkaufman@rahul.net >
Approved by: steve@openssl.org
Fixes for tests in cms-test.pl
2009-11-13 14:09:09 +00:00
Richard Levitte
e333a8d673
Updated from 1.0.0-stable.
2009-11-12 16:59:18 +00:00
Dr. Stephen Henson
89a6daac00
PR: 1686
...
Submitted by: Hanno Böck <hanno@hboeck.de >
Approved by: steve@openssl.org
Create engines dir if it doesn't already exist.
2009-11-10 01:53:02 +00:00
Dr. Stephen Henson
7e42945918
PR: 2091
...
Submitted by: Martin Kaiser <lists@kaiser.cx >, Stephen Henson
Approved by: steve@openssl.org
If an OID has no short name or long name return the numerical representation.
2009-11-10 01:00:37 +00:00
Dr. Stephen Henson
b61a87b26c
check new_der for NULL too
2009-11-10 00:46:57 +00:00
Dr. Stephen Henson
2c6b141931
PR: 2090
...
Submitted by: Martin Kaiser <lists@kaiser.cx >, Stephen Henson
Approved by: steve@openssl.org
Improve error checking in asn1_gen.c
2009-11-10 00:40:42 +00:00
Dr. Stephen Henson
af13c50d51
Fix wrong function codes and duplicate codes
2009-11-09 18:21:57 +00:00
Dr. Stephen Henson
65c2397fce
Remove BF_PTR2 from configuration: it doesn't improve performance any more and causes gcc warnings about arrays out of range
2009-11-09 14:14:26 +00:00
Dr. Stephen Henson
16e7efe3c8
use OPENSSL_assert() and not assert()
2009-11-08 17:07:42 +00:00
Ben Laurie
c2b78c31d6
First cut of renegotiation extension.
2009-11-08 14:51:54 +00:00
Dr. Stephen Henson
a1dc0336dd
Re-revert (re-insert?) temporary change that made renegotiation work again
...
and add a proper fix: specifically if it is a new session don't send the old
TLS ticket, send a zero length ticket to request a new session.
2009-11-08 14:30:22 +00:00
Ben Laurie
d99a35f275
Revert renegotiation-breaking change.
2009-11-08 12:14:55 +00:00
Ben Laurie
949fbf073a
Disable renegotiation.
2009-11-05 11:28:37 +00:00
Ben Laurie
6156be4da3
Fix compilation problem.
2009-11-05 10:18:11 +00:00
Dr. Stephen Henson
d7d4325655
PR: 2089
...
Submitted by: David Woodhouse <dwmw2@infradead.org >
Approved by: steve@openssl.org
Use EVP_MD_size() in OpenSSL 0.9.8.
2009-11-04 12:58:54 +00:00
Dr. Stephen Henson
9f81ffe433
PR: 2089
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS Fragment size bug fix.
2009-11-02 13:36:56 +00:00
Dr. Stephen Henson
8164930816
Generate stateless session ID just after the ticket is received instead
...
of when a session is loaded. This will mean that applications that
just hold onto SSL_SESSION structures and never call d2i_SSL_SESSION()
will still work.
2009-10-30 14:07:59 +00:00
Dr. Stephen Henson
2a8834cf89
Fix stateless session resumption so it can coexist with SNI
2009-10-30 13:28:07 +00:00
Dr. Stephen Henson
e6e11f4ec3
Don't attempt session resumption if no ticket is present and session
...
ID length is zero.
2009-10-28 19:53:10 +00:00
Dr. Stephen Henson
452e41562c
PR: 2085
...
Submitted by: Mike Frysinger <vapier@gentoo.org >
Approved by: steve@openssl.org
Change domd test to match 1.0.0+ version: check $MAKEDEPEND
ends in "gcc" to support cross compilers.
2009-10-28 19:29:05 +00:00
Dr. Stephen Henson
8c6dd96aed
Don't replace whole AR line
2009-10-28 15:33:06 +00:00
Dr. Stephen Henson
23a4ccd178
PR: 2081
...
Submitted by: Mike Frysinger <vapier@gentoo.org >
Approved by: steve@openssl.org
Respect AR and RANLIB environment variables if set.
2009-10-28 14:00:54 +00:00
Dr. Stephen Henson
2b4d877a27
PR: 2080
...
Submitted by: Mike Frysinger <vapier@gentoo.org >
Approved by: steve@openssl.org
Respect MAKE environment variable if set.
2009-10-28 13:56:06 +00:00
Dr. Stephen Henson
d916f92d6f
PR: 2078
...
Submitted by: Dale Anderson <dra@redevised.net >
Approved by: steve@openssl.org
Corrections to bn_internal documentation.
2009-10-28 13:52:19 +00:00
Dr. Stephen Henson
b9b5134e19
Pick up install prefix from the environment, if set.
2009-10-18 14:24:47 +00:00
Dr. Stephen Henson
9ef6fdab63
PR: 2074
...
Submitted by: Bram Neijt <bneijt@gmail.com >
Approved by: steve@openssl.org
Typo: "contet".
2009-10-16 15:29:07 +00:00
Dr. Stephen Henson
3a0b6de4d0
PR: 2073
...
Submitted by: Tomas Mraz <tmraz@redhat.com >
Approved by: steve@openssl.org
Don't access freed SSL_CTX in SSL_free().
2009-10-16 13:42:15 +00:00
Dr. Stephen Henson
08896dc0bd
CROSS_COMPILE: don't override command line option from environment
2009-10-15 23:45:22 +00:00
Dr. Stephen Henson
ef62799783
PR: 1847
...
Submitted by: Tomas Mraz <tmraz@redhat.com >
Approved by: steve@openssl.org
Integrated patches to CA.sh to bring it into line with CA.pl functionality.
2009-10-15 17:28:02 +00:00
Dr. Stephen Henson
8196257f00
Cross compilation updates.
2009-10-15 14:14:35 +00:00
Dr. Stephen Henson
ac923d3377
Backport cross compilation options from HEAD.
2009-10-15 13:02:42 +00:00
Dr. Stephen Henson
0ec529ac82
Allow uname values to be overridden by the environment
2009-10-15 12:58:00 +00:00
Dr. Stephen Henson
d5b0c872d8
Quote filenames in case they contain spaces. Print out supported values
...
for --enable and --disable.
2009-10-15 12:30:21 +00:00
Dr. Stephen Henson
2e8026b65a
Oops!
2009-10-05 13:32:56 +00:00
Dr. Stephen Henson
381a9f04a0
Fix unitialized warnings
2009-10-04 16:53:18 +00:00
Dr. Stephen Henson
d7050b4424
Fix warnings about ignoring fgets return value
2009-10-04 16:43:39 +00:00
Dr. Stephen Henson
91ca332058
Prevent ignored return value warning
2009-10-04 14:04:36 +00:00
Dr. Stephen Henson
ff095a8ac8
Prevent aliasing warning
2009-10-04 14:02:35 +00:00
Dr. Stephen Henson
ae37f9f3a2
PR: 2062
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct BN_rand error handling in bntest.c
2009-10-01 00:22:23 +00:00
Dr. Stephen Henson
95d66bd867
PR: 2059
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct EVP_SealInit error handling in pem_seal.c
2009-10-01 00:18:09 +00:00
Dr. Stephen Henson
6d73e9d8e8
PR: 2056
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct BIO_wirte error handling in asn1_par.c
2009-10-01 00:12:49 +00:00
Dr. Stephen Henson
fb5a4bbaa7
PR: 2055
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct BIO_ctrl error handling in s2_srvr.c
2009-10-01 00:07:21 +00:00
Dr. Stephen Henson
d402f6b66f
PR: 2054
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct BIO_ctrl error handling
2009-10-01 00:03:59 +00:00
Dr. Stephen Henson
36a38a7a27
PR: 2063
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct BIO_write error handling in ocsp_prn.c
2009-09-30 23:59:42 +00:00
Dr. Stephen Henson
2a4dc7e505
PR: 2057
...
Submitted by: Julia Lawall <julia@diku.dk >
Approved by: steve@openssl.org
Correct BIO_write, BIO_printf, i2a_ASN1_INTEGER and i2a_ASN1_OBJECT
error handling in OCSP print routines.
2009-09-30 23:56:29 +00:00
Ben Laurie
4e92353d23
Make it build, plus make depend.
2009-09-27 14:04:33 +00:00
Dr. Stephen Henson
0badc909ae
PR: 2050
...
Submitted by: Michael Tuexen <tuexen@fh-muenster.de >
Approved by: steve@openssl.org
Fix handling of ENOTCONN and EMSGSIZE for dgram BIOs.
2009-09-22 11:33:58 +00:00
Dr. Stephen Henson
3cc52ee97a
Don't set non fips allow flags when calling RSA_new() and DSA_new().
2009-09-22 11:28:05 +00:00
Dr. Stephen Henson
822da9ccc3
Stop unused variable warning.
2009-09-20 13:26:46 +00:00
Dr. Stephen Henson
96e20179e4
Typo presumably...
2009-09-20 12:53:42 +00:00
Dr. Stephen Henson
1dfa26bd84
Ooops, missing close quote
2009-09-20 12:46:42 +00:00
Dr. Stephen Henson
9e6c97703c
Don't use __try+__except unless on VC++
2009-09-20 12:38:46 +00:00
Dr. Stephen Henson
a0f6e0c1e7
add version info for VC-WIN64I too
2009-09-20 11:40:24 +00:00
Dr. Stephen Henson
edaa7a599a
PR: 2048
...
Submitted by: john blair <mailtome200420032002@yahoo.com >
Approved by: steve@openssl.org
Add version info in VC-WIN64A too.
2009-09-19 23:01:52 +00:00
Dr. Stephen Henson
3b95629db1
PR: 2039
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS listen bug fix,
2009-09-15 23:11:22 +00:00
Dr. Stephen Henson
afff063a14
Add CHANGES entry.
2009-09-13 11:23:37 +00:00
Dr. Stephen Henson
e1246e1ad7
Submitted by: Julia Lawall <julia@diku.dk>
...
The functions ENGINE_ctrl(), OPENSSL_isservice(),
CMS_get1_RecipientRequest() and RAND_bytes() can return <=0 on error fix
so the return code is checked correctly.
2009-09-13 11:20:38 +00:00
Dr. Stephen Henson
df0b451d91
PR: 2023
...
Submitted by: James Beckett <jmb.openssl@nospam.hackery.net >, steve
Approved by: steve@openssl.org
Fix documentation errors in d2i_X509 manual pages.
2009-09-12 23:34:19 +00:00
Dr. Stephen Henson
07cb0a82d1
PR: 2025
...
Submitted by: Tomas Mraz <tmraz@redhat.com >
Approved by: steve@openssl.org
Constify SSL_CIPHER_description
2009-09-12 23:18:43 +00:00
Dr. Stephen Henson
f2671f8ac4
PR: 1411
...
Submitted by: steve@openssl.org
Allow use of trusted certificates in SSL_CTX_use_chain_file()
2009-09-12 23:09:59 +00:00
Dr. Stephen Henson
43e9e1a160
PR: 2033
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS listen support.
2009-09-09 17:06:13 +00:00
Dr. Stephen Henson
d0969d24cf
Add new option --strict-warnings to Configure script. This is used to add
...
in devteam warnings into other configurations.
2009-09-09 16:30:49 +00:00
Dr. Stephen Henson
cf51a0dccb
Seed PRNG with DSA and ECDSA digests for additional protection against
...
possible PRNG state duplication.
2009-09-09 12:07:41 +00:00
Dr. Stephen Henson
48b30bf0e2
make update
2009-09-06 16:14:20 +00:00
Dr. Stephen Henson
17b08b6a64
PR: 1644
...
Submitted by: steve@openssl.org
Fix to make DHparams_dup() et al work in C++.
For 0.9.8, we just change the macro to avoid making incompatible changes to
the API.
2009-09-06 15:46:46 +00:00
Dr. Stephen Henson
197ab47bdd
PR: 2028
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Fix DTLS cookie management bugs.
2009-09-04 17:53:30 +00:00
Dr. Stephen Henson
e8cce0babe
PR: 2022
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Fix DTLS record header length bug.
2009-09-04 16:42:17 +00:00
Dr. Stephen Henson
11d655ef40
Correction: salt is now default
2009-09-04 12:26:47 +00:00
Dr. Stephen Henson
1da61e8051
PR: 2009
...
Submitted by: "Alexei Khlebnikov" <alexei.khlebnikov@opera.com >
Approved by: steve@openssl.org
Avoid memory leak and fix error reporting in d2i_SSL_SESSION(). NB: although
the ticket mentions buffer overruns this isn't a security issue because
the SSL_SESSION structure is generated internally and it should never be
possible to supply its contents from an untrusted application (this would
among other things destroy session cache security).
2009-09-02 13:20:02 +00:00
Dr. Stephen Henson
da6ce18279
PR: 2006
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Do not use multiple DTLS records for a single user message
2009-08-26 11:54:14 +00:00
Dr. Stephen Henson
98f43a173b
Oops.
2009-08-26 11:45:58 +00:00
Dr. Stephen Henson
c202eda634
PR: 2015
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Define LIBDIR properly.
2009-08-26 11:44:18 +00:00
Richard Levitte
f78bcb8945
Moving up the inclusion of e_os.h was a bad idea.
...
Put it back where it was and place an inclusion of e_os2.h to get platform
macros defined...
2009-08-26 11:21:57 +00:00
Richard Levitte
2a918d4cc0
Make sure ENGINES can be separately compiled as well.
...
Make sure _XOPEN_SOURCE_EXTENDED is defined in opensslconf.h
Submitted by Zoltan Arpadffy <zoli@polarhome.com >
2009-08-25 07:30:10 +00:00
Richard Levitte
2c83b24cad
Remove tmdiff.h from EXHEADERS as it doesn't exist.
...
Don't have separate installation directory variables for VAX and AXP.
Submitted by Zoltan Arpadffy <zoli@polarhome.com >
2009-08-25 07:28:18 +00:00
Richard Levitte
e75445f688
Add CMS to the list of applications.
...
Define EXE_DIR earlier.
Make sure S_SOCKET also gets compiled with _POSIX_C_SOURCE defined.
Submitted by Zoltan Arpadffy <zoli@polarhome.com >
2009-08-25 07:26:25 +00:00
Richard Levitte
df51d79ec4
Move up the inclusion of e_os.h so OPENSSL_SYS_VMS_DECC has a chance
...
to be properly defined.
2009-08-25 07:24:00 +00:00
Richard Levitte
c21a427a14
Make it possible to compile non-assembler routines on AXP as well.
...
Submitted by Zoltan Arpadffy <arpadffy@polarhome.com >
2009-08-25 07:22:07 +00:00
Richard Levitte
c6e4ef2c6e
Make engines compile on VMS for ia64 as well.
...
Parse file types in a more secure manner.
Submitted by sms@antinode.info (Steven M. Schweda)
2009-08-25 07:19:25 +00:00
Richard Levitte
6450908a35
file ia64.opt was added on branch OpenSSL_0_9_8-stable on 2009-08-25 07:19:25 +0000
2009-08-25 07:19:21 +00:00
Richard Levitte
a91cb2103d
file alpha.opt was added on branch OpenSSL_0_9_8-stable on 2009-08-25 07:19:24 +0000
2009-08-25 07:19:19 +00:00
Richard Levitte
3acd3158e9
Correct some typos and missing things.
...
Submitted by Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se >
2009-08-25 07:17:12 +00:00
Richard Levitte
8a04c6f894
Include proper header files for time functions.
...
Submitted by Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se >
2009-08-25 07:10:40 +00:00
Dr. Stephen Henson
745565c69f
Use SHA1 and not deprecated MD5 in demos.
2009-08-15 10:50:28 +00:00
Dr. Stephen Henson
fbc4a24633
PR: 1997
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS timeout handling fix.
2009-08-13 15:14:32 +00:00
Dr. Stephen Henson
4775a89760
Update README with bug report and contribution details.
2009-08-12 16:44:44 +00:00
Dr. Stephen Henson
3008a7d819
Typo
2009-08-10 15:52:33 +00:00
Dr. Stephen Henson
233f758523
PR: 1999
...
Submitted by: "Bayram Kurumahmut" <kbayram@ubicom.com >
Approved by: steve@openssl.org
Don't use HAVE_FORK in apps/speed.c it can conflict with configured version.
2009-08-10 15:30:17 +00:00
Dr. Stephen Henson
3af16cf694
Backport GeneralizedTime fractional seconds support from HEAD.
2009-08-10 15:15:27 +00:00
Dr. Stephen Henson
985b5ee735
PR: 2003
...
Make it possible to install OpenSSL in directories with name other
than "lib" for example "lib64". Based on patch from Jeremy Utley.
2009-08-10 14:37:51 +00:00
Dr. Stephen Henson
4df7ade829
Quote $(CC) in a few places so spaces in CC work properly.
2009-08-10 11:52:15 +00:00
Dr. Stephen Henson
932858d5f9
Oops, fips_check_rsa isn't static.
2009-08-09 16:42:55 +00:00
Dr. Stephen Henson
c4b3503b4b
Fix signed/unsigned warnings and make several functions static.
2009-08-09 16:02:50 +00:00
Dr. Stephen Henson
f871545f7f
Stop signed/unsigned warning.
2009-08-09 15:51:24 +00:00
Dr. Stephen Henson
136b5dc7c7
Add missing CHANGES entry for OID 0x80 fix.
2009-08-09 15:40:03 +00:00
Dr. Stephen Henson
759b287f15
Add COMP error strings.
2009-08-09 14:51:56 +00:00
Dr. Stephen Henson
5fffb5b3d9
Backport modified version of MIME wrapper for PKCS#7. This ensures
...
correct values for micalg among other things.
2009-08-09 14:49:00 +00:00
Dr. Stephen Henson
17620eec4c
Fix error codes.
2009-08-06 16:23:17 +00:00
Dr. Stephen Henson
059230b320
Reject leading 0x80 in OID subidentifiers.
2009-08-06 16:22:57 +00:00
Dr. Stephen Henson
19dac35e5f
Make no-comp compile again under WIN32.
2009-08-05 15:48:48 +00:00
Dr. Stephen Henson
f5fe2a9f6c
Skip CE config if we don't need it instead of producing an error message.
2009-07-28 12:51:19 +00:00
Dr. Stephen Henson
d36e9d160b
Make genrsa work again.
2009-07-26 16:06:41 +00:00
Dr. Stephen Henson
e58e78cab2
Update ordinals and add NETWARE platform to handle renamed asc2uni functions.
2009-07-24 14:00:14 +00:00
Dr. Stephen Henson
b0080e3817
PR: 1992
...
Submitted by: Ger Hobbelt <ger@hobbelt.com >
Approved by: steve@openssl.org
RAND_poll() and CreateToolhelp32Snapshot() stability for WIN32.
2009-07-24 13:47:32 +00:00
Dr. Stephen Henson
4d67d79273
Ooops, missing space.
2009-07-24 13:35:23 +00:00
Dr. Stephen Henson
83ece9f028
Update TABLE.
2009-07-24 13:26:55 +00:00
Dr. Stephen Henson
cec136c30d
Add additional debug targets.
2009-07-24 13:26:27 +00:00
Dr. Stephen Henson
ded8aff2c8
PR: 1990
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS socket timeout bug fix.
2009-07-24 13:06:35 +00:00
Dr. Stephen Henson
76a268a43f
PR: 1993
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS cookie resumption and typo fix.
2009-07-24 11:50:51 +00:00
Dr. Stephen Henson
6563b02980
Submitted by: Doug Claar <dougopenssl@claar.org>
...
Approved by: steve@openssl.org
Add support for x86_64 and rpmbuild 4.1 in openssl.spec
2009-07-24 11:34:19 +00:00
Dr. Stephen Henson
32d4496c1e
PR: 1989
...
Submitted by: Viktor Szakáts <harbour.01@syenar.hu >
Approved by: steve@openssl.org
Too few arguments in definition of BIO_get_cont_int_port macro.
2009-07-24 11:24:07 +00:00
Dr. Stephen Henson
0b26e53c59
PR: 1991
...
Submitted by: Michael Tuexen <tuexen@fh-muenster.de >
Approved by: steve@openssl.org
Print DTLS message types out with -msg arg.
2009-07-24 11:14:56 +00:00
Dr. Stephen Henson
7cf69ed544
PR: 1994
...
Submitted by: Gilles PION <gpion@lfdj.com >
Approved by: steve@openssl.org
Remove extra $.
2009-07-24 11:09:54 +00:00
Dr. Stephen Henson
8b634ba029
OSX DSO fix from HEAD.
2009-07-16 09:58:27 +00:00
Dr. Stephen Henson
526228b78e
Update from 1.0.0-stable.
2009-07-15 11:03:08 +00:00
Dr. Stephen Henson
34d01a3b20
PR: 1984
...
Submitted by: Michael Tüxen <Michael.Tuexen@lurchi.franken.de >
Approved by: steve@openssl.org
PR#1984 DTLS fix for 0.9.8.
2009-07-13 22:37:45 +00:00
Dr. Stephen Henson
856f3005de
Document MD2 deprecation.
2009-07-13 11:53:53 +00:00
Dr. Stephen Henson
6e2a14002e
Delete invalid reference to HMAC_CTX.
2009-07-11 22:35:53 +00:00
Dr. Stephen Henson
7852c6b075
Update from HEAD
2009-07-11 22:30:49 +00:00
Dr. Stephen Henson
2c5f3606d1
Remove MD2 from digest algorithm table. This follows the recommendation in
...
several places that it is not used in new applications.
2009-07-08 08:33:27 +00:00
Dr. Stephen Henson
1649489834
Fix warnings.
2009-07-04 11:56:10 +00:00
Dr. Stephen Henson
b51291cba8
Update from HEAD.
2009-07-04 11:49:36 +00:00
Dr. Stephen Henson
b29b576957
Update from 1.0.0-stable
2009-07-01 11:32:40 +00:00
Dr. Stephen Henson
abe389fd28
Make text line up.
2009-06-30 22:29:24 +00:00
Dr. Stephen Henson
e7e7f5de4b
PR: 1960
...
Approved by: steve@openssl.org
Encode compression id in {i2d,d2i}_SSL_SESSION().
2009-06-30 22:20:46 +00:00
Dr. Stephen Henson
3dfa7416cd
Typo.
2009-06-30 20:55:19 +00:00
Dr. Stephen Henson
d733ef7a69
Update from 1.0.0-stable.
2009-06-30 11:42:50 +00:00
Dr. Stephen Henson
17e01d24bb
PR: 1822
...
Submitted by: "Philip A. Prindeville" <philipp_subx@redfish-solutions.com >
Reviewed by: steve@openssl.org
Use $(EXE_EXT) when invoking fips_standalone_sha1
2009-06-30 11:32:36 +00:00
Dr. Stephen Henson
f67f815624
Update from 1.0.0-stable.
2009-06-30 11:22:25 +00:00
Dr. Stephen Henson
ab8fe43fa2
PR: 1942
...
Submitted by: David Woodhouse <dwmw2@infradead.org >
Approved by: steve@openssl.org
Replace ad-hoc chain builder with X509_verify_cert().
2009-06-28 16:23:05 +00:00
Dr. Stephen Henson
5e4c2225ed
Oops, moved too much.
2009-06-26 23:56:10 +00:00
Dr. Stephen Henson
167d2a1411
PR: 1961
...
Submitted by: Martin Gerbershagen <martin.gerbershagen@nsn.com >
Approved by: steve@openssl.org
Avoid memory leak if RAND_bytes() fails.
2009-06-26 22:52:18 +00:00
Dr. Stephen Henson
3f4802a14e
PR: 1949
...
Submitted by: David.Smith@cern.ch
Approved by: steve@openssl.org
When checking whether to flush the output BIO use BIO_CTRL_WPENDING instead
of BIO_CTRL_INFO. In most cases this will have no effect since the following
BIOs wont buffer. In the case of a following buffering BIO this will check
for any pending data in the whole chain and not just the single BIO.
See:
https://issues.apache.org/bugzilla/show_bug.cgi?id=46952
for a detailed analysis of this issue.
2009-06-26 15:02:01 +00:00
Dr. Stephen Henson
9aecc3e5ff
Update from 1.0.0-stable.
2009-06-26 11:34:22 +00:00
Dr. Stephen Henson
b8a4a5bcba
Fix from HEAD.
2009-06-25 17:12:26 +00:00
Dr. Stephen Henson
6daac534d7
Ooops, apply PR #1946 to 0.9.8 too.
2009-06-22 10:32:27 +00:00
Dr. Stephen Henson
79649d380e
Fix broken config entries.
2009-06-17 12:11:53 +00:00
Dr. Stephen Henson
51ebaa9f82
Correct CHANGES entry.
2009-06-17 11:58:17 +00:00
Dr. Stephen Henson
efaa569c3b
PR: 1943
...
Submitted by: Guenter <lists@gknw.net >
Approved by: steve@openssl.org
Rename uni2asc and asc2uni on Netware to avoid a name clash.
2009-06-17 11:55:51 +00:00
Dr. Stephen Henson
15684f58c2
Update from 1.0.0-stable.
2009-06-17 11:49:18 +00:00
Dr. Stephen Henson
0e6c24ae4b
Update from HEAD.
2009-06-17 11:26:39 +00:00
Dr. Stephen Henson
0dc1b3c1fb
PR: 1957
...
Submitted by: Mark Ashley <mark@ibiblio.org >
Reviewed by: steve@openssl.org
Quote FIPSLD_CC and CC in Makefiles.
2009-06-16 16:50:08 +00:00
Dr. Stephen Henson
1e53b797f6
Don't check self-signed signature in X509_verify_cert(), the check just
...
wastes processing time and doesn't add any security.
2009-06-15 14:52:38 +00:00
Dr. Stephen Henson
1ddf691244
Update from 1.0.0-stable.
2009-06-05 15:05:10 +00:00
Dr. Stephen Henson
78074baadd
Fix from 1.0.0-stable.
2009-06-05 11:53:49 +00:00
Dr. Stephen Henson
7457642b8c
PR: 1937
...
Submitted by: Mark Phalan <Mark.Phalan@Sun.COM >
Reviewed by: steve@openssl.org
Fix misuse of st_mode field in struct stat.
2009-06-02 11:31:32 +00:00
Dr. Stephen Henson
d1e107702b
Update from HEAD.
2009-06-02 11:23:51 +00:00
Dr. Stephen Henson
19503ca653
PR: 1939
...
Submitted by: Sean Boudreau <seanb@qnx.com >
Reviewed by: steve@openssl.org
Better QNX6 support.
2009-06-02 11:19:54 +00:00
Dr. Stephen Henson
14089b1d0f
Update from HEAD.
2009-06-02 11:06:54 +00:00
Mark J. Cox
0b8eca58b9
Update changelog to show fix for PR1679 as per Tomas Hoger's testing:
...
http://thread.gmane.org/gmane.comp.security.oss.general/1769/focus=1814
2009-06-02 09:20:52 +00:00
Dr. Stephen Henson
c2f425a06a
PR: 1944
...
Submitted by: Guenter <lists@gknw.net >
Reviewed by: steve@openssl.org
Fix gcc warning on mingw.
2009-06-01 12:18:21 +00:00
Dr. Stephen Henson
4930f8bbd9
Update from HEAD.
2009-06-01 12:14:53 +00:00
Dr. Stephen Henson
a5668db68b
Use correct values for lookup method.
2009-05-29 14:01:35 +00:00
Dr. Stephen Henson
996b80f990
Oops, forgot #endif...
2009-05-29 12:09:07 +00:00
Dr. Stephen Henson
1998f60546
Update from 1.0.0-stable.
2009-05-29 12:00:22 +00:00
Dr. Stephen Henson
13a4808ca4
Update ordinals.
2009-05-28 20:47:59 +00:00
Mark J. Cox
a176be48a2
Add the corresponding CVE names to the CHANGES entry for 0.9.8 branch
2009-05-26 08:21:56 +00:00
Dr. Stephen Henson
f47bce27e3
Add CHANGES entries for security relate issues PR#1923, PR#1930 and PR#1931.
2009-05-18 17:34:16 +00:00
Dr. Stephen Henson
f86d65110d
0.9.8 version of PR#1931 fix.
2009-05-18 16:22:43 +00:00
Dr. Stephen Henson
4730ea8a38
Fix from 1.0.0-stable branch.
2009-05-18 16:12:56 +00:00
Dr. Stephen Henson
3e82dfdf2d
Formatting fix.
2009-05-17 16:48:19 +00:00
Dr. Stephen Henson
b7d0d35a13
Modified PR#1929 update from 1.0.0-stable.
2009-05-17 16:42:14 +00:00
Dr. Stephen Henson
e12ceb2c92
Reverted fix to PR#1931.. breaks compilation in 0.9.8.
2009-05-17 16:28:13 +00:00
Dr. Stephen Henson
e8d23950a0
Update from 1.0.0-stable
2009-05-17 14:48:57 +00:00
Richard Levitte
d7c86198d9
Stupid typo
2009-05-17 07:22:18 +00:00
Dr. Stephen Henson
76428da729
Fix from 1.0.0-stable.
2009-05-16 16:23:35 +00:00
Dr. Stephen Henson
6bf4ca0840
Update from 1.0.0-stable.
2009-05-16 16:18:45 +00:00
Dr. Stephen Henson
efa59b8d59
Updates from 1.0.0-stable.
2009-05-16 15:51:59 +00:00
Dr. Stephen Henson
e1a2bfaaa6
Update from HEAD.
2009-05-15 23:07:59 +00:00
Richard Levitte
48f48d96ce
Functional VMS changes submitted by sms@antinode.info (Steven M. Schweda).
...
Thank you\!
(note: not tested for now, a few nightly builds should give indications though)
2009-05-15 16:37:29 +00:00
Richard Levitte
085cb7cac0
make update
2009-05-15 16:15:03 +00:00
Richard Levitte
9874ff33c3
make update
2009-05-15 16:05:43 +00:00
Richard Levitte
73cfd9cce9
Have mkdef.pl also handle VAX and Non-VAX differences for VMS
2009-05-15 16:01:45 +00:00
Richard Levitte
3166d16f06
Add a comment about libeay.num and ssleay.num
2009-05-15 16:00:11 +00:00
Dr. Stephen Henson
26b82246b1
Update from 1.0.0-stable.
2009-05-13 11:52:29 +00:00
Andy Polyakov
277ba3ebd2
e_capi.c: update from HEAD.
2009-05-05 19:18:26 +00:00
Richard Levitte
3e9b2042d9
Update from HEAD
2009-05-05 08:48:02 +00:00
Dr. Stephen Henson
5d577d7eb0
Update from 1.0.0-stable.
2009-04-28 22:02:16 +00:00
Richard Levitte
05ee0523c1
Update from HEAD
2009-04-28 13:11:05 +00:00
Dr. Stephen Henson
43f392c9a1
Fix to escape backslashes in prefix
2009-04-26 15:51:44 +00:00
Dr. Stephen Henson
01cb2049e3
Update from 1.0.0-stable.
2009-04-22 17:37:47 +00:00
Dr. Stephen Henson
a224fe14e9
PR: 1751
...
Submitted by: David Woodhouse <dwmw2@infradead.org >
Approved by: steve@openssl.org
Compatibility patches for Cisco VPN client DTLS.
2009-04-19 18:08:12 +00:00
Dr. Stephen Henson
00d5a5ff55
Update .cvsignore
2009-04-19 15:17:49 +00:00
Dr. Stephen Henson
420312cec5
Typo.
2009-04-19 15:16:21 +00:00
Dr. Stephen Henson
3c17fa3325
PQGVer support.
2009-04-19 14:04:55 +00:00
Dr. Stephen Henson
e3424084a0
Minor format change to match expected PQGVer format.
2009-04-19 13:44:43 +00:00
Dr. Stephen Henson
d9a55422c7
Add DES3 CFB1 mode tests.
2009-04-18 22:41:46 +00:00
Dr. Stephen Henson
374941f727
Fixes to make DES3 cfb1 work.
2009-04-18 22:41:17 +00:00
Dr. Stephen Henson
caeb429055
Update from 1.0.0-stable.
2009-04-16 16:43:18 +00:00
Dr. Stephen Henson
b00c36e366
PR: 1829
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS timer bug fix from 1.0.0-stable with fixes.
2009-04-14 15:20:48 +00:00
Dr. Stephen Henson
1f9a128519
PR: 1647
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS Renogotiation bug fix.
2009-04-14 14:28:33 +00:00
Dr. Stephen Henson
18df6b30b1
Fix from 1.0.0-stable.
2009-04-08 15:58:26 +00:00
Dr. Stephen Henson
0d399f97dd
Submitted by: Darryl Miles <darryl-mailinglists@netbauds.net>
...
Approved by: steve@openssl.org
Handle non-blocking I/O properly in SSL_shutdown() call.
2009-04-07 16:28:30 +00:00
Dr. Stephen Henson
3fdc2c906d
PR: 1795
...
Submitted by: Peter Edwards <peter.edwards@vordel.com >
Approved by: steve@openssl.org
Avoid race condition by sorting cipher list straight away.
2009-04-07 12:10:12 +00:00
Dr. Stephen Henson
a78ded0b61
PR: 1700
...
Submitted by: "Robbins, Aharon" <aharon.robbins@intel.com >
Approved by: steve@openssl.org
#undef X509_EXTENSIONS for WIN32 too.
2009-04-03 16:54:04 +00:00
Dr. Stephen Henson
0a629ddbd6
Update from 1.0.0-stable
2009-04-03 16:28:20 +00:00
Dr. Stephen Henson
353cb367e4
PR: 1616
...
Submitted by: Dequin_Eric@emc.com
Approved by: steve@openssl.org
Check tree->levels to ensure malloc worked.
2009-04-03 11:36:49 +00:00
Dr. Stephen Henson
6252f3bc7c
PR: 1827
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Fix application data in handshake bug.
2009-04-02 22:34:59 +00:00
Dr. Stephen Henson
4e319926d7
PR: 1828
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Fix DTLS retransmission bug.
2009-04-02 22:32:16 +00:00
Dr. Stephen Henson
e4f456918f
PR: 1826
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
Client random bug fix.
2009-04-02 22:28:35 +00:00
Dr. Stephen Henson
c342341ea1
Ooops, revert patch... due to non-portable gettimeofday call.
2009-04-02 22:19:07 +00:00
Dr. Stephen Henson
9d396bee8e
PR: 1829
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS timer bug fix.
2009-04-02 22:16:02 +00:00
Dr. Stephen Henson
a9427c2536
PR: 1838
...
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de >
Approved by: steve@openssl.org
DTLS fragment bug.
2009-04-02 22:12:13 +00:00
Dr. Stephen Henson
7a746ecf3e
Typo.
2009-03-25 22:22:42 +00:00
Dr. Stephen Henson
aca8bf43ce
Submitted by: Ilya O. <vrghost@gmail.com>
...
Approved by: steve@openssl.org
Add 2.5.4.* OIDs.
2009-03-25 19:01:03 +00:00
Dr. Stephen Henson
7de0df694f
Prepare for next version.
2009-03-25 13:02:49 +00:00
Dr. Stephen Henson
15d3cd4680
Aaargh.... wrong version number....
2009-03-25 12:08:14 +00:00
Dr. Stephen Henson
da4fb3cb39
Make update.
2009-03-25 10:59:22 +00:00
Dr. Stephen Henson
e10051ef3f
Prepare for 0.9.8k release.
2009-03-25 10:46:56 +00:00
Dr. Stephen Henson
c60dca1f95
PR: 1868
...
Submitted by: Paolo Ganci <Paolo.Ganci@AdNovum.CH >
Approved by: steve@openssl.org
Don't set fields to NULL when freeing them up in ASN1 code. On some platforms
with sizeof(long) < sizeof(char *) this can cause a crash.
2009-03-25 10:42:34 +00:00
Dr. Stephen Henson
188abf7e2a
Submitted by: Ivan Nestlerode <inestlerode@us.ibm.com>
...
Approved by: steve@openssl.org
Check return code properly in CMS_SignerInfo_verify_content().
2009-03-25 10:40:32 +00:00
Dr. Stephen Henson
f021b7cca6
Reject BMPStrings and UniversalStrings of invalid length. This prevents
...
a crash in ASN1_STRING_print_ex() which assumes they are valid.
2009-03-25 10:35:57 +00:00
Dr. Stephen Henson
c126b73a4a
Update from HEAD.
2009-03-23 21:11:50 +00:00
Andy Polyakov
3f03b3569d
des_enc.m4, SPARC DES assembler, update from HEAD: make it Purify-friendly.
...
As side effect it introduces duplicate of 2KB DES_SPtrans table.
2009-03-16 13:43:43 +00:00
Dr. Stephen Henson
07dd3bfcd4
Oops.
2009-03-15 14:03:29 +00:00
Dr. Stephen Henson
37afdc953e
Don't force S/MIME signing purpose: allow it to be overridden by store
...
settings.
Don't set default values in X509_VERIFY_PARAM_new(): it stops parameters
being inherited properly.
2009-03-15 13:36:01 +00:00
Dr. Stephen Henson
044855e146
Permit nested ASN1 string encoding but with a maximum depth to avoid
...
stack overflow.
2009-03-14 18:33:25 +00:00
Dr. Stephen Henson
12379c82ba
Update from HEAD.
2009-03-14 12:40:46 +00:00
Dr. Stephen Henson
be98d6b9ad
PR: 1863
...
Submitted by: Ger Hobbelt <ger@hobbelt.com >
Reviewed by: steve@openssl.org
Check return value, use OPENSSL_assert and unsigned int.
2009-03-14 12:26:03 +00:00
Dr. Stephen Henson
910b484975
PR: 1846
...
Submitted by: Andrea Schoenberg <asg@ftpproxy.org >
Reviewed by: steve@openssl.org
Fix for HP Nonstop(Tandem) systems.
2009-03-14 12:07:42 +00:00
Dr. Stephen Henson
1fde5b65c6
Fix from HEAD.
2009-03-12 17:31:18 +00:00
Dr. Stephen Henson
c40bc0b11f
Update from head.
2009-03-12 17:13:44 +00:00
Dr. Stephen Henson
7a0c01b41a
PR: 1861
...
l must be > 0 or array will be accessed out of bounds.
2009-03-12 17:09:46 +00:00
Dr. Stephen Henson
6fe9c925d2
PR: 1856
...
Check return value of PKCS12_add_safes()
2009-03-09 13:07:16 +00:00
Dr. Stephen Henson
1ebdc48d5a
PR: 1859
...
Submitted by: Jurko Gospodneti <jurko.gospodnetic@docte.hr >
Reviewed by: steve@openssl.org
Don't affect echo on/off state for calling scripts.
2009-03-09 12:17:56 +00:00
Dr. Stephen Henson
395a6c69bd
PR: 1860
...
Submitted by: Jurko Gospodneti <jurko.gospodnetic@docte.hr >
Reviewed by: steve@openss.org
Make Windows build more silent.
2009-03-09 12:14:08 +00:00
Dr. Stephen Henson
0d658ddf25
PR: 1858
...
Submitted by: Jurko Gospodneti <jurko.gospodnetic@docte.hr >
Reviewed by: steve@openssl.org
Make OPENSSL_NO_SOCK work.
2009-03-09 12:09:03 +00:00
Dr. Stephen Henson
cefa7ce284
PR: 1857
...
Submitted by: Jurko GospodnetiÄ <jurko.gospodnetic@docte.hr >
Reviewed by: steve@openssl.org
Make OPENSSL_NO_FP_API work again.
2009-03-09 12:06:23 +00:00
Dr. Stephen Henson
ee4041b8bd
PR: 1841
...
Submitted by: Martin Kaiser <lists@kaiser.cx >
Reviewed by: steve@openssl.org
Remove unused code.
2009-03-08 23:05:34 +00:00
Ben Laurie
a17f351b56
Fix display of all 0 IPv6 address (from Rob Austein).
2009-03-08 10:48:03 +00:00
Dr. Stephen Henson
4fcf8d8b07
Submitted by: Jeremy Shapiro <jnshapir@us.ibm.com>
...
Reviewed by: steve@openssl.org
Improve efficientcy of mem_gets().
2009-03-07 16:58:43 +00:00
Dr. Stephen Henson
b7650eb21e
Ooops @ should be for the if command not set.
2009-03-03 22:40:29 +00:00
Ben Laurie
69120ad199
Only require -iv for ciphers that use an IV!
2009-03-03 15:07:35 +00:00
Ben Laurie
1eee8a4226
Use the correct length (reported by Quanhong Wang).
2009-03-03 15:06:49 +00:00
Dr. Stephen Henson
98448a53c8
Do a "make links" in fips directory even if not compiling for fips.
2009-02-25 23:29:20 +00:00
Ben Laurie
241d088156
Fix memory leak.
2009-02-23 16:02:47 +00:00
Ben Laurie
a22a8dd7dd
Do not link nonexistent file.
2009-02-18 10:43:10 +00:00
Ben Laurie
e26ad0c4fd
Fix FIPS typo.
2009-02-18 10:27:23 +00:00
Dr. Stephen Henson
6e7559ac7f
Update from HEAD.
2009-02-16 23:24:06 +00:00
Richard Levitte
9feda63955
Data not initialised.
...
Notified by Gerardo Ganis <gerardo.ganis@cern.ch >
2009-02-16 15:17:26 +00:00
Ben Laurie
1ed81ff731
Use shared dev team flags, fix resulting warning.
2009-02-16 08:44:23 +00:00
Ben Laurie
b2dc2e6dac
Don't eat the whole word for -d. This allows -debug to be passed to
...
the compiler.
2009-02-16 08:43:41 +00:00
Dr. Stephen Henson
1b787fc04c
Include common warning options in 0.9.8, fix warnings in debug-steve64.
2009-02-15 15:46:46 +00:00
Dr. Stephen Henson
9a6401acdf
PR: 1422
...
Fix return value of X509_NAME_cmp() so it works with qsort/bsearch again.
2009-02-15 12:10:39 +00:00
Dr. Stephen Henson
c40fcc1e40
Skip engines directory if no-engine
2009-02-14 23:08:31 +00:00
Dr. Stephen Henson
f908ca4db4
PR: 1840
...
Submitted by: Martin Kaiser <lists@kaiser.cx >
Approved by: steve@openssl.org
Handle NULL passing in parameter and BN_CTX_new() error correctly.
2009-02-14 22:19:31 +00:00
Dr. Stephen Henson
72f6453c48
PR: 1835
...
Submitted by: Damien Miller <djm@mindrot.org >
Approved by: steve@openssl.org
Fix various typos.
2009-02-14 21:50:14 +00:00
Dr. Stephen Henson
eca7b90771
Install the fipsld link script.
2009-02-13 18:37:31 +00:00
Bodo Möller
7eb90ccefb
oops
2009-02-02 00:51:49 +00:00
Bodo Möller
6ed534782f
For -hex, print just one \n
2009-02-02 00:40:59 +00:00
Richard Levitte
1ee27238f7
Updated symbol for VMS
2009-02-02 00:27:57 +00:00
Bodo Möller
59689735a6
-hex option for openssl rand
...
PR: 1831
Submitted by: Damien Miller
2009-02-02 00:27:56 +00:00
Bodo Möller
1be16287ee
Make sure we have a library to link dummytest.o with.
2009-02-02 00:25:00 +00:00
Richard Levitte
9fe4b73d97
Add the CAPI engine
2009-02-02 00:18:09 +00:00
Dr. Stephen Henson
73cb37295d
Update from HEAD.
2009-01-28 12:55:36 +00:00
Dr. Stephen Henson
1f35508ae6
Support NumericString for name components.
2009-01-28 12:35:10 +00:00
Richard Levitte
3e2a74c294
Add missing modules
2009-01-28 07:54:16 +00:00
Dr. Stephen Henson
a34922c476
PR: 1806
...
Submitted by: philipp_subx@redfish-solutions.com
Approved by: steve
Use ${CC:-gcc} instead of just gcc in domd, to support cross compilation.
2009-01-21 21:44:52 +00:00
Dr. Stephen Henson
84be7091fd
No need to add fips to @skip
2009-01-19 16:42:18 +00:00
Dr. Stephen Henson
f82c1f0dd8
If not compiling for fips don't do anything in fips directory.
...
Install fipscanister.o and friends from FIPSLIBDIR location.
2009-01-19 16:40:44 +00:00
Ben Laurie
dc0cb7e74f
Make it possible to override CC.
2009-01-17 14:36:17 +00:00
Richard Levitte
ab31dbc482
Another symbol that's longer than 31 characters.
2009-01-17 12:33:43 +00:00
Richard Levitte
36e9d3ee91
A forgotten module...
2009-01-17 12:33:11 +00:00
Dr. Stephen Henson
cc8c0f6b46
Stop warnings on WIN64
2009-01-15 12:34:54 +00:00
Dr. Stephen Henson
3eac70a356
Some platforms need $(EX_LIBS) when building fips_standalone_sha1 from
...
an external fipscanister.o
2009-01-14 11:10:33 +00:00
Dr. Stephen Henson
5f3ad8f82c
Update from HEAD.
2009-01-14 10:46:00 +00:00
Dr. Stephen Henson
367316c723
Oops, remove duplicate entry.
2009-01-07 23:45:19 +00:00
Dr. Stephen Henson
d34353cc91
Prepare for next version.
2009-01-07 23:38:34 +00:00
Dr. Stephen Henson
6287fa5396
Prepare for 0.9.8j release.
2009-01-07 10:50:54 +00:00
Dr. Stephen Henson
a00c3c4019
Properly check EVP_VerifyFinal() and similar return values
...
(CVE-2008-5077).
Submitted by: Ben Laurie, Bodo Moeller, Google Security Team
2009-01-07 10:48:23 +00:00
Lutz Jänicke
f4677b7960
Fix compilation with -no-comp by adding some more #ifndef OPENSSL_NO_COMP
...
Some #include statements were not properly protected. This will go unnoted
on most systems as openssl/comp.h tends to be installed as a system header
file by default but may become visible when cross compiling.
2009-01-05 14:43:07 +00:00
Dr. Stephen Henson
92308905dd
make update.
2009-01-05 12:47:11 +00:00
Dr. Stephen Henson
6f32fc5c4e
Update ordinals.
2008-12-31 12:00:35 +00:00
Andy Polyakov
e607e731eb
Synchronize with bn_nist.c from HEAD.
2008-12-30 13:41:08 +00:00
Andy Polyakov
f17c45611e
Backport http://cvs.openssl.org/chngview?cn=17710 from HEAD.
...
PR: 1230
2008-12-30 13:30:57 +00:00
Andy Polyakov
1ff7b6492b
Some seasoned makes fail to build. For reference. I had problem with Irix
...
make which doesn't tolerate empty targets, and fips/Makefile ends up with
one when FIPSCANLIB is empty. Build failed as early as 'make links' phase.
2008-12-30 13:26:26 +00:00
Dr. Stephen Henson
20900d6801
Update default compiler options for default tls extension config.
...
Add -Wsign-compare to debug-steve64
2008-12-29 00:18:23 +00:00
Dr. Stephen Henson
4b253d904d
Avoid signed/unsigned compare warnings.
2008-12-29 00:17:36 +00:00
Andy Polyakov
a51c8c64e0
Backport aes-x86_64.pl update from HEAD.
2008-12-27 13:34:30 +00:00
Ben Laurie
c153422388
Enable TLS Extensions by default.
2008-12-26 15:27:51 +00:00
Richard Levitte
7f065cfdbd
In BIO_write(), update the write statistics, not the read statistics.
...
PR: 1803
2008-12-25 22:24:21 +00:00
Richard Levitte
667fbc0847
Further synchronisation with Unix
2008-12-25 22:04:45 +00:00
Richard Levitte
6ba7bd5697
Synchronise with Unixly build.
2008-12-22 09:30:09 +00:00
Dr. Stephen Henson
2cad035c01
Make no-engine work again...
2008-12-20 17:04:09 +00:00
Andy Polyakov
2a76c68842
Backport aes-x86_64.pl update from HEAD and revisit same code in aes-586.pl.
...
PR: 1801
2008-12-17 14:14:51 +00:00
Ben Laurie
1b00f4bc37
Missing return values (Coverity ID 204).
2008-12-13 17:00:53 +00:00
Ben Laurie
be62eb6d93
Make depend.
2008-12-13 12:22:47 +00:00
Dr. Stephen Henson
5f3878f1e3
Remove tests which rely on old root certs being present.
2008-12-10 17:34:11 +00:00
Lutz Jänicke
a523e997d3
apps/speed.c: children should not inherit buffered I/O
...
PR: 1787
Submitted by: Artur Klauser <aklauser@google.com >
2008-12-10 08:03:48 +00:00
Dr. Stephen Henson
fe43caa4a4
Fix from HEAD.
2008-12-08 19:13:57 +00:00
Dr. Stephen Henson
792e614144
Fix from HEAD.
2008-12-07 23:59:13 +00:00
Bodo Möller
ce2b87d88a
experimental-foo support for mk1mf.pl.
2008-12-02 23:50:21 +00:00
Ben Laurie
f092a073a7
Fix warnings.
2008-12-02 18:14:44 +00:00
Ben Laurie
6fa4cd7136
Warn about JPAKE brokenness.
2008-12-02 13:36:47 +00:00
Bodo Möller
505ed2b076
Implement Configure option pattern "experimental-foo"
...
(specifically, "experimental-jpake").
2008-12-02 01:21:06 +00:00
Dr. Stephen Henson
cef3e62d2b
Don't clobber passed GENERAL_NAME on error.
2008-11-30 16:07:11 +00:00
Geoff Thorpe
40ea9ff9e8
Clarify a 'chil' engine param that is a little unintuitive.
...
Submitted by: Sander Temme <sander@temme.net >
2008-11-28 22:04:25 +00:00
Dr. Stephen Henson
a97a6b03bc
Update dependencies.
2008-11-24 17:49:21 +00:00
Dr. Stephen Henson
516f76fd2c
Move new function CRYPTO_strdup to mem_dbg.c because mem.c is excluded in
...
a fips build.
2008-11-24 17:02:49 +00:00
Dr. Stephen Henson
5a02ac6e5b
Revert OPENSSL_EXPERIMENTAL patch.
...
Change it so JPAKE uses the standard OPENSSL_NO_JPAKE instead.
2008-11-24 16:14:15 +00:00
Dr. Stephen Henson
14d4074ee1
Update from HEAD.
2008-11-21 18:18:28 +00:00
Dr. Stephen Henson
d9f16c405c
Commit default dependencies.
2008-11-19 16:03:51 +00:00
Geoff Thorpe
bfc6482a7a
Allow the CHIL engine to load even if dynamic locks aren't registered.
...
Submitted by: Sander Temme
2008-11-19 14:08:06 +00:00
Dr. Stephen Henson
5aa032033e
Remove jpake.h dependencies from default build.
2008-11-19 00:40:59 +00:00
Dr. Stephen Henson
2d59f9938f
On WIN32 use /MD for static library in FIPS mode to match value of
...
validated module.
2008-11-18 22:23:20 +00:00
Dr. Stephen Henson
c0ce8fe755
Update .cvsignore
2008-11-15 17:47:31 +00:00
Dr. Stephen Henson
55eff40084
Stop warnings.
2008-11-15 17:46:41 +00:00
Bodo Möller
e5a251843d
warnings
2008-11-14 00:18:23 +00:00
Bodo Möller
fe46b0de29
make update
2008-11-14 00:17:43 +00:00
Dr. Stephen Henson
a581439bb1
Fixes for "make depend". Features which need a #define to be set to
...
enable them, like FIPS and JPAKE need to have these set when building
dependencies.
2008-11-13 15:08:33 +00:00
Ben Laurie
a43337e8c4
Not an error to include jpake.h when disabled.
2008-11-13 11:35:23 +00:00
Ben Laurie
33c51ec143
J-PAKE is not RSA.
2008-11-13 09:50:24 +00:00
Dr. Stephen Henson
448da15fbf
Oops...
2008-11-12 19:05:42 +00:00
Dr. Stephen Henson
a1bb2d6c2f
Update mk1mf.pl for new JPAKE options. Update jpaketest.c for WIN32.
2008-11-12 18:27:17 +00:00
Dr. Stephen Henson
81dde5e8fe
Add support for experimental code, not compiled in by default and
...
with OPENSSL_EXPERIMENTAL_FOO around it. Make JPAKE experimental.
2008-11-12 16:54:35 +00:00
Dr. Stephen Henson
b84e441861
Don't attempt to enter FIPS mode in autoconfig module if already in FIPS mode.
2008-11-11 12:52:14 +00:00
Dr. Stephen Henson
08e012bbec
Update from HEAD.
2008-11-11 12:42:32 +00:00
Dr. Stephen Henson
b46acc392b
Avoid conflict with some version of Windows platform SDK.
2008-11-11 12:22:17 +00:00
Dr. Stephen Henson
28af6367b8
PR: 1782
...
Submitted by: Philip Prindeville <philipp_subx@redfish-solutions.com >
Approved by: steve@openssl.org
2008-11-11 10:17:22 +00:00
Dr. Stephen Henson
2c17b493b1
Make -DKSSL_DEBUG work again.
2008-11-10 18:55:07 +00:00
Dr. Stephen Henson
ea725a66c9
Fix warnings.
2008-11-10 18:22:50 +00:00
Lutz Jänicke
1532493dab
Clarify (non-)blocking behavior of EGD socket interface used by RAND_egd().
2008-11-10 11:26:46 +00:00
Dr. Stephen Henson
3795297af8
Change old obsolete email address...
2008-11-05 18:36:57 +00:00
Dr. Stephen Henson
33fd33d423
Fix from HEAD.
2008-11-05 18:29:49 +00:00
Dr. Stephen Henson
4e98f8863f
Oops...
2008-10-31 12:18:42 +00:00
Dr. Stephen Henson
582ef3dbdb
Fix from HEAD.
2008-10-31 12:09:18 +00:00
Andy Polyakov
6a933782fa
randfile.c: .rnd can become orphaned on VMS [from HEAD].
...
Submitted by: David North
2008-10-28 16:30:09 +00:00
Andy Polyakov
d1c2778e93
.cvsignore update: ignore all flavors of shared objects [from HEAD].
2008-10-28 15:33:07 +00:00
Andy Polyakov
8d64abacc6
Fix crash in BN_rshift [from HEAD].
...
PR: 1663
2008-10-28 13:47:38 +00:00
Dr. Stephen Henson
9af6802943
Win32 fixes, add new directory to WIN32 build system.
2008-10-27 12:30:33 +00:00
Dr. Stephen Henson
c10f53a897
Fixes from HEAD.
2008-10-27 12:04:04 +00:00
Ben Laurie
2124e869a8
Add JPAKE.
2008-10-26 18:42:05 +00:00
Ben Laurie
3b668eedda
Minor clarity enhancements.
2008-10-26 15:37:31 +00:00
Dr. Stephen Henson
7471431322
Avoid warning.
2008-10-26 11:54:26 +00:00
Dr. Stephen Henson
1542de4eed
Update from HEAD.
2008-10-22 19:55:25 +00:00
Dr. Stephen Henson
b6c2bffbdf
Return correct exit code if there is an error in dgst command.
2008-10-22 18:51:37 +00:00
Dr. Stephen Henson
ff09931e22
Sync OIDS with HEAD.
2008-10-22 18:48:50 +00:00
Lutz Jänicke
155c70b882
Allow detection of input EOF in quiet mode by adding -no_ign_eof option
...
to s_client application.
PR: #1761
Submitted by: David Woodhouse <dwmw2@infradead.org >
2008-10-22 06:46:13 +00:00
Lutz Jänicke
7c49452973
Add missing "-d" to option list of openssl version.
...
Submitted by: Alex Chen <alex_chen@filemaker.com >
2008-10-20 12:53:33 +00:00
Lutz Jänicke
312539ae9f
Armor pq_compat.h header file against multiple inclusion
...
Submitted by: Alex Chen <alex_chen@filemaker.com >
2008-10-20 12:40:20 +00:00
Ben Laurie
cc40dcce58
Distinguish public/private data more clearly.
2008-10-20 09:26:04 +00:00
Ben Laurie
5790921aea
Ignore executable.
2008-10-19 15:34:13 +00:00
Ben Laurie
df84c11407
Add J-PAKE demo.
2008-10-19 15:33:32 +00:00
Ben Laurie
b76306c983
Constification.
2008-10-18 14:27:36 +00:00
Ben Laurie
cdffc716c9
Set the comparison function in v3_addr_canonize().
2008-10-14 19:21:30 +00:00
Ben Laurie
5dffc13f55
Add XMPP STARTTLS support.
2008-10-14 19:09:47 +00:00
Ben Laurie
a5873a8d3d
Fix warnings.
2008-10-14 19:05:02 +00:00
Lutz Jänicke
4db3e88459
Firstly, the bitmap we use for replay protection was ending up with zero
...
length, so a _single_ pair of packets getting switched around would
cause one of them to be 'dropped'.
Secondly, it wasn't even _dropping_ the offending packets, in the
non-blocking case. It was just returning garbage instead.
PR: #1752
Submitted by: David Woodhouse <dwmw2@infradead.org >
2008-10-13 06:43:06 +00:00
Lutz Jänicke
ab073bad4f
When the underlying BIO_write() fails to send a datagram, we leave the
...
offending record queued as 'pending'. The DTLS code doesn't expect this,
and we end up hitting an OPENSSL_assert() in do_dtls1_write().
The simple fix is just _not_ to leave it queued. In DTLS, dropping
packets is perfectly acceptable -- and even preferable. If we wanted a
service with retries and guaranteed delivery, we'd be using TCP.
PR: #1703
Submitted by: David Woodhouse <dwmw2@infradead.org >
2008-10-10 10:41:32 +00:00
Lutz Jänicke
cfe04f607d
Fix incorrect command for assember file generation on IA64
...
Submitted by: Amadeu A. Barbosa Jr <amadeu@tecgraf.puc-rio.br >
2008-10-06 10:35:29 +00:00
Dr. Stephen Henson
c0e9f540e0
Check for errors in ASN1 sign and verify routines.
2008-09-25 16:38:07 +00:00
Andy Polyakov
7c97aacbe8
Fix EC_KEY_check_key [from HEAD].
2008-09-23 17:34:08 +00:00
Dr. Stephen Henson
36b8f87566
Typo.
2008-09-23 11:21:17 +00:00
Bodo Möller
d875413a0b
Make sure that SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG can't
...
enable disabled ciphersuites.
2008-09-22 21:22:51 +00:00
Dr. Stephen Henson
155ad6d219
Fix warnings when more pedantic "debuge-steve32" target is used.
2008-09-21 11:40:36 +00:00
Dr. Stephen Henson
138f20433e
Camellia low level API algorithm blocking.
2008-09-21 11:21:43 +00:00
Dr. Stephen Henson
7747c67861
Make camellia work with updated EVP macros.
2008-09-21 10:24:08 +00:00
Dr. Stephen Henson
237a6f06b6
Add do_fips.bat WIN32 build script. Update version in Configure.
2008-09-18 12:13:54 +00:00
Dr. Stephen Henson
fe99beb82a
Build montgomery ASM file on WIN32.
2008-09-18 11:56:09 +00:00
Dr. Stephen Henson
736a77f275
Merge FIPS changes to VC-32 build system.
2008-09-18 11:45:30 +00:00
Dr. Stephen Henson
94539213a1
Add extra utilities from FIPS branch.
2008-09-18 11:20:08 +00:00
Dr. Stephen Henson
c5c4246319
Add FIPS changes to mk1mf.pl
2008-09-17 17:21:31 +00:00
Dr. Stephen Henson
2e6d8a8991
Update defs.
2008-09-17 17:12:53 +00:00
Dr. Stephen Henson
e852835da6
Make update: delete duplicate error code.
2008-09-17 17:11:09 +00:00
Dr. Stephen Henson
d245c32529
Update some util files to recognize new FIPS directories.
2008-09-17 16:58:01 +00:00
Dr. Stephen Henson
964d58bcb0
Add missing files.
2008-09-17 16:27:50 +00:00
Dr. Stephen Henson
52702f6f92
Updates to build system from FIPS branch. Make fipscanisterbuild work and
...
build FIPS test programs.
2008-09-17 15:56:42 +00:00
Dr. Stephen Henson
05794d983f
Add RSA update from FIPS branch that got omitted....
2008-09-17 15:53:59 +00:00
Dr. Stephen Henson
364f36f851
Don't change NUM_LOCKS value for non-FIPS builds.
2008-09-17 15:07:41 +00:00
Dr. Stephen Henson
9b809d6278
Add missing files.
2008-09-16 22:54:30 +00:00
Dr. Stephen Henson
bbefea3387
Add missing files.
2008-09-16 22:48:18 +00:00
Dr. Stephen Henson
d83dde6180
Merge changes to build system from fips branch.
2008-09-16 21:44:57 +00:00
Dr. Stephen Henson
63e1319d0f
FIPS merge of test changes: make sure key sizes are 1024 bits.
2008-09-16 15:14:55 +00:00
Dr. Stephen Henson
8067d34b3a
FIPS merge "crypto" functions.
2008-09-16 15:11:50 +00:00
Dr. Stephen Henson
e3f2860e73
Merge public key FIPS code, RSA, DSA, DH.
2008-09-16 14:55:26 +00:00
Dr. Stephen Henson
92eb44d238
Add missing file.
2008-09-16 11:52:33 +00:00
Dr. Stephen Henson
f4179bead4
RAND library FIPS merge.
2008-09-16 11:50:05 +00:00
Dr. Stephen Henson
fced277486
conf/hmac FIPS merge.
2008-09-16 11:37:03 +00:00
Dr. Stephen Henson
3d1be455ce
ERR library FIPS merge. Reorganise functions and add FIPS error
...
definitions.
2008-09-16 11:26:29 +00:00
Dr. Stephen Henson
dee4d129cb
FIPS des library merge.
2008-09-16 11:17:48 +00:00
Dr. Stephen Henson
0067bd77a8
Part FIPS bn merge: move functiosn to bn_opt.c to reduce dependencies.
2008-09-16 11:08:24 +00:00
Dr. Stephen Henson
d98904e5a7
Add missing RC4 algorithm block source file.
2008-09-16 11:02:19 +00:00
Dr. Stephen Henson
96a259e81e
Merge FIPS low level algorithm blocking code. Give hard errors if non-FIPS
...
algorithms are use in FIPS mode using low level API. No effect in non-FIPS
mode.
2008-09-16 10:47:28 +00:00
Dr. Stephen Henson
59f3477b82
Merge fips directory from FIPS branch.
2008-09-16 10:12:23 +00:00
Dr. Stephen Henson
f947b818bf
Oops, restore change that got reverted accidentally.
2008-09-15 22:32:23 +00:00
Dr. Stephen Henson
3fa1a444ce
Merge apps changes from FIPS branch.
2008-09-15 22:24:39 +00:00
Dr. Stephen Henson
a2dc9b6be2
Merge EVP changes in from FIPS branch.
2008-09-15 22:21:42 +00:00
Dr. Stephen Henson
16349eeceb
Port X931 key generation routines from FIPS branch. Don't include deprecated
...
versions as they weren't in 0.9.8 before now anyway.
2008-09-15 21:42:28 +00:00
Bodo Möller
aecf1c1f96
Fix intendation
2008-09-15 20:39:32 +00:00
Bodo Möller
4ea574fdf3
Now that we're changing the 0.9.8i CHANGES anyway, reorder them
...
according to the usual convention (reverse chronological order)
2008-09-15 20:34:13 +00:00
Dr. Stephen Henson
cf8115deb0
Add missing CHANGES entry.
2008-09-15 20:28:58 +00:00
Bodo Möller
d25cbda074
update
2008-09-15 20:27:47 +00:00
Dr. Stephen Henson
5d582fd516
pkcs12 FIPS changes.
2008-09-15 20:16:04 +00:00
Dr. Stephen Henson
8ec86dcf04
Merge minor FIPS branch changes: buffer, objects, pem, x509.
2008-09-15 19:56:12 +00:00
Dr. Stephen Henson
6d3b70c8da
Prepare for next version...
2008-09-15 15:30:20 +00:00
Dr. Stephen Henson
0a4fda742b
Oops... use correct version number this time....
2008-09-15 14:26:34 +00:00
Dr. Stephen Henson
3745e57bf9
Prepare for next version....
2008-09-15 12:19:09 +00:00
Dr. Stephen Henson
b7e7aa00de
Begin release of OpenSSL 0.9.8i.
2008-09-15 10:28:13 +00:00
Andy Polyakov
1098fd48ce
Compilation warning fix [from HEAD, "must have, as our Windows build does
...
not tolerate warnings].
2008-09-15 07:19:41 +00:00
Andy Polyakov
393906d9be
Fix yesterday typos in bss_dgram.c [from HEAD].
2008-09-15 05:45:36 +00:00
Bodo Möller
446881468c
update comment
2008-09-14 19:50:53 +00:00
Andy Polyakov
cfb95ba9f6
Winsock handles SO_RCVTIMEO in unique manner... [from HEAD].
...
PR: 1648
2008-09-14 19:23:46 +00:00
Bodo Möller
c198c26226
oops
2008-09-14 18:16:09 +00:00
Andy Polyakov
54d6ddba69
dtls1_write_bytes consumers expect amount of bytes written per call, not
...
overall [from HEAD].
PR: 1604
2008-09-14 17:57:03 +00:00
Dr. Stephen Henson
1af12ff1d1
Fix error code discrepancy.
...
Make update.
2008-09-14 16:43:37 +00:00
Dr. Stephen Henson
bd72b8eca6
Stop warnings about value not used.
2008-09-14 15:46:36 +00:00
Bodo Möller
200d00c854
Fix SSL state transitions.
...
Submitted by: Nagendra Modadugu
2008-09-14 14:02:01 +00:00
Bodo Möller
669b912dea
Really get rid of unsafe double-checked locking.
...
Also, "CHANGES" clean-ups.
2008-09-14 13:51:49 +00:00
Bodo Möller
36a4a67b2b
Some precautions to avoid potential security-relevant problems.
2008-09-14 13:42:40 +00:00
Andy Polyakov
3413424f01
DTLS didn't handle alerts correctly [from HEAD].
...
PR: 1632
2008-09-13 18:25:36 +00:00
Dr. Stephen Henson
80fc840d89
file rc4_fblk.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:02:19 +0000
2008-09-12 17:44:26 +00:00
Andy Polyakov
6455100f7a
AIX build updates [from HEAD].
2008-09-12 14:47:02 +00:00
Ben Laurie
b7c8b4fc95
Allow soft-loading engines.
2008-09-12 13:29:59 +00:00
Ben Laurie
f58d0f70b6
Don't hide commands.
2008-09-12 13:26:07 +00:00
Dr. Stephen Henson
8f59c61d1d
If tickets disabled behave as if no ticket received to support
...
stateful resume.
2008-09-03 22:13:04 +00:00
Dr. Stephen Henson
fd43ae3fe4
Fix flag clash... only used internally when policy checking is
...
enabled.
2008-08-31 11:15:35 +00:00
Bodo Möller
cdd0f3b328
Don't use assertions to check application-provided arguments;
...
and don't unnecessarily fail on input size 0.
2008-08-14 21:37:20 +00:00
Bodo Möller
f9f6f0e9f0
sanity check
...
PR: 1679
2008-08-13 19:44:44 +00:00
Dr. Stephen Henson
405f382144
Fix from HEAD.
2008-08-05 15:56:11 +00:00
Dr. Stephen Henson
a750273546
Fix from HEAD.
2008-08-02 11:17:04 +00:00
Lutz Jänicke
ddc5f6f328
Refer to SSL_pending from the man page for SSL_read
2008-08-01 15:03:22 +00:00
Dr. Stephen Henson
4231b356aa
Fix from HEAD.
2008-07-30 15:42:19 +00:00
Bodo Möller
df1f7b4b02
We should check the eight bytes starting at p[-9] for rollback attack
...
detection, or the probability for an erroneous RSA_R_SSLV3_ROLLBACK_ATTACK
will be larger than necessary.
PR: 1695
2008-07-17 22:11:24 +00:00
Andy Polyakov
0b7545b239
Harmonize darwin-i386-cc config line with HEAD.
2008-07-17 11:59:07 +00:00
Andy Polyakov
3a72137211
darwin64-ppc-cc experimental line accidentally made it to stable:-(
...
PR: 1699
2008-07-17 10:00:18 +00:00
Andy Polyakov
e5d289cc03
sha1-586.pl: update from HEAD.
...
PR: 1681
2008-07-17 09:51:34 +00:00
Bodo Möller
0ff3766b0e
Make sure not to read beyond end of buffer
2008-07-16 18:10:28 +00:00
Dr. Stephen Henson
3562202306
Fix from HEAD.
2008-07-13 22:38:52 +00:00
Dr. Stephen Henson
2bf4b96aef
Update from HEAD.
2008-07-13 15:56:01 +00:00
Dr. Stephen Henson
811e08a2c5
Update from HEAD.
2008-07-13 14:33:16 +00:00
Dr. Stephen Henson
dd6e90465d
Add support for Local Machine Keyset attribute in PKCS#12 files.
2008-06-26 23:26:52 +00:00
Dr. Stephen Henson
a86c626802
Sync OIDs with HEAD so we don't need to rebuild OID database and change
...
all NIDs every time an OID is added to 0.9.8.
2008-06-26 23:20:52 +00:00
Dr. Stephen Henson
705c3dec2c
Changes to allow capi ENGINE to compile with older headers on e.g. VC6.
2008-06-25 10:41:48 +00:00
Bodo Möller
4afcee8b4b
avoid potential infinite loop in final reduction round of BN_GF2m_mod_arr()
...
Submitted by: Huang Ying
Reviewed by: Douglas Stebila
2008-06-23 20:46:28 +00:00
Dr. Stephen Henson
9627017f9c
Update ordinals.
2008-06-22 01:10:04 +00:00
Dr. Stephen Henson
e0f6c15418
Make WIN32 build work with no-rc4
2008-06-21 23:28:02 +00:00
Dr. Stephen Henson
ecc20b75f8
Fix typo and filter on X509_PURPOSE_SSL_CLIENT when presenting certs.
2008-06-18 14:42:27 +00:00
Dr. Stephen Henson
540e455e3a
Add support for machine stores and handle provider type errors properly in keys.
2008-06-18 12:05:23 +00:00
Dr. Stephen Henson
14748adb09
Make ssl code consistent with FIPS branch. The new code has no effect
...
at present because it asserts either noop flags or is inside
OPENSSL_FIPS #ifdef's.
2008-06-16 16:56:43 +00:00
Dr. Stephen Henson
ff2ab9e6bb
Add error code for FIPS library and make library numbers consistent.
2008-06-16 15:22:49 +00:00
Dr. Stephen Henson
cc5cc3bb8f
Sync ordinals with FIPS branch. FIPS specific functions currently are place
...
holders to keep ordinals consistent.
2008-06-15 16:52:37 +00:00
Dr. Stephen Henson
1f3206216b
Add acknowledgement.
2008-06-09 16:50:48 +00:00
Ben Laurie
f113bb9f4e
OPENSSL_isservice() is defined on all platforms.
2008-06-07 17:22:37 +00:00
Dr. Stephen Henson
4681147bb3
Update from head.
2008-06-06 20:48:57 +00:00
Dr. Stephen Henson
52c3f232e4
Update ordinals.
2008-06-06 15:54:00 +00:00
Dr. Stephen Henson
3dc466424e
Update CryptoAPI ENGINE from head. Export OPENSSL_isservice().
2008-06-06 15:52:32 +00:00
Dr. Stephen Henson
353415cc81
Make headers work with older versions of Window platform SDK.
2008-06-05 16:56:00 +00:00
Dr. Stephen Henson
1a12ce8ea5
Update CHANGES.
2008-06-05 15:32:05 +00:00
Dr. Stephen Henson
0278e15fa3
If auto load ENGINE lookup fails retry adding builtin ENGINEs.
2008-06-05 15:13:03 +00:00
Dr. Stephen Henson
f01f085cb9
Configure options of form -Dfoo=bar should get added to CFLAGS in mk1mf.pl
2008-06-05 15:09:40 +00:00
Dr. Stephen Henson
bca68e90cc
Don't show choice dialog if only one cert.
2008-06-05 11:44:53 +00:00
Dr. Stephen Henson
a3f67ec18d
Search $OPTIONS for -DOPENSSL_CAPIENG_DIALOG because $cflags is
...
no complete at this point.
2008-06-05 11:38:03 +00:00
Dr. Stephen Henson
56ef1cbc40
include engine.h if needed.
2008-06-05 11:23:35 +00:00
Dr. Stephen Henson
a1411093f0
Update ordinals.
2008-06-05 10:57:21 +00:00
Dr. Stephen Henson
f35f7d9fbb
Update from HEAD.
2008-06-05 10:56:51 +00:00
Dr. Stephen Henson
dfbf646ac4
Remove some unneeded columns from dialog.
2008-06-04 23:00:59 +00:00
Dr. Stephen Henson
591371566e
Update from HEAD.
2008-06-04 22:39:29 +00:00
Dr. Stephen Henson
5799b72178
Oops... missed this part of backport.
2008-06-04 20:11:17 +00:00
Dr. Stephen Henson
1cfe6842d5
Backport s_client changes.
2008-06-04 19:52:36 +00:00
Dr. Stephen Henson
f4c98a6a3d
Update CryptoAPI ENGINE from HEAD.
2008-06-04 18:49:44 +00:00
Dr. Stephen Henson
4aefb1dd98
Backport more ENGINE SSL client auth code to 0.9.8.
2008-06-04 18:35:27 +00:00
Dr. Stephen Henson
aa03989791
Backport ssl client auth ENGINE support to 0.9.8.
2008-06-04 18:01:40 +00:00
Bodo Möller
a865b2c320
Everyone's had a few years to port their favorite additions to 0.9.7
...
to HEAD (and the 0.9.8 branch). Remove the reminder.
2008-05-31 13:42:52 +00:00
Dr. Stephen Henson
694ce314a8
DSA method slightly more tested and fixed ;-)
2008-05-30 17:44:36 +00:00
Dr. Stephen Henson
94299a36a6
Update error codes.
2008-05-30 17:07:18 +00:00
Dr. Stephen Henson
3aaeb5c1e5
Untested initial CryptoAPI dsa signing code.
2008-05-30 17:03:16 +00:00
Dr. Stephen Henson
80ec6cc806
Some DSA method structures and placeholders, not complete yet.
2008-05-30 16:31:51 +00:00
Dr. Stephen Henson
3d83320279
Delete unused functions.
2008-05-30 16:14:34 +00:00
Dr. Stephen Henson
4ab252d198
Get BIO_snprintf() argument order right....
2008-05-30 15:28:40 +00:00
Dr. Stephen Henson
058ffd7623
Add new error codes, log unknown magic or algorithm IDs.
2008-05-30 15:24:19 +00:00
Dr. Stephen Henson
0330a13aea
Initial DSA public key loading support in CryptoAPI ENGINE.
2008-05-30 15:05:39 +00:00
Dr. Stephen Henson
467325b81d
Add support for ENGINE loaded keys in dsa app.
2008-05-30 15:04:58 +00:00
Dr. Stephen Henson
00f716bbe6
Add error codes for blob sanity checks, rebuild error table.
2008-05-30 11:58:50 +00:00
Dr. Stephen Henson
2f2f032497
Blob type and algorithm type sanity checks
2008-05-30 11:54:51 +00:00
Dr. Stephen Henson
feb200bbb3
Don't set extended type is mbstring flag set.
2008-05-30 10:57:13 +00:00
Dr. Stephen Henson
3894667036
Update default depflag.
2008-05-30 10:31:43 +00:00
Dr. Stephen Henson
203ac694e3
Load CryptoAPI engine if supported.
2008-05-29 23:47:40 +00:00
Dr. Stephen Henson
bb592c75e7
Update mkdef.pl to recognize CAPIENG
2008-05-29 23:15:41 +00:00
Dr. Stephen Henson
777d717c40
Make CryptoAPI engine look more like the others....
2008-05-29 21:03:48 +00:00
Dr. Stephen Henson
143d84590f
Make dynamic engine link work with capi.
2008-05-29 17:51:22 +00:00
Dr. Stephen Henson
a29669d78d
Disable CryptoAPI engine compilation by default.
2008-05-29 17:20:42 +00:00
Dr. Stephen Henson
e5be1e1696
Create error codes, compile in source.
2008-05-29 17:13:15 +00:00
Dr. Stephen Henson
9e47c34729
CryptoAPI ENGINE... initial version, not compiled in yet.
2008-05-29 16:46:38 +00:00
Bodo Möller
cb896f8923
FAQ updates from HEAD
2008-05-28 22:30:39 +00:00
Bodo Möller
cec9bce126
fix whitespace
2008-05-28 22:22:50 +00:00
Mark J. Cox
3f79793b7e
After tagging, bump ready for 0.9.8i development
2008-05-28 07:47:50 +00:00
Mark J. Cox
0d01d8a735
Prepare for 0.9.8h release
2008-05-28 07:37:14 +00:00
Mark J. Cox
2c0fa03dc6
Fix flaw if 'Server Key exchange message' is omitted from a TLS
...
handshake which could lead to a cilent crash as found using the
Codenomicon TLS test suite (CVE-2008-1672)
Reviewed by: openssl-security@openssl.org
Obtained from: mark@awe.com
2008-05-28 07:29:27 +00:00
Mark J. Cox
d3b3a6d389
Fix double-free in TLS server name extensions which could lead to a remote
...
crash found by Codenomicon TLS test suite (CVE-2008-0891)
Reviewed by: openssl-security@openssl.org
Obtained from: jorton@redhat.com
2008-05-28 07:26:33 +00:00
Bodo Möller
fc260b09a1
grammar
2008-05-27 18:43:30 +00:00
Bodo Möller
b3c79a8a27
year 2008
2008-05-27 18:41:02 +00:00
Lutz Jänicke
f0ecefc0c0
Add README about removed root CA certificates.
2008-05-26 06:23:55 +00:00
Lutz Jänicke
b0118409a9
Reword comment to be much shorter to stop other people from complaining
...
about "overcommenting"
2008-05-26 06:21:10 +00:00
Lutz Jänicke
5f23288692
Clear error queue when starting SSL_CTX_use_certificate_chain_file
...
PR: 1417, 1513
Submitted by: Erik de Castro Lopo <mle+openssl@mega-nerd.com >
2008-05-23 10:37:22 +00:00
Lutz Jänicke
45c58c7d10
Remove all root CA files (beyond test CAs including private key)
...
from the OpenSSL distribution.
2008-05-23 08:59:56 +00:00
Dr. Stephen Henson
112591be76
Fix off by one error ;-)
2008-05-20 18:48:22 +00:00
Dr. Stephen Henson
1b8daa3693
Typo.
2008-05-20 16:13:11 +00:00
Dr. Stephen Henson
1cdbc755ee
Update ordinals.
2008-05-20 12:12:22 +00:00
Dr. Stephen Henson
aa9c7e4b8c
Oops... PEM_write_bio_ASN1_stream() shouldn't be in 0.9.8 CMS backport.
2008-05-20 12:10:28 +00:00
Dr. Stephen Henson
6be69a168f
Remove deleted function definitions from header files
...
so Windows build picks it up.
Recognize new option in mk1mf.pl
2008-05-20 11:50:13 +00:00
Dr. Stephen Henson
eaf76feeb6
Remove old DES definition of deleted function too.
2008-05-20 11:23:49 +00:00
Lutz Jänicke
03e79ed05e
Correctly adjust location of comment
...
Submitted by: Ben Laurie <ben@links.org >
2008-05-20 08:10:51 +00:00
Ben Laurie
56bef2df4f
Fix warning.
2008-05-20 03:05:50 +00:00
Dr. Stephen Henson
10d3886c51
Fix two invalid memory reads in RSA OAEP mode.
...
Submitted by: Ivan Nestlerode <inestlerode@us.ibm.com >
Reviewed by: steve
2008-05-19 21:26:28 +00:00
Bodo Möller
f1c0cf5b70
Disable code that clearly doesn't currently serve any useful purpose.
...
(Buggy line reported by Matthias Koenig.)
2008-05-19 19:44:33 +00:00
Lutz Jänicke
2a7ac69ee4
Document "openssl s_server" -crl_check* options
...
Submitted by: Daniel Black <daniel.subs@internode.on.net >
2008-05-19 07:52:17 +00:00
Lutz Jänicke
d13ea8e184
Provide information about "openssl dgst" -hmac option.
2008-05-19 07:43:41 +00:00
Dr. Stephen Henson
1820b04bb2
Typo.
...
PR: 1672
2008-05-18 13:52:05 +00:00
Lutz Jänicke
439b7ef463
Another occurance of possible valgrind/purify "uninitialized memory"
...
complaint related to the PRNG: with PURIFY policy don't feed uninitialized
memory into the PRNG.
Submitted by: Bodo Moeller <bmoeller@openssl.org > :-)
2008-05-16 07:14:58 +00:00
Dr. Stephen Henson
a25fb95bd6
Always seed PRNG for new requests no matter what key type. RSA may need
...
the PRNG for blinding.
PR: 1666
2008-05-12 16:07:00 +00:00
Dr. Stephen Henson
6168067160
Fix from HEAD.
2008-05-09 23:17:10 +00:00
Bodo Möller
c3031a4610
Avoid BN_MONT_CTX incompatibility.
2008-05-02 18:47:19 +00:00
Dr. Stephen Henson
1099a94063
Update from HEAD.
2008-05-01 23:31:03 +00:00
Bodo Möller
812d8a176c
Unobtrusive backport of 32-bit x86 Montgomery improvements from 0.9.9-dev:
...
you need to use "enable-montasm" to see a difference. (Huge speed
advantage, but BN_MONT_CTX is not binary compatible, so this can't be
enabled by default in the 0.9.8 branch.)
The CHANGES entry also covers the 64-bit x86 backport in November 2007
by appro.
2008-05-01 23:11:34 +00:00
Dr. Stephen Henson
db533c96e3
TLS ticket key setting callback: this allows and application to set
...
its own TLS ticket keys.
2008-04-30 16:11:33 +00:00
Dr. Stephen Henson
8831eb7624
Do not permit stateless session resumption is session IDs mismatch.
2008-04-29 17:22:01 +00:00
Dr. Stephen Henson
3c8f315021
Support ticket renewal in state machine (not used at present).
2008-04-29 16:41:53 +00:00
Dr. Stephen Henson
0f2e636602
Status strings for ticket states.
2008-04-29 16:38:26 +00:00
Geoff Thorpe
98bd148b1a
Fix auto-discovery of ENGINEs, ported from HEAD.
...
NB, this fixes a regression relative to 0.9.7 and the documented behaviour,
but it would make sense for distro maintainers and others with an interest
in system behaviour to test with this change. The fix re-enables behaviour
that was broken and thus inherently disabled. In particular, if you
register an ENGINE implementation, and that ENGINE is able to successfully
self-initialise on the host, it will get used automatically (as claimed in
the documentation and as was the case for 0.9.7) - this was not the case
with 0.9.8 until now because of a bug.
PR: 1668
Submitted by: Ian Lister
Reviewed by: Geoff Thorpe
2008-04-28 21:45:43 +00:00
Geoff Thorpe
292248b8c2
Update from HEAD.
2008-04-27 18:52:14 +00:00
Dr. Stephen Henson
d3eef3e5af
Fix from HEAD.
2008-04-25 16:27:25 +00:00
Andy Polyakov
c5fbf8c1ba
Compensate inline assembler in sha512.c for gcc 2.7.2 compiler bug [from HEAD].
...
PR: 1667
2008-04-24 10:00:40 +00:00
Andy Polyakov
1ed2d8f512
bn_nist.c update from HEAD.
...
PR: 1593
2008-04-18 15:51:31 +00:00
Dr. Stephen Henson
d140890259
Update from HEAD.
2008-04-18 11:19:56 +00:00
Lutz Jänicke
eb492df2bb
Add missing 'extern "C" {' to some _err.h files in crypto/engines/
...
PR: 1609
2008-04-18 07:43:23 +00:00
Richard Levitte
2c16e78400
Synchronise with Unix
2008-04-18 06:07:43 +00:00
Lutz Jänicke
bf2b87aea3
Fix incorrect return value in apps/apps.c:parse_yesno()
...
PR: 1607
Submitted by: "Christophe Macé" <mace.christophe@gmail.com >
2008-04-17 14:15:29 +00:00
Lutz Jänicke
1dff425999
Correctly handle case of bad arguments supplied to rsautl
...
PR: 1659
2008-04-17 13:36:16 +00:00
Dr. Stephen Henson
501af5ba89
Update from HEAD.
2008-04-12 10:15:33 +00:00
Richard Levitte
31d6e7b7ba
Provide other forms for symbols that are too long or that clash with others
2008-04-12 08:40:03 +00:00
Dr. Stephen Henson
b983322bfb
Revert change from HEAD.
2008-04-11 23:23:57 +00:00
Dr. Stephen Henson
339654e163
Fix from HEAD.
2008-04-11 17:34:42 +00:00
Richard Levitte
5ca48cc853
Synchronise with Unix build
2008-04-11 01:53:19 +00:00
Dr. Stephen Henson
79996e3335
Update from HEAD.
2008-04-09 22:12:10 +00:00
Dr. Stephen Henson
173acc185c
Fix from HEAD.
2008-04-07 11:01:43 +00:00
Lutz Jänicke
a985ecdd17
Fix URI of OpenSSL Request Tracker information
...
PR: 1661
2008-04-07 06:35:42 +00:00
Dr. Stephen Henson
fb4c24b6e7
Update from HEAD.
2008-04-06 16:30:38 +00:00
Dr. Stephen Henson
1366f6b9bd
Fix from HEAD.
2008-04-06 15:57:44 +00:00
Dr. Stephen Henson
e13546f739
Update error codes.
2008-04-06 15:46:17 +00:00
Dr. Stephen Henson
d6c813daff
Fix from HEAD.
2008-04-06 15:42:29 +00:00
Dr. Stephen Henson
e3818a4c4b
Update WIN32 build system for CMS and update ordinals.
2008-04-03 23:45:16 +00:00
Dr. Stephen Henson
415fe2abe9
Delete functions not implemented in 0.9.8 from cms.h
2008-04-03 23:31:35 +00:00
Dr. Stephen Henson
5bbdaaf4b7
Update from HEAD.
2008-04-03 23:29:41 +00:00
Dr. Stephen Henson
bf1f1a5759
Update WIN32 build system for CMS.
2008-04-03 23:21:46 +00:00
Dr. Stephen Henson
8e42429c9d
Update default CFLAGS and dependencies.
2008-04-03 23:18:27 +00:00
Dr. Stephen Henson
c43c2285f6
Add S/MIME test certs.
2008-04-03 23:09:50 +00:00
Dr. Stephen Henson
94b2c29f9d
Backport of CMS code to 0.9.8-stable branch. Disabled by default.
2008-04-03 23:03:56 +00:00
Dr. Stephen Henson
090f931a35
Add -DOPENSSL_NO_DEPRECATED to debug-steve* targets. Add headers to make
...
build work.
2008-04-02 14:51:09 +00:00
Dr. Stephen Henson
6b8be6da76
Update CHANGES.
2008-04-02 11:45:34 +00:00
Dr. Stephen Henson
7ec2d392e7
Backport of zlib compression BIO from HEAD. Update mkdef.pl script to handle
...
ZLIB. Update ordinals.
2008-04-02 11:37:25 +00:00
Dr. Stephen Henson
e88f66bb49
Add CHANGES entry for key wrap.
2008-04-02 11:21:53 +00:00
Dr. Stephen Henson
28a2759ab8
Add RFC3394 compatible key wrap algorithm.
2008-04-02 11:18:43 +00:00
Dr. Stephen Henson
3edad44d6e
Avoid "initializer not constant" errors when compiling in pedantic mode.
2008-04-02 11:15:05 +00:00
Dr. Stephen Henson
9e7459fc5d
Backport some useful ASN1 utility functions from HEAD.
2008-04-02 11:11:51 +00:00
Dr. Stephen Henson
b98f5ef42b
Add debug-steve{32,64} targets to Configure script.
2008-04-02 11:09:16 +00:00
Dr. Stephen Henson
a6d4f79f24
Add new missing CMS OIDs.
2008-04-02 10:45:19 +00:00
Andy Polyakov
efcb7a75fc
Fix fast reduction on NIST curves [from HEAD].
...
PR: 1593
2008-04-01 08:40:52 +00:00
Dr. Stephen Henson
30aa23fea2
Update from HEAD.
2008-03-31 14:59:13 +00:00
Dr. Stephen Henson
c9e045041e
Update year.
2008-03-31 14:28:44 +00:00
Dr. Stephen Henson
fd6fa9c0b2
Fix from HEAD.
2008-03-29 13:22:49 +00:00
Dr. Stephen Henson
9f70d09275
Update year.
2008-03-12 13:06:17 +00:00
Dr. Stephen Henson
3fb0f01001
Fix from HEAD.
2008-03-12 00:38:07 +00:00
Mark J. Cox
216ac24bd3
Add missing changelog entry for http://cvs.openssl.org/chngview?cn=16587
2008-02-28 13:35:58 +00:00
Andy Polyakov
2035af2091
Make x86_64-mont.pl work with debug Win64 build [from HEAD].
2008-02-27 20:14:46 +00:00
Bodo Möller
19398a175a
fix BIGNUM flag handling
2008-02-27 06:02:00 +00:00
Dr. Stephen Henson
fa369ddbe7
Update from HEAD.
2008-02-25 18:12:30 +00:00
Bodo Möller
294ba3c282
Make sure to set indent-tabs-mode so that we get tabs, not spaces.
2008-02-21 07:23:46 +00:00
Andy Polyakov
2923e91a98
Allow 32-bit perl to generate x86_64 assembler.
2008-02-13 20:01:48 +00:00
Andy Polyakov
7c52b7706f
Source readability fix, which incidentally works around XLC compiler bug
...
[from HEAD].
PR: 1272
2008-02-11 13:18:40 +00:00
Andy Polyakov
ddec587581
Make aes-x86_64 work with debug Win64 build [from HEAD].
2008-02-11 13:13:11 +00:00
Andy Polyakov
4f466f8e81
x86_64-xlate.pl update from HEAD.
2008-02-11 13:07:11 +00:00
Lutz Jänicke
1502cda142
Add missing colon in manpage
...
Submitted by: Richard Hartmann <richih.mailinglist@gmail.com >
2008-01-30 08:26:18 +00:00
Dr. Stephen Henson
ce2b5d7574
Add GlobalSign root CA.
2008-01-26 23:43:29 +00:00
Dr. Stephen Henson
f1c65db80b
Update from HEAD.
2008-01-23 19:25:41 +00:00
Dr. Stephen Henson
496970b233
Stop nasm/nasmw test complaining on stderr.
2008-01-04 00:40:00 +00:00
Dr. Stephen Henson
3b0e61a812
Netware support.
...
Submitted by: Guenter Knauf <eflash@gmx.net >
2008-01-03 22:53:06 +00:00
Andy Polyakov
e84b0d709b
Typo in http://cvs.openssl.org/chngview?cn=16833 .
2008-01-03 17:15:20 +00:00
Andy Polyakov
16241f0ea4
NASM has recently changed name of win32 pre-compiled binary [from HEAD].
...
PR: 1627
2008-01-03 17:14:25 +00:00
Dr. Stephen Henson
518af4e3ae
Update from HEAD
2008-01-03 16:37:21 +00:00
Dr. Stephen Henson
fe01f90a1c
Add fips-fingerprint option to dgst.c to use the appropriate FIPS HMAC key.
2007-12-23 13:38:55 +00:00
Dr. Stephen Henson
99a376df16
file fipsalgtest.pl was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2007-12-22 19:31:05 +00:00
Andy Polyakov
831ffcb705
Typo in darinw64-ppc-cc config line.
...
PR: 1622
2007-12-16 20:42:42 +00:00
Dr. Stephen Henson
5f297c4504
Updates from HEAD.
2007-12-16 16:38:22 +00:00
Dr. Stephen Henson
d7623ff9f3
Update .cvsignore
2007-12-14 19:36:32 +00:00
Dr. Stephen Henson
df9b5405e8
Don't shadow.
2007-12-14 19:34:05 +00:00
Andy Polyakov
180eb5b3c2
gmp engine was non-operational.
2007-12-04 20:30:49 +00:00
Andy Polyakov
af7d49aaff
opensslwrap.sh update from HEAD.
2007-12-04 20:29:57 +00:00
Andy Polyakov
187b655bc2
Some assembler are allergic to lea reg,BYTE PTR[...].
...
Submitted by: Guenter Knauf
2007-12-02 21:32:35 +00:00
Dr. Stephen Henson
8612cb9239
Learn how to spell "Repository"
2007-11-23 00:18:00 +00:00
Dr. Stephen Henson
b2f3fafa6a
Oops, use the right caRepository OID this time ;-)
2007-11-23 00:11:54 +00:00
Dr. Stephen Henson
483dab147d
Add caRepository OID to OpenSSL.
2007-11-23 00:07:48 +00:00
Lutz Jänicke
f39b8e697c
Typos in man pages: dependant->dependent
...
Submitted by: Tobias Stoeckmann <tobias@bugol.de >
2007-11-19 09:18:01 +00:00
Bodo Möller
7d610299c9
Should reject signatures that we can't properly verify
...
and couldn't generate
(as pointed out by Ernst G Giessmann)
2007-11-19 07:25:28 +00:00
Bodo Möller
25550b2dd4
fix typos
...
Submitted by: Ernst G. Giessmann
2007-11-19 07:23:52 +00:00
Bodo Möller
5c676c47cd
The hash length check wasn't strict enough,
...
as pointed out by Ernst G Giessmann
2007-11-16 13:00:57 +00:00
Ben Laurie
e77f9d5e78
Fix buffer overflow.
2007-11-15 13:33:47 +00:00
Ben Laurie
9c04747623
Make depend.
2007-11-15 13:32:53 +00:00
Ben Laurie
e66deb6817
Fix warnings.
2007-11-15 13:32:16 +00:00
Andy Polyakov
cc9a645a02
Add x86_64-mont.pl [from HEAD].
2007-11-11 21:04:34 +00:00
Andy Polyakov
18fb9d807e
Add framework for bn_mul_mont [from 098-fips].
2007-11-11 20:43:23 +00:00
Andy Polyakov
a1cc568288
doc/crypto/OPENSSL_ia32cap.pod update [from HEAD].
2007-11-11 20:10:09 +00:00
Andy Polyakov
2ea3cd8abc
Comply with updated x86cpuid.pl.
2007-11-11 20:06:17 +00:00
Andy Polyakov
095db72024
x86cpuid.pl update [from HEAD].
2007-11-11 19:44:42 +00:00
Andy Polyakov
11eb172b6e
Typos in Configure.
2007-11-11 16:39:31 +00:00
Andy Polyakov
4b60f4b175
rc4-x86_64.pl update [from HEAD].
2007-11-11 16:25:46 +00:00
Andy Polyakov
0794f3a798
x86_64cpuid.pl update [from HEAD].
2007-11-11 16:25:00 +00:00
Andy Polyakov
2b8e7b5061
Add AES x86_64 assembler. Note that it's not latest version from HEAD,
...
but older one corresponding to x86 module from 098-stable.
2007-11-11 14:49:56 +00:00
Andy Polyakov
6f57311da0
Add SHA x86_64 assembler [from HEAD].
2007-11-11 13:56:47 +00:00
Andy Polyakov
98b09d3949
Synchronize message digests in 098-fips with 098.
2007-11-11 13:34:08 +00:00
Andy Polyakov
231a737a82
Commit #16325 fixed one thing but broke DH with certain moduli [from HEAD].
2007-11-03 20:09:29 +00:00
Dr. Stephen Henson
236860735e
Allow new session ticket when resuming.
2007-11-03 13:07:39 +00:00
Lutz Jänicke
ac1ef7ec72
Add OIDs by CMP (RFC 4210) and CRMF (RFC 4211)
...
Submitted by: Martin Peylo <martinmeis@googlemail.com >
2007-11-01 08:25:28 +00:00
Andy Polyakov
5f761514e1
Make it possible for older masm to compile sse2 modules.
...
PR: 1592
2007-10-21 14:15:40 +00:00
Lutz Jänicke
32f1f622f6
Release OpenSSL 0.9.8g with various fixes to issues introduced with 0.9.8f
2007-10-19 08:25:53 +00:00
Dr. Stephen Henson
5f95651316
Ensure the ticket expected flag is reset when a stateless resumption is
...
successful.
2007-10-18 11:39:11 +00:00
Andy Polyakov
ccac657556
New unused field crippled ssl_ctx_st in 0.9.8"f".
2007-10-17 21:22:58 +00:00
Andy Polyakov
a9c23ea079
Don't let DTLS ChangeCipherSpec increment handshake sequence number. From
...
HEAD with a twist: server interoperates with non-compliant client.
PR: 1587
2007-10-17 21:17:49 +00:00
Dr. Stephen Henson
33ffe2a7f7
Don't try to lookup zero length session.
2007-10-17 17:30:15 +00:00
Dr. Stephen Henson
7c717aafc6
Allow TLS tickets and session ID to both be present if lifetime hint is -1.
...
This never happens in normal SSL sessions but can be useful if the session
is being used as a "blob" to contain other data.
2007-10-17 11:27:25 +00:00
Lutz Jänicke
225aeb171e
Work around inconsistent version numbering in 0.9.8f (release).
...
The version code of the release should have been 09086f (6=f, f=release)
but accidently it was marked "090870" (which would be "0.9.8g-dev").
Therefore we now use "090871" for the development of 0.9.8g. Once
0.9.8g is released, the problem will be "healed". We have never done
beta releases for 0.9.x-stable patch releases, so 090871 would never
be used in practice.
PR: #1589
2007-10-17 07:46:49 +00:00
Andy Polyakov
ffe181c366
Make ssl compile.
2007-10-14 14:07:46 +00:00
Dr. Stephen Henson
fd4e79a9ed
Include USE_SOCKETS #define
2007-10-14 12:19:07 +00:00
Andy Polyakov
299e174d2d
Make it possible to link VC static lib with either /MT or /MD application
...
[from HEAD].
PR: 1230
2007-10-13 12:38:37 +00:00
Andy Polyakov
ce62fc6eae
Copy bn/asm/ia64.S from HEAD.
2007-10-13 11:02:17 +00:00
Dr. Stephen Henson
43490dfb89
Avoid shadow and signed/unsigned warnings.
2007-10-12 00:29:06 +00:00
Dr. Stephen Henson
a523276786
Backport certificate status request TLS extension support to 0.9.8.
2007-10-12 00:00:36 +00:00
Ben Laurie
074471ab0c
Back to -dev.
2007-10-11 18:27:10 +00:00
Ben Laurie
d761421e1d
Minor release cockups.
2007-10-11 18:23:16 +00:00
Ben Laurie
2339c5d722
Next version.
2007-10-11 15:04:32 +00:00
Ben Laurie
dd00266757
Ready to roll.
2007-10-11 14:58:15 +00:00
Ben Laurie
bb99ce5f80
make update, and more DTLS stuff.
2007-10-11 14:36:59 +00:00
Andy Polyakov
49f42ec0f6
Respect cookie length set by app_gen_cookie_cb [from HEAD].
...
Submitted by: Alex Lam
2007-10-09 19:31:53 +00:00
Andy Polyakov
91d509f0d9
Make DTLS1 record layer MAC calculation RFC compliant. From HEAD with a
...
twist: server interoperates with non-compliant pre-0.9.8f client.
2007-10-09 19:22:01 +00:00
Andy Polyakov
d5e858c55f
Prohibit RC4 in DTLS [from HEAD].
2007-10-05 21:05:27 +00:00
Dr. Stephen Henson
fb8fcce2ac
Fix from fips branch.
2007-10-05 16:47:04 +00:00
Andy Polyakov
d4736ae701
Set client_version earlier in DTLS (this is 0.9.8 specific).
2007-10-03 10:18:06 +00:00
Andy Polyakov
3e1158522a
Oops! This was erroneously left out commit #16633 .
2007-10-01 06:28:48 +00:00
Andy Polyakov
57191f86d9
Explicit IV update [from HEAD].
2007-09-30 22:03:07 +00:00
Andy Polyakov
0a89c575de
Make ChangeCipherSpec compliant with DTLS RFC4347. From HEAD with a twist:
...
server interoperates with non-compliant pre-0.9.8f.
2007-09-30 21:20:59 +00:00
Andy Polyakov
4c860910df
DTLS RFC4347 says HelloVerifyRequest resets Finished MAC. From HEAD with a
...
twist: server allows for non-compliant Finished calculations in order to
enable interop with pre-0.9.8f.
2007-09-30 19:36:32 +00:00
Andy Polyakov
0fc3d51b7d
DTLS RFC4347 requires client to use rame random field in reply to
...
HelloVerifyRequest [from HEAD].
2007-09-30 19:15:46 +00:00
Andy Polyakov
c4b0d7879e
Switch for RFC-compliant version encoding in DTLS. From HEAD with a twist:
...
server accepts even non-compliant encoding in order to enable interop with
pre-0.9.8f clients.
2007-09-30 18:55:59 +00:00
Dr. Stephen Henson
aab1ec3f36
Update from HEAD.
2007-09-28 16:29:24 +00:00
Lutz Jänicke
fbfa11fb29
Typos
...
PR: 1578
Submitted by: Charles Longeau <chl@tuxfamily.org >
2007-09-24 11:22:31 +00:00
Lutz Jänicke
284498fcef
Finish sentence with a "."
2007-09-24 10:58:15 +00:00
Dr. Stephen Henson
07d9808496
Fix from HEAD.
2007-09-23 15:55:54 +00:00
Bodo Möller
4ab0088bfe
More changes from HEAD:
...
- no need to disable SSL 2.0 for SSL_CTRL_SET_TLSEXT_HOSTNAME
now that ssl23_client_hello takes care of that
- fix buffer overrun checks in ssl_add_serverhello_tlsext()
2007-09-21 14:05:08 +00:00
Dr. Stephen Henson
3bd1690bfb
Fixes from HEAD.
2007-09-21 13:40:51 +00:00
Lutz Jänicke
29f4b05954
The use of the PURIFY macro in ssleay_rand_bytes() is sufficient to
...
resolve the Valgrind issue with random numbers. Undo the changes to
RAND_bytes() and RAND_pseudo_bytes() that are redundant in this
respect.
Update documentation and FAQ accordingly, as the PURIFY macro is
available at least since 0.9.7.
2007-09-21 10:10:47 +00:00
Ben Laurie
48ca0c99b2
Use PURIFY instead of PEDANTIC.
2007-09-20 12:33:24 +00:00
Dr. Stephen Henson
015052cf7b
Clarify wording a little.
2007-09-20 11:32:09 +00:00
Lutz Jänicke
9ce3ee47ba
Add FAQ entry on how to get rid of Valgrind warnings.
...
PR: 521
2007-09-20 07:39:15 +00:00
Lutz Jänicke
2e3fd54337
Add passage to manual page actually reflecting the usage of the
...
contents of "buf" when calling RAND_*bytes().
2007-09-20 07:24:45 +00:00
Dr. Stephen Henson
625782f7ee
Wrap "keep valgrind happy" change in #ifdef PEDANTIC so any entropy in the
...
buffer can be normally used.
2007-09-19 13:29:05 +00:00
Ben Laurie
1c90899eef
Slight bug in dependencies caused occasional unnecessary diffs. Fixed.
2007-09-19 13:10:34 +00:00
Ben Laurie
4f2b7d48b1
make depend
2007-09-19 12:17:11 +00:00
Ben Laurie
458c3900e1
Lingering "security" fix.
2007-09-19 12:16:21 +00:00
Andy Polyakov
ba75b4e750
Wire DES weak_keys to read-only segment [from HEAD].
2007-09-18 20:59:33 +00:00
Andy Polyakov
ab011d51be
Minimize stack utilization in probable_prime [from HEAD].
2007-09-18 20:55:10 +00:00
Andy Polyakov
898d9b1a87
Remove excessive whitespaces from bio.h.
2007-09-18 20:49:25 +00:00
Bodo Möller
4f9a9d2b79
Make sure that BN_from_montgomery keeps the BIGNUMS in proper format
2007-09-18 16:31:18 +00:00
Dr. Stephen Henson
346f2f93e1
PR: 1560
2007-09-17 17:54:02 +00:00
Dr. Stephen Henson
25b0e072dd
PR: 1582
2007-09-17 17:30:01 +00:00
Andy Polyakov
dc13c882fb
enc.pod update [from HEAD].
...
PR: 1529
2007-09-17 16:43:11 +00:00
Andy Polyakov
12a52467c8
Typo in pq_compat.h [note that this file is not present in HEAD].
...
PR: 1537
2007-09-17 16:21:21 +00:00
Andy Polyakov
22e6c73dcc
Mention SHA2 in apps/dgst and openssl.pod.
...
PR: 1575
2007-09-17 15:57:31 +00:00
Andy Polyakov
53b9696f3f
It's inappropraite to override application signal, nor is it appropriate
...
to shut down Winsock unless we know it won't be used [and we never do]
[from HEAD].
PR: 1439
2007-09-16 18:35:45 +00:00
Andy Polyakov
7e4fe4662b
Minor fix in link_[oa].hpux [from HEAD].
2007-09-16 14:11:51 +00:00
Andy Polyakov
18fd413f37
BSD run-time linkers apparently demand RPATH on .so objects [from HEAD].
...
PR: 1381
2007-09-16 12:24:17 +00:00
Andy Polyakov
80ed5f84de
Make bn2dec work on "SIXTY_FOUR_BIT" platforms [from HEAD].
...
PR: 1456
2007-09-15 17:05:57 +00:00
Andy Polyakov
b48111df7c
More Intel cc fix-ups [from HEAD].
2007-09-14 19:32:54 +00:00
Andy Polyakov
73e3edd70d
It's unfortunate, but we have to disengage DES assembler in linux64-sparcv9
...
build, because it expects DES_INT and the latter didn't make it to first
0.9.8.
2007-09-14 15:39:49 +00:00
Andy Polyakov
d4cfbdf2c0
Integrate remaining parts of #14247 [from HEAD].
2007-09-07 12:27:50 +00:00
Dr. Stephen Henson
294f03a812
Reimplement safestack to avoid function pointer casts.
2007-09-06 21:07:43 +00:00
Dr. Stephen Henson
272f9f3d27
Update NEWS file.
2007-09-06 12:59:34 +00:00
Dr. Stephen Henson
927a28ba3b
gcc 4.2 fixes to avoid use or function pointer casts in OpenSSL.
...
Fix various "computed value not used" warnings too.
2007-09-06 12:43:54 +00:00
Dr. Stephen Henson
a938c4284e
Update from HEAD.
2007-08-31 00:28:51 +00:00
Andy Polyakov
7a44a0cee7
aes_ige update [from HEAD].
2007-08-30 08:11:25 +00:00
Andy Polyakov
82430309ac
darwin platform updates [from HEAD].
2007-08-30 08:10:39 +00:00
Dr. Stephen Henson
c2079de880
Update from HEAD.
2007-08-28 01:12:44 +00:00
Dr. Stephen Henson
967ead7269
Update from HEAD.
2007-08-27 23:47:10 +00:00
Andy Polyakov
c9255df519
shlib_wrap update [from HEAD].
2007-08-27 08:52:57 +00:00
Andy Polyakov
27c824a1c9
IRIX and Tru64 platform updates [from HEAD].
2007-08-26 14:18:05 +00:00
Dr. Stephen Henson
5b96d1ccf9
Clarify CHANGES entry.
2007-08-23 22:58:24 +00:00
Dr. Stephen Henson
29c0866b38
Update docs and NEWS file.
2007-08-23 22:53:57 +00:00
Dr. Stephen Henson
0214ea0dfe
Update from HEAD.
2007-08-23 22:49:42 +00:00
Dr. Stephen Henson
80355002a1
Update from HEAD.
2007-08-23 12:20:56 +00:00
Dr. Stephen Henson
0e36825228
Update docs.
2007-08-23 12:16:03 +00:00
Richard Levitte
95a8f1469f
VAX C can't handle 64 bit integers, making SHA512 impossible...
2007-08-22 20:58:56 +00:00
Dr. Stephen Henson
afdbadc704
Update from HEAD.
2007-08-20 12:44:22 +00:00
Dr. Stephen Henson
004cc26abf
file fips_rsa_sign.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2007-08-15 13:35:44 +00:00
Dr. Stephen Henson
35a924c576
file fips_rsa_lib.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2007-08-15 13:35:43 +00:00
Dr. Stephen Henson
99279ac97a
file fips_dsa_key.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:15 +0000
2007-08-15 13:35:40 +00:00
Dr. Stephen Henson
87605ca1e2
file fips_dsa_sign.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:16 +0000
2007-08-15 13:35:39 +00:00
Dr. Stephen Henson
7cc586f117
file fips_dsa_lib.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:15 +0000
2007-08-15 13:35:38 +00:00
Dr. Stephen Henson
c263a6092c
file dh_gen.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2007-08-15 13:35:37 +00:00
Dr. Stephen Henson
f92fd85400
file fips_dh_lib.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2007-08-15 13:35:36 +00:00
Dr. Stephen Henson
e71520ddd6
file fipstests.sh was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2007-08-15 13:35:35 +00:00
Dr. Stephen Henson
275f34b5d2
file fipstests.bat was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2007-08-15 13:35:34 +00:00
Dr. Stephen Henson
50fbb6ed36
file mkfipsscr.pl was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2007-08-15 13:35:33 +00:00
Dr. Stephen Henson
34fdacbd35
file fips_utl.h was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2007-08-15 13:35:32 +00:00
Dr. Stephen Henson
77f2d20dbc
file fips_premain.c.sha1 was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2007-08-15 13:35:31 +00:00
Dr. Stephen Henson
0dbfbf26cb
file fips-nodiff.txt was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:09 +0000
2007-08-15 13:35:30 +00:00
Dr. Stephen Henson
2863a6878f
Update to Win32 build system to it knows about TLS extension code.
2007-08-12 22:31:16 +00:00
Dr. Stephen Henson
ae46e91e4d
Update default dependency flag.
2007-08-12 19:05:17 +00:00
Dr. Stephen Henson
865a90eb4f
Backport of TLS extension code to OpenSSL 0.9.8.
...
Include server name and RFC4507bis support.
This is not compiled in by default and must be explicitly enabled with
the Configure option enable-tlsext
2007-08-12 18:59:03 +00:00
Andy Polyakov
0269c4507c
Typos in ./config [from HEAD].
...
PR: 1563
2007-08-01 11:21:35 +00:00
Andy Polyakov
a5d3574984
MacOS X update [from HEAD].
2007-07-31 20:03:26 +00:00
Andy Polyakov
1040deb0c5
Respect ISO aliasing rules [from HEAD].
...
PR: 1296
2007-07-27 20:34:56 +00:00
Andy Polyakov
05ea800faf
AES for IA64 update [from HEAD].
2007-07-27 18:22:04 +00:00
Andy Polyakov
341f87862c
Don't set OPENSSL_IA32_SSE2 on x86_64.
2007-07-24 14:40:26 +00:00
Dr. Stephen Henson
f805d30769
SSE2 and AES assembly language support for VC++ build.
2007-07-19 17:39:07 +00:00
Dr. Stephen Henson
4fb9472cc2
file do_fips.bat was added on branch OpenSSL_0_9_8-stable on 2008-09-18 12:13:54 +0000
2007-07-19 16:11:20 +00:00
Andy Polyakov
a8098740c6
Relax ISA detection.
2007-07-19 10:45:03 +00:00
Andy Polyakov
e3af0d041e
Fix masm type-casting problem in SSE2 code.
2007-07-18 20:25:17 +00:00
Andy Polyakov
28cfda9f30
shlib_wrap.sh update [from HEAD].
2007-07-16 14:02:12 +00:00
Andy Polyakov
a313e23fff
Shut up memory debuggers complaining about AES x86 assembler module
...
[it was not a bug!].
PR: 1508,1320
2007-07-08 19:41:12 +00:00
Andy Polyakov
4d2a292e8a
EVP_*_cfb1 was broken [from HEAD].
...
PR: 1318
2007-07-08 19:18:15 +00:00
Andy Polyakov
5a84b7fc2d
bn_mul_recursive doesn't handle all cases correctly, which results in
...
BN_mul failures at certain key-length mixes [from HEAD].
PR: 1427
2007-07-08 18:54:30 +00:00
Andy Polyakov
d8e660a6dc
Typo in str_lib [from HEAD].
...
PR: 1177
2007-07-07 20:11:42 +00:00
Dr. Stephen Henson
761f3b403b
Fix more unused value warnings.
2007-07-04 13:09:27 +00:00
Dr. Stephen Henson
4570d29404
Update debug-steve
2007-07-04 12:57:31 +00:00
Dr. Stephen Henson
14346b3456
Fix warnings: C++ comments and computed value not used.
2007-07-04 12:56:33 +00:00
Dr. Stephen Henson
769f58aaaa
file enc_min.c was added on branch OpenSSL_0_9_8-stable on 2008-09-15 22:21:41 +0000
2007-07-01 00:08:41 +00:00
Andy Polyakov
a166e96d16
bn_mont.c fix [from HEAD].
2007-06-29 13:12:34 +00:00
Ben Laurie
8dd8ce1dc3
Fix warning.
2007-06-23 19:07:54 +00:00
Andy Polyakov
4c5979a107
Mention recent changes to bn_mont.c in CHANGES.
2007-06-20 17:44:43 +00:00
Andy Polyakov
649ab2dcfa
Optimize OPENSSL_cleanse [from HEAD].
2007-06-20 17:37:09 +00:00
Dr. Stephen Henson
71fc9b37ae
Use -mcpu on alpha.
...
PR:1545
2007-06-19 15:41:23 +00:00
Andy Polyakov
283aedf498
Privatize BN_*_no_branch [from HEAD].
2007-06-11 16:33:50 +00:00
Andy Polyakov
1a56614af2
Eliminate conditional final subtraction in Montgomery multiplication
...
[from HEAD].
2007-06-11 16:15:10 +00:00
Dr. Stephen Henson
693c33e407
Update from HEAD.
2007-06-07 16:13:56 +00:00
Dr. Stephen Henson
d9a9aa027d
Update from HEAD.
2007-05-22 23:33:08 +00:00
Bodo Möller
b22250bb67
Fix crypto/ec/ec_mult.c to work properly with scalars of value 0
2007-05-22 09:48:06 +00:00
Andy Polyakov
d446120527
Padlock engine fails to compile with -O0 -fPIC [from HEAD].
2007-05-20 07:14:14 +00:00
Andy Polyakov
bb9d68489c
Type cast fixes in aes-586.pl.
2007-05-19 20:12:21 +00:00
Andy Polyakov
affaea59fe
cygwin shared rules update [from HEAD].
...
PR: 1517
2007-05-19 19:41:05 +00:00
Andy Polyakov
81fc4c93ef
Typo in x509_txt.c [from HEAD].
2007-05-19 18:04:21 +00:00
Ben Laurie
8957121c14
More IGE speedup.
2007-05-13 15:04:16 +00:00
Ben Laurie
50241bc84e
AES IGE mode speedup.
2007-05-13 12:03:57 +00:00
Andy Polyakov
e7f077f1ba
Detect UltraSPARC T1 in ./config [from HEAD].
2007-05-04 13:06:50 +00:00
Andy Polyakov
c3b82c7610
Fix s390x detection in ./config.
2007-04-30 09:26:05 +00:00
Bodo Möller
2c12e7f6f5
Ensure that AES remains the preferred cipher at any given key length.
...
(This does not really require a special case for Camellia.)
2007-04-25 07:58:32 +00:00
Bodo Möller
8db10d9ac4
remove leftover from editing ...
2007-04-24 00:46:48 +00:00
Bodo Möller
c3cc4662af
Add SEED encryption algorithm.
...
PR: 1503
Submitted by: KISA
Reviewed by: Bodo Moeller
2007-04-23 23:50:26 +00:00
Bodo Möller
22892f9803
fix error codes
2007-04-19 15:14:39 +00:00
Bodo Möller
27eb115fb6
don't violate the bn_check_top assertion in BN_mod_inverse_no_branch()
2007-04-19 14:45:27 +00:00
Dr. Stephen Henson
51a596ef4f
Update from HEAD.
2007-04-09 11:46:36 +00:00
Dr. Stephen Henson
97de8bd1e0
file evp_cnf.c was added on branch OpenSSL_0_9_8-stable on 2008-09-15 22:21:41 +0000
2007-04-08 17:51:00 +00:00
Dr. Stephen Henson
1cb7e5be5b
Fix OID config module.
2007-04-08 17:45:03 +00:00
Ben Laurie
84dd04e761
Make sure we detect corruption.
2007-04-04 12:50:13 +00:00
Bodo Möller
2ac061e487
make BN_FLG_CONSTTIME semantics more fool-proof
2007-03-28 18:44:01 +00:00
Bodo Möller
7cdb81582c
Change to mitigate branch prediction attacks
...
Submitted by: Matthew D Wood
Reviewed by: Bodo Moeller
2007-03-28 00:14:25 +00:00
Dr. Stephen Henson
8f33b40302
file segrenam.pl was added on branch OpenSSL_0_9_8-stable on 2008-09-18 11:20:08 +0000
2007-03-27 00:04:54 +00:00
Andy Polyakov
e600614ef5
aix updates from HEAD.
2007-03-25 15:34:42 +00:00
Andy Polyakov
02581dea1f
aix-shared rules from HEAD.
2007-03-22 09:03:19 +00:00
Dr. Stephen Henson
40ad08bcc2
file arx.pl was added on branch OpenSSL_0_9_8-stable on 2008-09-16 21:44:57 +0000
2007-03-22 00:39:20 +00:00
Dr. Stephen Henson
9c4456a13f
file rsa_eng.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 14:55:26 +0000
2007-03-22 00:38:35 +00:00
Dr. Stephen Henson
f4d0392faa
file rsa_x931g.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 22:54:29 +0000
2007-03-22 00:38:34 +00:00
Dr. Stephen Henson
45ba6cfe03
file rand_eng.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:52:33 +0000
2007-03-22 00:38:28 +00:00
Dr. Stephen Henson
4f23a0c797
file dig_eng.c was added on branch OpenSSL_0_9_8-stable on 2008-09-15 22:21:40 +0000
2007-03-22 00:38:10 +00:00
Dr. Stephen Henson
f6c32bbf2b
file err_def.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:26:29 +0000
2007-03-22 00:38:09 +00:00
Dr. Stephen Henson
d040c951f0
file err_bio.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:26:29 +0000
2007-03-22 00:38:08 +00:00
Dr. Stephen Henson
69abfb0e33
file dsa_utl.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 14:55:24 +0000
2007-03-22 00:38:02 +00:00
Dr. Stephen Henson
9a1daf8482
file des_lib.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:17:48 +0000
2007-03-22 00:37:58 +00:00
Dr. Stephen Henson
9de6dc3af3
file buf_str.c was added on branch OpenSSL_0_9_8-stable on 2008-09-15 19:56:10 +0000
2007-03-22 00:37:55 +00:00
Dr. Stephen Henson
248834dcaa
file bn_opt.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:08:24 +0000
2007-03-22 00:37:53 +00:00
Dr. Stephen Henson
11a7da7c9f
file o_init.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 22:48:18 +0000
2007-03-22 00:37:48 +00:00
Dr. Stephen Henson
9fea0b9937
file dyn_lck.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 15:11:50 +0000
2007-03-22 00:37:45 +00:00
Bodo Möller
6fd3f3260d
stricter session ID context matching
2007-03-21 14:33:01 +00:00
Bodo Möller
d9e262443c
oops -- this should have been in 0.9.8e
2007-03-21 14:18:27 +00:00
Bodo Möller
51c3bb3b98
clarification regarding libdes files
2007-03-21 10:58:32 +00:00
Andy Polyakov
7d608f9e32
PowerPC config updates from HEAD.
2007-03-20 09:06:52 +00:00
Dr. Stephen Henson
295de18c8a
Fix kerberos ciphersuite bugs introduced with PR:1336.
2007-03-09 14:06:34 +00:00
Ben Laurie
3370b694b9
Make local function static.
2007-03-08 15:52:04 +00:00
Dr. Stephen Henson
3380c52f15
Stop memory leak.
2007-03-05 00:06:47 +00:00
Lutz Jänicke
1364e6f1ac
Initialize "buf" to 0 to make valgrind happy :-)
...
Note: the RAND_bytes() manual page says:
RAND_bytes() puts num cryptographically strong pseudo-random bytes into buf.
It does not talk about using the previous contents of buf so we are working
as documented.
2007-03-02 17:54:31 +00:00
Lutz Jänicke
c5ac2aa62c
Do not use uninitialized memory to seed the PRNG as it may confuse
...
code checking tools.
PR: 1499
2007-03-02 17:44:55 +00:00
Dr. Stephen Henson
392a0345de
EVP_CIPHER_CTX_key_length() should return the set key length in the
...
EVP_CIPHER_CTX structure which may not be the same as the underlying
cipher key length for variable length ciphers.
2007-02-27 18:42:52 +00:00
Lutz Jänicke
5c2fc73e7b
Merge from HEAD
2007-02-27 08:26:51 +00:00
Bodo Möller
402b951804
include complete 0.9.7 history
2007-02-26 10:48:56 +00:00
Bodo Möller
5848d13fed
use 2007 copyright for generated files
2007-02-26 10:47:49 +00:00
Dr. Stephen Henson
5dd24ead57
Prepare for next version.
2007-02-23 12:50:54 +00:00
Dr. Stephen Henson
d2cb94952a
Add L to version number
2007-02-23 12:38:11 +00:00
Dr. Stephen Henson
0615396d2d
Prepare for release.
2007-02-23 12:12:28 +00:00
Dr. Stephen Henson
82877ea449
Make update.
2007-02-23 01:01:08 +00:00
Lutz Jänicke
81fae49db9
Fix problem with multi line responses in -starttls by using a buffering
...
BIO and BIO_gets().
2007-02-22 17:39:50 +00:00
Dr. Stephen Henson
74ff8dc975
Don't use deprecated -mcpu option.
2007-02-22 02:00:39 +00:00
Dr. Stephen Henson
ac319217d0
Update NEWS file.
2007-02-22 01:35:24 +00:00
Lutz Jänicke
cdb13ae8d0
Extend SMTP and IMAP protocol handling to perform the required
...
EHLO or CAPABILITY handshake before sending STARTTLS
Submitted by: Goetz Babin-Ebell <goetz@shomitefo.de >
2007-02-21 18:20:33 +00:00
Lutz Jänicke
ab700807d9
Add automatic detection for Linux on SuperH
...
PR: 1152
Submitted by: Mike Frysinger <vapier@gentoo.org >
2007-02-21 18:10:19 +00:00
Lutz Jänicke
744b91bb9f
Add support for m68 linux
...
PR: 1277
Submitted by: Mike Frysinger <vapier@gentoo.org >
2007-02-21 17:58:51 +00:00
Lutz Jänicke
d69f85bf15
Fix incorrect handling of special characters
...
PR: 1459
Submitted by: tnitschke@innominate.com
Reviewed by: steve@openssl.org
2007-02-21 17:44:51 +00:00
Dr. Stephen Henson
52ee969e29
Update from 0.9.7-stable.
2007-02-21 13:48:49 +00:00
Bodo Möller
55f0501201
Include "!eNULL" in SSL_DEFAULT_CIPHER_LIST to make sure that a
...
ciphersuite string such as "DEFAULT:RSA" cannot enable
authentication-only ciphersuites.
2007-02-19 18:38:11 +00:00
Bodo Möller
b2710ee19a
remove inconsistency between builds with and without Camellia enabled
2007-02-19 17:55:07 +00:00
Bodo Möller
bbfcc4724d
fix incorrect strength bit values for certain Kerberos ciphersuites
...
Submitted by: Victor Duchovni
2007-02-19 14:47:21 +00:00
Dr. Stephen Henson
c31cc72d79
Avoid warning.
2007-02-18 18:18:31 +00:00
Dr. Stephen Henson
d1049ad93e
Fix Win32 warnings.
2007-02-18 17:23:20 +00:00
Bodo Möller
5f4cc234fb
Some fixes for ciphersuite string processing:
...
- add a workaround provided by Victor Duchovni so that 128- and
256-bit variants of otherwise identical ciphersuites are treated
correctly;
- also, correctly skip invalid parts of ciphersuite description strings.
Submitted by: Victor Duchovni, Bodo Moeller
2007-02-17 06:52:42 +00:00
Nils Larsch
d31a13953c
ensure that the EVP_CIPHER_CTX object is initialized
...
PR: 1490
2007-02-16 20:40:07 +00:00
Richard Levitte
28f5873179
Add STARTTLS support for IMAP and FTP.
...
Submitted by Kees Cook <kees@outflux.net >
2007-02-16 18:12:20 +00:00
Nils Larsch
8f813338f1
- use OPENSSL_malloc() etc. in zlib
...
- move zlib_stateful_ex_idx initialization to COMP_zlib()
PR: 1468
2007-02-14 21:50:26 +00:00
Nils Larsch
6555dfa486
use user-supplied malloc functions for persistent kssl objects
...
PR: 1467
Submitted by: Andrei Pelinescu-Onciul <andrei@iptel.org >
2007-02-10 10:40:24 +00:00
Nils Larsch
5eee0253e5
remove unreachable code
2007-02-10 09:48:42 +00:00
Dr. Stephen Henson
594c723f98
Add hmac option to dgst from 0.9.7-stable.
2007-02-08 19:08:21 +00:00
Nils Larsch
f418265865
ensure that a ec key is used
...
PR: 1476
2007-02-07 20:36:40 +00:00
Richard Levitte
53707e2eec
After objects have been freed, NULLify the pointers so there will be no double
...
free of those objects
2007-02-07 01:42:51 +00:00
Nils Larsch
fde794e898
fix typo
2007-02-06 19:48:36 +00:00
Nils Larsch
082f19b42d
add note about 56 bit ciphers
...
PR: 1461
2007-02-06 19:40:45 +00:00
Dr. Stephen Henson
e31c620686
Update from fips2 branch.
2007-02-03 17:32:14 +00:00
Dr. Stephen Henson
570253315f
file err_str.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 11:26:29 +0000
2007-02-03 17:19:41 +00:00
Dr. Stephen Henson
5dcdac6e4e
file fips_err.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 22:48:18 +0000
2007-02-03 17:19:39 +00:00
Dr. Stephen Henson
eea3fce854
file fips_err.h was added on branch OpenSSL_0_9_8-stable on 2008-09-16 22:48:18 +0000
2007-02-03 17:19:37 +00:00
Nils Larsch
215c49d032
fix documentation
...
PR: 1466
2007-02-03 10:27:31 +00:00
Nils Larsch
923df53e25
fix potential memory leaks
...
PR: 1462
Submitted by: Charles Hardin <chardin@2wire.com >
2007-02-03 09:51:59 +00:00
Dr. Stephen Henson
1a684d0020
file mksdef.pl was added on branch OpenSSL_0_9_8-stable on 2008-09-18 11:20:08 +0000
2007-01-27 13:19:43 +00:00
Dr. Stephen Henson
dc3b721fa0
Update from 0.9.7-stable.
2007-01-23 17:54:22 +00:00
Dr. Stephen Henson
4479ce9c1c
Update from HEAD.
2007-01-21 16:07:25 +00:00
Dr. Stephen Henson
4a0d3530e0
Update from HEAD.
2007-01-21 13:16:49 +00:00
Dr. Stephen Henson
9907d2992d
Update from HEAD.
2007-01-18 21:25:24 +00:00
Lutz Jänicke
9d9224f184
Update do new home page
2007-01-12 18:47:28 +00:00
Andy Polyakov
78d4d87e39
Initialize padlock in shared build.
2007-01-04 22:55:25 +00:00
Andy Polyakov
6211633273
#include <stddef.h> in digest headers [from HEAD].
2006-12-29 14:55:43 +00:00
Nils Larsch
3a4cf918bf
fix return value of get_cert_chain()
...
PR: 1441
2006-12-27 09:39:51 +00:00
Richard Levitte
e25eb309ec
From HEAD
2006-12-26 21:23:38 +00:00
Richard Levitte
ffa2b2aa7d
Synchronise with Unixly build
2006-12-25 10:57:20 +00:00
Andy Polyakov
a77a95584d
Make sha.h more "portable" [from HEAD].
2006-12-22 16:04:56 +00:00
Nils Larsch
68bb98159f
fix typos
...
PR: 1354, 1355, 1398
2006-12-21 21:11:44 +00:00
Nils Larsch
8e6905d238
remove trailing '\'
...
PR: 1438
2006-12-19 19:47:39 +00:00
Bodo Möller
1a8521ff24
Fix the BIT STRING encoding of EC points or parameter seeds
...
(need to prevent the removal of trailing zero bits).
2006-12-19 15:10:46 +00:00
Nils Larsch
9d5460d72d
properly initialize SSL context, check return value
2006-12-13 22:08:20 +00:00
Dr. Stephen Henson
35e59297fc
Update from 0.9.7-stable branch
2006-12-07 13:28:07 +00:00
Dr. Stephen Henson
9b945233b1
Update from HEAD.
2006-12-06 13:38:59 +00:00
Nils Larsch
b065dc2eee
fix documentation
...
PR: 1343
2006-12-06 09:12:28 +00:00
Nils Larsch
66c4bb1a70
avoid duplicate entries in add_cert_dir()
...
PR: 1407
Submitted by: Tomas Mraz <tmraz@redhat.com >
2006-12-05 21:21:10 +00:00
Nils Larsch
36abe6fe61
return 0 if 'noout' is used and no has occurred
...
PR: 1435
Submitted by: "Haridharan" <haridharan@gmail.com >
2006-12-05 20:08:03 +00:00
Nils Larsch
3c786aa6c8
allocate a new attributes entry in X509_REQ_add_extensions()
...
if it's NULL (in case of a malformed pkcs10 request)
PR: 1347
Submitted by: Remo Inverardi <invi@your.toilet.ch >
2006-12-04 19:10:58 +00:00
Nils Larsch
e5cce6d356
add "Certificate Issuer", "Issuing Distribution Point" and
...
"Subject Directory Attributes" OIDs
PR: 1433
2006-12-04 18:48:16 +00:00
Andy Polyakov
723b7d81e4
Camellia fixes and improvements from HEAD.
2006-12-02 12:00:27 +00:00
Andy Polyakov
a3ddd7358b
Camellia portability fixes.
...
Submitted by: Masashi Fujita, NTT
2006-12-02 11:57:40 +00:00
Dr. Stephen Henson
45c027f31f
Update dependencies.
2006-11-30 14:03:58 +00:00
Dr. Stephen Henson
3b62e9eb0d
Fix default depflags.
2006-11-30 14:01:38 +00:00
Dr. Stephen Henson
34a8c7ec87
Win32 fixes.
...
Use OPENSSL_NO_RFC3779 instead of OPENSSL_RFC3779: this makes the Win32 scripts
work and is consistent with other options.
Fix Win32 scripts and Configure to process OPENSSL_NO_RFC3779 properly.
Update ordinals.
Change some prototypes for LSB because VC++ 6 doesn't like the */ sequence and thinks it is an invalid end of comment.
2006-11-30 13:04:43 +00:00
Nils Larsch
d4a6240005
replace macros with functions
...
Submitted by: Tracy Camp <tracyx.e.camp@intel.com >
2006-11-29 20:47:15 +00:00
Bodo Möller
5c6f76da0a
fix support for receiving fragmented handshake messages
2006-11-29 14:45:14 +00:00
Ben Laurie
4636341b05
Add RFC 3779 support, contributed by ARIN.
2006-11-27 13:36:55 +00:00
Nils Larsch
be3b770d8f
register the engine as default engine in ENGINE_set_default()
...
PR: 1431
2006-11-24 18:44:26 +00:00
Ulf Möller
af32387b3f
wording, as in head
2006-11-21 20:51:47 +00:00
Dr. Stephen Henson
115fc340cb
Rebuild error file C source files.
2006-11-21 20:14:46 +00:00
Dr. Stephen Henson
900f7a8776
Update from 0.9.7-stable.
...
Improve mkerr.pl header file function name parsing.
2006-11-21 20:14:05 +00:00
Dr. Stephen Henson
4877e30504
Fix from HEAD.
2006-11-13 13:23:05 +00:00
Nils Larsch
4656ec3852
update md docs
2006-10-27 21:59:48 +00:00
Andy Polyakov
e336441197
Gcc over-optimizes PadLock AES CFB codepath, tell it not to [from HEAD].
2006-10-19 20:56:31 +00:00
Dr. Stephen Henson
20d6182f33
Typo.
2006-10-05 21:59:09 +00:00
Nils Larsch
aa145866f9
return an error if the supplied precomputed values lead to an invalid signature
2006-10-04 19:55:03 +00:00
Mark J. Cox
fdff41e166
Initialise ctx to NULL to avoid uninitialized free, noticed by
...
Steve Kiernan
2006-09-29 08:21:07 +00:00
Richard Levitte
07b4bc3979
APP_FILES is no longer used, remove it everywhere.
2006-09-29 06:54:39 +00:00
Bodo Möller
0c66d3ae37
fix typo
2006-09-28 13:30:28 +00:00
Bodo Möller
bd869183d5
for completeness, include 0.9.7l information
2006-09-28 13:29:08 +00:00
Richard Levitte
7e2bf83100
Fixes for the following claims:
...
1) Certificate Message with no certs
OpenSSL implementation sends the Certificate message during SSL
handshake, however as per the specification, these have been omitted.
-- RFC 2712 --
CertificateRequest, and the ServerKeyExchange shown in Figure 1
will be omitted since authentication and the establishment of a
master secret will be done using the client's Kerberos credentials
for the TLS server. The client's certificate will be omitted for
the same reason.
-- RFC 2712 --
3) Pre-master secret Protocol version
The pre-master secret generated by OpenSSL does not have the correct
client version.
RFC 2712 says, if the Kerberos option is selected, the pre-master
secret structure is the same as that used in the RSA case.
TLS specification defines pre-master secret as:
struct {
ProtocolVersion client_version;
opaque random[46];
} PreMasterSecret;
where client_version is the latest protocol version supported by the
client
The pre-master secret generated by OpenSSL does not have the correct
client version. The implementation does not update the first 2 bytes
of random secret for Kerberos Cipher suites. At the server-end, the
client version from the pre-master secret is not validated.
PR: 1336
2006-09-28 12:23:15 +00:00
Mark J. Cox
25e52a78fb
After tagging, bump ready for 0.9.8e development
2006-09-28 11:39:33 +00:00
Mark J. Cox
47c4bb2ddf
Prepare for 0.9.8d release
2006-09-28 11:32:42 +00:00
Mark J. Cox
951dfbb13a
Introduce limits to prevent malicious keys being able to
...
cause a denial of service. (CVE-2006-2940)
[Steve Henson, Bodo Moeller]
Fix ASN.1 parsing of certain invalid structures that can result
in a denial of service. (CVE-2006-2937) [Steve Henson]
Fix buffer overflow in SSL_get_shared_ciphers() function.
(CVE-2006-3738) [Tavis Ormandy and Will Drewry, Google Security Team]
Fix SSL client code which could crash if connecting to a
malicious SSLv2 server. (CVE-2006-4343)
[Tavis Ormandy and Will Drewry, Google Security Team]
2006-09-28 11:29:03 +00:00
Dr. Stephen Henson
81780a3b62
Update from HEAD.
2006-09-23 17:30:25 +00:00
Dr. Stephen Henson
c574d0cdf2
Fix from HEAD.
2006-09-22 17:14:44 +00:00
Dr. Stephen Henson
c987c3f999
Fix from HEAD.
2006-09-22 17:07:40 +00:00
Dr. Stephen Henson
1a5e414863
Fix but in apps/pkcs12.c
...
PR: 1377
2006-09-22 00:28:37 +00:00
Andy Polyakov
ec3639385e
Build error on non-unix [from HEAD].
...
PR: 1390
2006-09-18 19:51:45 +00:00
Andy Polyakov
f01cfca6a4
Race condition in ms/uplink.c [from HEAD].
...
PR: 1382
2006-09-18 19:44:23 +00:00
Bodo Möller
7d5af5e0fa
Ensure that the addition mods[i]+delta cannot overflow in probable_prime().
...
[Problem pointed out by Adam Young <adamy (at) acm.org>]
2006-09-18 14:01:39 +00:00
Bodo Möller
8fdb296cbd
Update
2006-09-12 14:42:09 +00:00
Bodo Möller
879b30aaa3
ensure that ciphersuite strings such as "RC4-MD5" match the SSL 2.0
...
ciphersuite as well
2006-09-11 09:48:46 +00:00
Bodo Möller
40ddcb717a
Remove non-functional part of recent patch, after discussion with
...
Colin Percival (this would have caused more problems than solved,
and isn't really necessary anyway)
2006-09-06 06:43:26 +00:00
Mark J. Cox
da1841a075
After tagging, prep for next release
2006-09-05 08:51:30 +00:00
Mark J. Cox
0a0a10d127
Ready for 0.9.8c release
2006-09-05 08:45:37 +00:00
Mark J. Cox
df20b6e79b
Avoid PKCS #1 v1.5 signature attack discovered by Daniel Bleichenbacher
...
(CVE-2006-4339)
Submitted by: Ben Laurie, Google Security Team
Reviewed by: bmoeller, mjc, shenson
2006-09-05 08:25:42 +00:00
Dr. Stephen Henson
f4f1dc39e0
Fix from HEAD.
2006-08-31 21:01:41 +00:00
Dr. Stephen Henson
340b4dd7df
Fix from HEAD.
2006-08-31 20:11:09 +00:00
Ben Laurie
4b9dcd821f
Add IGE and biIGE modes.
2006-08-28 11:00:32 +00:00
Andy Polyakov
669c5c9380
Engage assembler in solaris64-x86_64-cc [backport from HEAD].
2006-08-01 16:13:47 +00:00
Bodo Möller
7f9aa6c59b
Camellia IPR information
2006-07-31 11:50:02 +00:00
Bodo Möller
d9c06b56ca
New Camellia implementation (replacing previous version)
...
Submitted by: NTT
2006-07-19 13:38:27 +00:00
Bodo Möller
d045e1d77e
Camellia information
2006-07-19 13:37:10 +00:00
Dr. Stephen Henson
6d14cc7ec1
Fix from HEAD.
2006-07-13 20:35:33 +00:00
Dr. Stephen Henson
eb499b2854
Oops...
2006-07-09 12:07:22 +00:00
Dr. Stephen Henson
65a82ef6d7
Fix from HEAD.
2006-07-09 12:03:02 +00:00
Ben Laurie
616f581650
Fix warning.
2006-07-02 14:43:21 +00:00
Bodo Möller
57e802656f
documentation for "HIGH" vs. "MEDIUM" was not up-to-date
2006-06-30 22:03:48 +00:00
Bodo Möller
5d7f15daf8
use <poll.h> as by Single Unix Specification
2006-06-30 08:14:50 +00:00
Bodo Möller
ec67e3b7e4
always read in RAND_poll() if we can't use select because of a too
...
large FD: it's non-blocking mode anyway
2006-06-28 14:50:00 +00:00
Andy Polyakov
0d3ff3c073
aes-586.pl sync from HEAD.
2006-06-28 09:01:40 +00:00
Andy Polyakov
325e48867c
Mitigate the hazard of cache-collision timing attack on last round
...
[from HEAD].
2006-06-28 08:58:15 +00:00
Richard Levitte
8de95bc05b
Use poll() when possible to gather Unix randomness entropy
2006-06-27 06:31:57 +00:00
Bodo Möller
5e3003bb52
Be more explicit about requirements for multi-threading.
2006-06-23 14:59:59 +00:00
Bodo Möller
e6e3f38bfa
Fix for previous change: explicitly named ciphersuites are OK to add
2006-06-22 13:07:45 +00:00
Bodo Möller
aa17ab7e57
Put ECCdraft ciphersuites back into default build (but disabled
...
unless specifically requested)
2006-06-22 12:35:54 +00:00
Bodo Möller
35908bd040
Remove ECC ciphersuites from 0.9.8 branch (should use 0.9.9 branch)
2006-06-20 08:50:33 +00:00
Bodo Möller
4a9cfd763e
Another thread-safety fix
2006-06-16 01:01:14 +00:00
Bodo Möller
0e73294e26
Disable invalid ciphersuites
2006-06-14 17:52:01 +00:00
Bodo Möller
b610f46bae
Make sure that AES ciphersuites get priority over Camellia ciphersuites
...
in the default cipher string.
2006-06-14 13:52:49 +00:00
Bodo Möller
1921a1adb2
"make depend" for the default configuration, i.e. no-camellia here in
...
the 0.9.8 branch!
2006-06-14 09:56:08 +00:00
Bodo Möller
6d2cd23f40
Thread-safety fixes
2006-06-14 08:51:41 +00:00
Bodo Möller
14fb67f28a
make update
2006-06-14 08:47:00 +00:00
Richard Levitte
c552680473
Keep synchronised with Unix
2006-06-12 06:46:27 +00:00
Bodo Möller
edbf9f878d
Camellia cipher, contributed by NTT
...
Submitted by: Masashi Fujita
Reviewed by: Bodo Moeller
2006-06-11 01:08:15 +00:00
Richard Levitte
2745ddfc33
Keep synchronised with the Unix build
2006-06-10 05:38:29 +00:00
Bodo Möller
808606034a
Camellia cipher, contributed by NTT
...
Submitted by: Masashi Fujita
Reviewed by: Bodo Moeller
2006-06-09 22:31:05 +00:00
Bodo Möller
e18eef3d7a
Camellia cipher, contributed by NTT
...
Submitted by: Masashi Fujita
Reviewed by: Bodo Moeller
2006-06-09 15:42:21 +00:00
Andy Polyakov
e78fc11a95
Tidy up hpux targets.
2006-05-20 08:51:11 +00:00
Dr. Stephen Henson
83231cb376
Fix from HEAD.
2006-05-17 18:25:59 +00:00
Dr. Stephen Henson
986ad56124
Fix from HEAD.
2006-05-17 18:20:27 +00:00
Dr. Stephen Henson
b723a7b11b
Don't check for padding bug if compression is negotiated.
...
PR: 1204
2006-05-07 12:27:48 +00:00
Ulf Möller
1b6b67b17e
bug fix.
...
PR: 1326
Submitted by: John Skodon
2006-05-06 18:35:41 +00:00
Dr. Stephen Henson
1ee3236f72
Update debug-steve
2006-05-06 12:18:15 +00:00
Dr. Stephen Henson
b03a4917be
Backport of CPUID support in mk1mf and update Mingw32 batch file to build
...
cpuid source file.
2006-05-05 13:19:35 +00:00
Dr. Stephen Henson
84971b39f5
Initial support for single batch file to build all Win32 ASM files.
2006-05-05 00:22:18 +00:00
Dr. Stephen Henson
5ab3e743f3
Detect MSYS and use Unix like build if detected.
2006-05-04 16:24:27 +00:00
Dr. Stephen Henson
1c5dc844e7
Update for next dev version.
2006-05-04 13:08:35 +00:00
Dr. Stephen Henson
f871949efd
Prepare for new release.
2006-05-04 12:46:42 +00:00
Dr. Stephen Henson
eb2ec6bee9
make update
2006-05-04 12:15:59 +00:00
Dr. Stephen Henson
df22f59f6e
Update NEWS file.
2006-05-04 11:23:28 +00:00
Dr. Stephen Henson
db0edc3273
Inherit check time if appropriate.
2006-05-03 13:16:02 +00:00
Dr. Stephen Henson
6300c14248
Create a crlnumber file when a CA is created using CA.pl
2006-04-28 00:28:51 +00:00
Dr. Stephen Henson
d4426e79a7
Fix warning.
2006-04-15 17:53:52 +00:00
Dr. Stephen Henson
b095418d20
Fix from 0.9.7-stable.
2006-04-15 17:43:18 +00:00
Dr. Stephen Henson
d6fd880481
Fix on the right branch this time :-)
2006-04-15 13:17:53 +00:00
Dr. Stephen Henson
cbb0b734c7
If cipher list contains a match for an explicit ciphersuite only match that
...
one suite.
2006-04-15 00:22:34 +00:00
Richard Levitte
f4bcd70f27
Change chop to chomp when reading lines, so CRLF is properly processed on
...
the operating systems where they are the normal line endings
2006-04-03 09:15:40 +00:00
Ulf Möller
6e16b45d9d
*** empty log message ***
2006-03-17 19:29:26 +00:00
Ulf Möller
e09e7ab362
as in head
2006-03-17 19:27:22 +00:00
Nils Larsch
d5cc2f19cd
fix error found by coverity: check if ctx is != NULL before calling BN_CTX_end()
2006-03-14 22:48:31 +00:00
Nils Larsch
b7a80146f4
fix error found by coverity: check if ctx is != NULL before calling BN_CTX_end()
2006-03-13 23:12:08 +00:00
Bodo Möller
5586a71a6e
clarification
2006-03-11 22:10:46 +00:00
Dr. Stephen Henson
81418b7c77
Update from HEAD.
2006-03-01 21:17:50 +00:00
Nils Larsch
8bd0c77ae3
force C locale when using [a-z] in sed expressions
...
PR: 1283
Submitted by: Mike Frysinger
2006-03-01 19:52:07 +00:00
Nils Larsch
e2217e7ed5
fix "#ifndef HZ" statement
...
PR: 1287
2006-02-28 20:08:46 +00:00
Nils Larsch
51b75ea7ef
fix Intel Mac configuration; patch supplied by JP Szikora <szikora@icp.ucl.ac.be>
2006-02-25 11:53:45 +00:00
Nils Larsch
41d4d6721c
fix no-dh configure option; patch supplied by Peter Meerwald
2006-02-24 17:58:35 +00:00
Dr. Stephen Henson
9d01d50459
Update from head.
2006-02-21 01:00:47 +00:00
Dr. Stephen Henson
e27c67c5c5
Fix from HEAD.
2006-02-19 13:45:22 +00:00
Nils Larsch
e7decd5f4d
fix typos
...
PR: 1280
2006-02-15 19:44:45 +00:00
Dr. Stephen Henson
38a3178185
Fix OBJ_obj2txt() for large OIDs.
2006-02-15 15:03:47 +00:00
Nils Larsch
58828ae573
fix typo: pass pre-computed parameters to the underlying signature function; thanks to Lucas Newman
2006-02-13 08:22:39 +00:00
Richard Levitte
6b5f5e3508
Backport the following changes from HEAD:
...
1.270:
As an effect of revisions 1.261, BUILD_CMD was changed so $(DIRS)
wasn't respected when using it to build different parts of OpenSSL.
1.269 was an attempt to correct that, but unfortunately meant that we
built every part that was given i $(DIRS) 7 times. This change puts
back the original intent with BUILD_CMD via the new macro
BUILD_ONE_CMD while keeping the intent with RECURSIVE_BUILD_CMD.
1.271:
Document the building macros.
2006-02-10 08:52:56 +00:00
Dr. Stephen Henson
f0ec771933
Update from 0.9.7-stable.
2006-02-09 12:28:30 +00:00
Nils Larsch
22d1087e16
backport recent changes from the cvs head
2006-02-08 19:16:33 +00:00
Dr. Stephen Henson
9f85fcefdc
Update filenames in makefiles
2006-02-04 01:49:36 +00:00
Dr. Stephen Henson
269d2575cd
Fix from HEAD.
2006-02-04 01:26:49 +00:00
Nils Larsch
0b8ed5de2d
fix if statement: call conn_state() if the BIO is not in the BIO_CONN_S_OK state
2006-02-02 22:16:45 +00:00
Ben Laurie
c22684eac9
Constification.
2006-02-02 15:27:22 +00:00
Dr. Stephen Henson
c42cd4b831
Fix from HEAD.
2006-01-31 18:37:41 +00:00
Lutz Jänicke
4d018f7067
Typo
...
Submitted by: Girish Venkatachalam <girish1729@gmail.com >
2006-01-30 17:06:59 +00:00
Dr. Stephen Henson
46eaf3b0cc
file fipslink.pl was added on branch OpenSSL_0_9_8-stable on 2008-09-18 11:20:08 +0000
2006-01-21 21:28:27 +00:00
Dr. Stephen Henson
9df2a00b94
file fipsld was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2006-01-21 14:01:13 +00:00
Dr. Stephen Henson
fbcf4bc1f2
file fips_premain.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2006-01-21 14:01:11 +00:00
Dr. Stephen Henson
ca08c064bb
file fips_canister.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2006-01-21 14:01:09 +00:00
Dr. Stephen Henson
02df47d349
Fixes for BOOL handling: produce errors for invalid string for mini-compiler,
...
correctly encode FALSE for BOOL in ASN1_TYPE.
2006-01-19 17:17:33 +00:00
Dr. Stephen Henson
41c39e3366
Fix for Win32 dynamic engine loading.
2006-01-15 17:28:35 +00:00
Nils Larsch
45803988ce
make "./configure no-ssl2" work again
...
PR: 1217
2006-01-15 16:57:01 +00:00
Dr. Stephen Henson
28251e7ff9
Typo.
2006-01-15 13:56:06 +00:00
Dr. Stephen Henson
217382d584
Handle manifest files for VC++
...
Submitted by: Austin Ziegler <halostatue@gmail.com >
2006-01-15 13:46:20 +00:00
Nils Larsch
82a2cb6f51
fix cipher list order
2006-01-15 07:14:38 +00:00
Nils Larsch
611ed5f312
fix comment
...
PR: 1270
2006-01-13 23:52:17 +00:00
Nils Larsch
27fbb5dbf4
2 is a prime number ...
...
PR: 1266
2006-01-13 23:29:31 +00:00
Richard Levitte
db8d9b7cf1
Forgot to initialize CC6DISABLEWARNINGS properly...
2006-01-11 18:55:49 +00:00
Richard Levitte
60ec950517
Typo...
2006-01-11 13:31:19 +00:00
Richard Levitte
2cd4ebc01f
Disable the Mixed Linkage warning for some selected modules. This is
...
because the Compaq C compiler will not accept that a variable be
declared extern then defined static without a warning.
2006-01-09 19:22:53 +00:00
Richard Levitte
5f4dcaf781
/usr/bin/perl util/mkerr.pl -recurse -write -rebuild
2006-01-09 16:05:22 +00:00
Bodo Möller
c55d882fab
Avoid contradictive error code assignments.
...
"make error".
2006-01-08 21:52:46 +00:00
Bodo Möller
8dc7450068
Detect more errors.
...
Change assignment strategy: rathern than using max+r for new codes,
find first hole in list of existing codes.
2006-01-08 21:40:07 +00:00
Bodo Möller
2e885232c2
Some error code cleanups (SSL lib. used SSL_R_... codes reserved for alerts)
2006-01-08 19:41:25 +00:00
Dr. Stephen Henson
970d9b3795
Update from HEAD.
2006-01-03 14:20:47 +00:00
Bodo Möller
2f58af0d85
Make sure that after the change from revision 1.256.2.6 (1.261 in HEAD),
...
it's still possible to do a partial build.
2006-01-03 03:04:46 +00:00
Richard Levitte
0ae50f19da
Missing files in the VMS installation
2006-01-02 23:33:06 +00:00
Andy Polyakov
c4ac37361e
util/*.pl update from HEAD.
2006-01-02 14:08:22 +00:00
Andy Polyakov
3152861e81
mkerr.pl update from HEAD.
2006-01-01 18:43:37 +00:00
Bodo Möller
a14afd0804
Rewrite timeout computation in a way that is less prone to overflow.
...
(Problem reported by Peter Sylvester.)
2005-12-30 23:51:57 +00:00
Andy Polyakov
25d5d1a60d
eng_padlock.c update from HEAD.
2005-12-28 16:26:07 +00:00
Andy Polyakov
6ff58b9240
Minor eng_padlock.c update from HEAD.
2005-12-27 21:24:22 +00:00
Andy Polyakov
99237262d4
Missing CFLAG in couple of depend: targets [from HEAD].
...
PR: 1247
Submitted by: Doug Kaufman
2005-12-18 19:02:22 +00:00
Andy Polyakov
29982dfd15
DJGPP-related e_os2.h update from HEAD.
...
PR: 1247
2005-12-18 18:57:07 +00:00
Andy Polyakov
6c4da94687
bio.h update from HEAD.
...
PR: 1252
2005-12-16 21:24:59 +00:00
Andy Polyakov
6986d0e6eb
Fix typos in osf1 shared rules [from HEAD].
...
PR: 1248
2005-12-16 20:52:38 +00:00
Bodo Möller
bc9320452c
update TLS-ECC code
...
Submitted by: Douglas Stebila
2005-12-13 07:41:47 +00:00
Bodo Möller
23d43aae27
add missing entry (the corresponding code *is* in the 0.9.8 branch,
...
and both the code and the CHANGES entry are in HEAD)
2005-12-13 07:32:10 +00:00
Bodo Möller
de71735e7c
comment
2005-12-13 05:46:30 +00:00
Andy Polyakov
05decf3638
Perlasm update from HEAD addressing build problems on non-ELF platforms
...
after http://cvs.openssl.org/chngview?cn=14661 .
2005-12-06 18:47:18 +00:00
Dr. Stephen Henson
95bffa1a1f
Fix from HEAD.
2005-12-06 13:37:56 +00:00
Dr. Stephen Henson
974d52fdb8
Fix from HEAD.
2005-12-05 17:32:22 +00:00
Dr. Stephen Henson
7614f0e55e
Various zlib related fixes and enhancements.
2005-12-05 13:34:56 +00:00
Dr. Stephen Henson
0632284f79
Fix warning.
2005-12-04 21:34:51 +00:00
Dr. Stephen Henson
ad4a89f070
Fix from HEAD.
2005-12-03 17:47:20 +00:00
Andy Polyakov
6104c49f31
x86cpuid.pl update [from HEAD].
2005-12-03 11:57:36 +00:00
Dr. Stephen Henson
07fc760999
Update ordinals.
2005-12-02 13:56:04 +00:00
Dr. Stephen Henson
cf6bc84148
Update from HEAD.
2005-12-02 13:47:02 +00:00
Dr. Stephen Henson
36d51bea93
Update from HEAD.
2005-12-02 13:29:28 +00:00
Dr. Stephen Henson
fc12885b1b
Fix from HEAD.
2005-11-30 19:25:31 +00:00
Ben Laurie
ec7033745e
Fix memory leak.
2005-11-25 14:26:12 +00:00
Ben Laurie
9e31e63147
Improve documentation.
2005-11-25 13:46:41 +00:00
Dr. Stephen Henson
feef17fd88
Update from HEAD.
2005-11-20 13:26:57 +00:00
Andy Polyakov
817f011191
Keep shutting up VC8 [from HEAD].
...
PR: 1243
2005-11-15 08:09:04 +00:00
Andy Polyakov
98c045cf3a
crypto/bn/asm/sparcv8plus.S update from HEAD.
2005-11-15 08:05:19 +00:00
Dr. Stephen Henson
8860f3a82a
Fix possible race condition.
2005-11-11 12:59:39 +00:00
Andy Polyakov
43e9f4ca2f
crypto/Makefile update from HEAD.
...
PR: 1236
2005-11-09 20:47:40 +00:00
Andy Polyakov
586f843c76
FAQ update from HEAD.
2005-11-09 19:47:40 +00:00
Andy Polyakov
7cfc9e6d8c
AIX -blibpath is not accumulative, one apparently has to specify even
...
self-obvious /usr/lib:/lib.
PR: 1239
2005-11-09 17:28:22 +00:00
Andy Polyakov
4952ed0fa4
FAQ and ms/applink.c update from HEAD.
2005-11-09 17:12:42 +00:00
Dr. Stephen Henson
a084185d76
Document VC++ build changes.
2005-11-07 00:32:47 +00:00
Dr. Stephen Henson
914b80d276
Update from head.
2005-11-07 00:23:37 +00:00
Dr. Stephen Henson
282557da52
Include a "test" target do (hopefully) do something sensible.
2005-11-07 00:08:55 +00:00
Dr. Stephen Henson
5f649d583c
Fix "install" target for Win32 to install most utilities in a sensible location.
2005-11-07 00:05:27 +00:00
Dr. Stephen Henson
b98225ebf5
"copy" perl script to avoid problems with Win32 builtin copy command.
2005-11-06 17:54:51 +00:00
Dr. Stephen Henson
abb0c2bba4
Update VC++ build engine to include supported engine DLL builds.
2005-11-06 17:49:00 +00:00
Nils Larsch
b3bdb474a9
fix typo, pointed out by Patrick Guio
2005-11-02 22:19:23 +00:00
Nils Larsch
d796e6acb7
compile sstrsep only if HAVE_FORK is defined; patch supplied by Johan Gill <johane@lysator.liu.se>
2005-11-02 22:13:23 +00:00
Richard Levitte
d3afc92bc9
Document it
2005-11-01 07:53:43 +00:00
Richard Levitte
35a97b4b7b
Fix numerous bugs in the Win32 path splitter
2005-11-01 07:49:47 +00:00
Richard Levitte
f59463aad3
A slight change in documentation that makes it so much more comprehensible
2005-11-01 04:56:29 +00:00
Dr. Stephen Henson
ed656499c4
Fix from HEAD.
2005-10-29 12:52:10 +00:00
Andy Polyakov
63533e9a22
Add -install_name to link_a.darwin rule [from HEAD].
...
PR: 1218
2005-10-28 08:11:51 +00:00
Bodo Möller
20f7053254
harmonize with 0.9.7-stable CHANGES
2005-10-26 19:26:15 +00:00
Andy Polyakov
8b8ef74d39
Fix typos in macos x targets [from HEAD].
2005-10-25 22:08:11 +00:00
Andy Polyakov
3bfe024d8d
Fix install problems on MacOS X and HP-UX.
...
PR: 1218,1185
2005-10-25 22:03:36 +00:00
Andy Polyakov
063333e03d
Add rudimentary aix64-gcc target [from HEAD].
...
Submitted by: Stefan Neis
2005-10-19 18:47:31 +00:00
Andy Polyakov
0a0918ff38
util/pl/OS2-EMX.pl sync [from HEAD].
...
Submitted by: Stefan Neis, Brian Havard
2005-10-19 18:38:09 +00:00
Mark J. Cox
802c014656
One time CAN->CVE change
2005-10-19 10:51:36 +00:00
Richard Levitte
860841794d
Add in CHANGES for 0.9.7i.
2005-10-15 04:27:05 +00:00
Andy Polyakov
2a87c31237
Broaden compatibility amount Win32 headers even further [from HEAD].
2005-10-13 19:07:28 +00:00
Richard Levitte
da5f7fdcee
The version text wasn't bumoed after tagging...
2005-10-11 19:26:41 +00:00
Mark J. Cox
d8b408b1de
Bump after tag
2005-10-11 10:21:22 +00:00
Mark J. Cox
64932f9e4a
Add fixes for CAN-2005-2969
...
Bump release ready for OpenSSL_0_9_8a tag
2005-10-11 10:16:21 +00:00
Richard Levitte
5a20efcf17
Synchronise with Unixly make.
2005-10-11 10:15:56 +00:00
Dr. Stephen Henson
2a2857bbc8
Update ordinals
2005-10-10 00:37:36 +00:00
Dr. Stephen Henson
1bef284ab1
Update from HEAD.
2005-10-05 17:53:40 +00:00
Andy Polyakov
d8d0b6434f
Documentation update from HEAD.
...
PR: 1160
2005-10-04 06:35:14 +00:00
Dr. Stephen Henson
416b6fd115
Make OPENSSL_NO_COMP work on Win32.
2005-10-02 12:26:06 +00:00
Dr. Stephen Henson
f685cf920b
As HEAD.
2005-10-01 00:41:24 +00:00
Dr. Stephen Henson
54f51116b2
Update from HEAD.
2005-09-30 23:38:20 +00:00
Nils Larsch
b0d90958fc
successfully updating the db shouldn't result in an error message
2005-09-30 16:47:15 +00:00
Andy Polyakov
049ced2c2f
Fix typo [from HEAD].
2005-09-29 20:18:05 +00:00
Andy Polyakov
844b0e603b
Fix missing applink call [from HEAD].
2005-09-29 16:59:19 +00:00
Richard Levitte
75ef751e23
Change a comment so it corresponds to reality. Put back a character that
...
was previously replaced with a NUL for parsing purposes. This seems to
fix a very weird parsing bug involving two variable references in the same
value.
2005-09-28 18:03:06 +00:00
Dr. Stephen Henson
c4f6e56fca
Avoid unused variable warnings.
2005-09-26 02:40:18 +00:00
Nils Larsch
ff86d3d894
protect BN_BLINDING_invert with a write lock and BN_BLINDING_convert
...
with a read lock
Submitted by: Leandro Santi <lesanti@fiuba7504.com.ar >
2005-09-22 23:32:49 +00:00
Andy Polyakov
85b4c03e33
Fix SunOS 4 building issue [from HEAD].
...
PR: 1196
Submitted by: Russel Ruby
2005-09-22 20:39:25 +00:00
Andy Polyakov
efaf159af6
Broaden compatibility among Windows SDK versions [from HEAD].
2005-09-22 20:29:35 +00:00
Dr. Stephen Henson
daa657fb78
Fix from HEAD.
2005-09-21 00:57:28 +00:00
Andy Polyakov
4685663d73
Latest MSVCR80 doesn't tolerate unsupported signal numbers [from HEAD].
...
PR: 1205
2005-09-20 20:32:36 +00:00
Andy Polyakov
ed1f716022
"Overload" SunOS 4.x memcmp, which ruins ASN1_OBJECT table lookups [from HEAD].
...
PR: 1196
Submitted by: Russel Ruby
2005-09-20 20:25:17 +00:00
Andy Polyakov
d3205a4898
Fix typo [from HEAD].
...
PR: 1198
2005-09-20 12:16:30 +00:00
Andy Polyakov
86731ce2c6
Refine AIX support [from HEAD].
...
PR: 1198
2005-09-20 07:44:11 +00:00
Andy Polyakov
1399309624
BC-32.pl updates [from HEAD].
...
Submitted by: Old Wolf, Jon Bright
2005-09-20 07:09:29 +00:00
Andy Polyakov
cb59297438
Proper solution to nasm compilation problems in Borland context.
2005-09-20 06:15:18 +00:00
Andy Polyakov
5824f6bc06
./PROBLEMS update from HEAD.
...
PR: 1176 [and others]
2005-09-19 14:58:57 +00:00
Andy Polyakov
5ce7090d54
Missing spaces in VC-32.pl.
2005-09-19 14:43:32 +00:00
Andy Polyakov
7306ab29bc
bswapl usage should be masked by I386_ONLY.
...
PR: 1195
2005-09-19 13:17:07 +00:00
Dr. Stephen Henson
3a8b42f291
Don't always use issuer serial version of AKID.
2005-09-16 12:20:24 +00:00
Nils Larsch
e4c25383f2
fix typos
...
PR: 1201
2005-09-15 19:12:01 +00:00
Nils Larsch
e734dcc2c7
bugfix: register engine as default engine in ENGINE_set_default_DSA
...
Submitted by: Jonathon Green
2005-09-09 07:52:18 +00:00
Dr. Stephen Henson
0fce007b8e
Add two extra verify flags functions.
2005-09-02 22:48:21 +00:00
Nils Larsch
5a053a3a07
fix typo in sbgp names
...
PR: 1194
2005-09-02 21:22:50 +00:00
Nils Larsch
3b2ba5f7fb
don't try to load cert/key when the "-nocert" option is set
2005-09-02 12:27:02 +00:00
Nils Larsch
7f622f6c04
fix warnings when building openssl with (gcc 3.3.1):
...
-Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar
-Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts
-Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused
-Wno-unused-parameter -Wuninitialized
2005-08-28 23:20:52 +00:00
Ben Laurie
801136bcc2
Fix warnings.
2005-08-27 12:05:23 +00:00
Nils Larsch
3c0e39c539
Keep cipher lists sorted in the source instead of sorting them at
...
runtime, thus removing the need for a lock. Add a test to ssltest
to verify that the cipher lists are sorted.
2005-08-25 07:43:04 +00:00
Bodo Möller
19fddebf0e
recent DH change does not avoid *all* possible small-subgroup attacks;
...
let's be clear about that
2005-08-23 06:55:45 +00:00
Bodo Möller
9eaf7e14c7
avoid potential spurious BN_free()
...
Submitted by: David Heine <dlheine@suif.Stanford.EDU >
2005-08-23 04:14:55 +00:00
Ben Laurie
0e441bc103
Missing arguments.
2005-08-22 04:59:27 +00:00
Nils Larsch
cd9911fdf8
initialize cipher/digest methods table in SSL_library_init() and hence remove the need for a lock
2005-08-21 23:06:51 +00:00
Ben Laurie
6086422193
Missed stuff.
2005-08-20 21:30:33 +00:00
Ben Laurie
9ddb11f11c
Avoid weak subgroups in Diffie Hellman.
2005-08-20 18:35:53 +00:00
Andy Polyakov
7a20cabd03
Eliminate reference to removed platform line [from HEAD].
2005-08-11 09:40:30 +00:00
Andy Polyakov
9dc4ca4507
Pedantic polish to ectest.c [from HEAD].
2005-08-11 08:44:34 +00:00
Andy Polyakov
62fea98b4f
Fix typo in WCE section in VC-32.pl [from HEAD].
2005-08-11 08:19:43 +00:00
Andy Polyakov
7ae4eac5b6
INSTALL.WCE update from HEAD.
2005-08-10 08:40:26 +00:00
Andy Polyakov
fcf8ae5e2b
Suppress "deprecated" warnings introduced in VC8 [from HEAD].
...
PR: 1183
2005-08-09 22:45:51 +00:00
Andy Polyakov
55b9a7938b
Add support for more recent WCE SDK.
2005-08-09 22:20:45 +00:00
Nils Larsch
cf1546a60e
a ssl object needs it's own instance of a ecdh key; remove obsolete comment
2005-08-08 19:39:29 +00:00
Nils Larsch
e7eec05af0
fix typo
2005-08-08 19:26:35 +00:00
Andy Polyakov
98e986141b
Windows CE update from HEAD.
2005-08-07 22:29:58 +00:00
Nils Larsch
d7e35e0371
avoid infinite recursion if dynamic engine isn't loaded
...
Submitted by: Jonathon Green <jonathon_au@yahoo.com >
2005-08-06 10:34:35 +00:00
Dr. Stephen Henson
222f224664
Initialize SSL_METHOD structures at compile time. This removes the need
...
for locking code. The CRYPTO_LOCK_SSL_METHOD lock is now no longer used.
2005-08-05 23:52:08 +00:00
Nils Larsch
62b6cd007f
fix potential memory leak + improved error checking
...
PR: 1182
2005-08-05 09:41:24 +00:00
Dr. Stephen Henson
1682e8fb12
Allow PKCS7_decrypt() to work if no cert supplied.
2005-08-04 22:10:05 +00:00
Andy Polyakov
984aefe0e8
3-4 times better RSA/DSA performance on WIN64A target [from HEAD].
2005-08-04 17:42:58 +00:00
Andy Polyakov
2d54cc69c9
WCE update, mostly typos [from HEAD].
2005-08-03 20:04:05 +00:00
Andy Polyakov
2dd8278de8
PIC-ify SPARC assembler in alternative manner to eliminate dependency on
...
OPENSSL_PIC macro [from HEAD].
2005-08-03 10:44:29 +00:00
Andy Polyakov
e0d8ac972e
Abstain from GUI calls in rand_win.c in NT service context [from HEAD].
2005-08-02 22:22:17 +00:00
Andy Polyakov
ec03812fb0
WCE-specific update for VC-32.pl [from HEAD].
2005-08-02 22:21:39 +00:00
Andy Polyakov
93cf2b17bf
WCE-specific fix for cryptlib.c [from HEAD].
2005-08-02 22:21:07 +00:00
Andy Polyakov
77ef1a989d
Keep disclaiming 16-bit support [from HEAD].
2005-08-02 22:20:15 +00:00
Andy Polyakov
423c7ac6c6
Optimize for space on embedded WCE. [from HEAD]
2005-08-02 14:11:04 +00:00
Andy Polyakov
2c368ef148
WCE-specific update from HEAD.
2005-08-02 12:21:35 +00:00
Andy Polyakov
b3c7162fd0
WCE update from HEAD.
2005-08-02 12:03:09 +00:00
Andy Polyakov
67865069eb
Implement complementary LoadLibraryA shim under WCE. [from HEAD]
2005-08-02 11:03:42 +00:00
Andy Polyakov
1896a9be60
Typo in OSF1 platform name.
2005-08-02 10:59:42 +00:00
Andy Polyakov
b5b2c037c1
Eliminate dependency on 3rd party wcedefs.mak [from HEAD].
2005-07-30 19:51:55 +00:00
Andy Polyakov
1957924d51
Fix #if _MSC_VER clause in aes_locl.h [from HEAD].
2005-07-30 19:49:24 +00:00
Nils Larsch
104a66f256
remove unused variable
2005-07-27 20:19:51 +00:00
Nils Larsch
3de6d65ea3
improved error checking and some fixes
...
PR: 1170
Submitted by: Yair Elharrar
Reviewed and edited by: Nils Larsch
2005-07-26 20:55:17 +00:00
Dr. Stephen Henson
fdb0a6e004
Update from head.
2005-07-26 12:46:53 +00:00
Nils Larsch
87b857b6bf
fix BN_mod_word and give a more reasonable return value if an error occurred
2005-07-25 22:55:48 +00:00
Dr. Stephen Henson
b18165301d
Update from head.
2005-07-25 18:40:09 +00:00
Andy Polyakov
097e65944a
Visual C specific update from HEAD.
2005-07-24 21:55:41 +00:00
Nils Larsch
0cdd29ea78
Remove BN_CTX_DEBUG from the normal debug build flags (it's too noisy
...
to be really useful for 'normal' debugging).
Disable EC_GROUP_precompute_mult for the nist curves in ectest.c as
it causes problems when libefence is used.
2005-07-23 08:46:41 +00:00
Nils Larsch
7dec24688f
set correct bn->top value
2005-07-21 22:38:16 +00:00
Nils Larsch
e62fa54811
the final byte of pkcs7 padded plaintext can never be 0
...
Submitted by: K S Sreeram <sreeram@tachyontech.net >
2005-07-20 22:02:25 +00:00
Andy Polyakov
1614174e79
Bug-fix from HEAD.
...
PR: 1130
2005-07-19 23:10:04 +00:00
Nils Larsch
f95d097359
fix typo
2005-07-17 21:05:11 +00:00
Nils Larsch
3c6ab9aad9
bugfix: 0 - w (w != 0) is actually negative
2005-07-17 16:08:21 +00:00
Nils Larsch
4913b88f70
make
...
./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa]
make all test
work again (+ make update)
PR: 1159
2005-07-16 11:13:10 +00:00
Nils Larsch
273157153c
add missing entries for "-multivalue-rdn" and "-utf8" in ca.pod and req.pod
...
PR: 1158
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de >
2005-07-15 09:50:38 +00:00
Nils Larsch
fb5156ff38
the second argument to d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const
...
PR: 1156
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de >
2005-07-13 21:58:40 +00:00
Andy Polyakov
2a824402f3
DES CFB bug-fix from HEAD.
2005-07-08 16:48:34 +00:00
Richard Levitte
86a249fe4f
On case insensitive systems, 'install' gets mixed up with the existing file
...
'INSTALL', so we need to put some force into installing
2005-07-08 10:13:25 +00:00
Richard Levitte
6cae8221c9
Oops, the release date in the FAQ was wrong.
...
I'm not retagging it, but I made the same change in the distribution
directory, so the distribution will have a corrected FAQ.
2005-07-05 19:20:11 +00:00
Richard Levitte
750cb3d248
Now that 0.9.8 has been tagged, it's time to move on.
2005-07-05 19:11:56 +00:00
Richard Levitte
f254b540b8
Time to release OpenSSL 0.9.8.
...
The tag will be OpenSSL_0_9_8.
2005-07-05 18:49:43 +00:00
Richard Levitte
11024f252e
make update
2005-07-05 18:41:28 +00:00
Richard Levitte
9d5cba17ba
We don't support no-engine for now. It's a lot more work than one
...
might imagine.
2005-07-05 18:32:37 +00:00
Richard Levitte
1d01c9d43d
Last additions to the release documentation.
2005-07-05 18:32:05 +00:00
Andy Polyakov
e32ea81876
Mention Win64 support in CHANGES and throw in building instructions.
2005-07-05 10:53:13 +00:00
Richard Levitte
ef8a18f49b
Add libcrypto.pc and libssl.pc, and install them along with openssl.pc.
...
PR: 1143
2005-07-05 05:14:21 +00:00
Andy Polyakov
b914049c53
Get rid of "unary minus applied to unsigned type" warning.
2005-07-04 23:30:31 +00:00
Andy Polyakov
dabaea8048
To secure Win64 API I'm throwing in this minimalistic Win64 support.
2005-07-04 23:24:12 +00:00
Dr. Stephen Henson
09c1a425a9
Add utf8 options to ca utility.
...
PR:1109
2005-07-04 23:04:28 +00:00
Richard Levitte
8c6fed007f
The private key should never have ended up in newreq.pem.
...
Now, it ends up in newkey.pem instead.
2005-07-04 21:44:22 +00:00
Andy Polyakov
2e39604021
Fix bugs in bug-fix to x509/by_dir.c [from HEAD].
...
PR: 1131
2005-07-03 13:15:53 +00:00
Andy Polyakov
fbfb947b21
Bugfix for bn_div_words PPC assembler implementation [from HEAD].
2005-07-03 09:23:57 +00:00
Nils Larsch
8b963f4ba4
initialize newly allocated data
...
PR: 1145
2005-07-01 16:15:48 +00:00
Dr. Stephen Henson
9152f07eaf
Check PKCS7 structures in PKCS#12 files are of type data.
2005-06-30 11:34:27 +00:00
Richard Levitte
35f70c09f5
Actually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
...
SIXTY_FOUR_BIT_LONG
2005-06-29 18:48:12 +00:00
Richard Levitte
cc4cba7b5d
asn1parse doesn't support any TXT format, so let's stop pretending
...
it does.
2005-06-28 15:44:18 +00:00
Nils Larsch
6b695fefd0
remove OPENSSL_NO_ASM dependency
2005-06-28 15:03:58 +00:00
Ben Laurie
910d193029
Did you know it was wrong to use a char as an array index?
2005-06-28 13:27:53 +00:00
Ben Laurie
f18dd687c8
Nasty fix for another warning, but all I have the patience for right now.
2005-06-28 13:07:46 +00:00
Ben Laurie
50d5376698
Replace missing character deleted in error.
2005-06-28 12:53:33 +00:00
Ben Laurie
5b9b62a7db
Fix warning.
2005-06-28 12:41:35 +00:00
Ben Laurie
c0e29e5b01
Fix warnings.
2005-06-28 12:32:48 +00:00
Andy Polyakov
2f03129d46
bn.h update from HEAD.
2005-06-28 11:52:52 +00:00
Andy Polyakov
b44e2d3416
x86nasm.pl update from HEAD.
2005-06-28 11:30:12 +00:00
Andy Polyakov
564915681c
PROBLEMS update from HEAD.
2005-06-28 10:00:08 +00:00
Andy Polyakov
a24b7eeb87
Makefile updates from HEAD [see http://cvs.openssl.org/chngview?cn=14099
...
for further details].
2005-06-28 09:10:19 +00:00
Richard Levitte
0215c01861
There are a few showstoppers. Unfortunately, I only remember one. Please fill this in.
2005-06-28 05:55:24 +00:00
Andy Polyakov
beae6324e5
Eliminate dependency on UNICODE macro.
2005-06-27 21:21:12 +00:00
Andy Polyakov
71a61c573e
Fix typos in apps/apps.c.
2005-06-27 15:58:55 +00:00
Dr. Stephen Henson
6b3b632767
Sync libeay.num
2005-06-27 00:43:22 +00:00
Andy Polyakov
2a2fa04b7b
Unify some SCO targets [from HEAD].
2005-06-26 18:10:20 +00:00
Andy Polyakov
79b81d194b
Configure/TABLE update from HEAD.
2005-06-26 17:18:45 +00:00
Andy Polyakov
ef04c9aff8
IA64 RC4 update from HEAD [see commentary in HEAD for details].
...
PR: 1114
2005-06-26 16:14:22 +00:00
Richard Levitte
7f85197c10
Further successes with the latest snapshot.
2005-06-24 22:23:54 +00:00
Andy Polyakov
ff0bfe64af
Replace emms with finit in x86cpuid.
2005-06-24 16:34:46 +00:00
Dr. Stephen Henson
44b3a3a5e6
Add Argen root CAs.
2005-06-24 10:54:36 +00:00
Richard Levitte
7e3033aa93
Someone did some cutting and pasting and didn't quite finish the job :-).
...
Notified by Steffen Pankratz <kratz00@gmx.de >
2005-06-24 05:13:18 +00:00
Richard Levitte
8bdbf50772
Wrap the inclusion of openssl/engine.h with a protective check for
...
the absence of OPENSSL_NO_ENGINE.
2005-06-23 22:08:41 +00:00
Richard Levitte
ec33a76641
Wrap the inclusion of openssl/engine.h with a protective check for
...
the absence of OPENSSL_NO_ENGINE.
PR: 1123
2005-06-23 21:57:37 +00:00
Richard Levitte
00ce9376c7
Do not defined des_crypt(), since it clashes with Solaris crypt.h.
...
PR: 1125
2005-06-23 21:53:52 +00:00
Richard Levitte
46e7a9797e
Initialise dir to avoid a compiler warning.
2005-06-23 21:49:18 +00:00
Richard Levitte
7006c4ac88
The NAME section of a man page is required to have a dash followed by a
...
short description, at least according to pod2man.
PR: 1127
2005-06-23 21:45:32 +00:00
Richard Levitte
a50a2126cf
DCC doesn't like argument names in returned function pointers.
...
PR: 1122
2005-06-23 21:35:20 +00:00
Richard Levitte
07f7b4b470
Update for Stratus VOS.
...
PR: 1130
2005-06-23 21:27:13 +00:00
Richard Levitte
7e726e42f4
Configure update for Stratus VOS.
...
PR: 1129
2005-06-23 21:20:31 +00:00
Richard Levitte
40ba0257de
Change dir_ctrl to check for the environment variable before using the default
...
directory instead of the other way around.
PR: 1131
2005-06-23 21:14:10 +00:00
Richard Levitte
3fbd5f9fea
Strip the engine shared libraries as well.
...
Submitted by Corinna Vinschen <vinschen@redhat.com >
2005-06-23 20:55:35 +00:00
Andy Polyakov
57b2246d35
Darwin specific update from HEAD.
2005-06-23 20:47:54 +00:00
Andy Polyakov
2a5b22d6f9
Missed -c in IRIX rule.
2005-06-23 20:38:19 +00:00
Andy Polyakov
f247dc7522
IRIX upadte from HEAD.
2005-06-23 16:47:21 +00:00
Andy Polyakov
e6531253e2
HP-UX specific update to Makefile.shared.
2005-06-23 15:39:19 +00:00
Richard Levitte
c938babf00
A number of architectures noted so far.
2005-06-23 06:31:08 +00:00
Andy Polyakov
bf3900020f
no-asm didn't prevent make from compiling assembler modules [from HEAD].
2005-06-22 23:50:07 +00:00
Dr. Stephen Henson
586df3bb7f
Typo.
2005-06-22 18:54:05 +00:00
Dr. Stephen Henson
c4b13b0268
Reorder extensions to account for synced OID table.
2005-06-22 17:28:55 +00:00
Dr. Stephen Henson
daef72316f
Sync OID database with 0.9.7.
2005-06-22 17:26:24 +00:00
Dr. Stephen Henson
1f93c96e63
Fix extension ordering.
2005-06-22 13:25:38 +00:00
Richard Levitte
8aa9c79276
Tagging is done, we're moving on.
2005-06-21 05:56:26 +00:00
Richard Levitte
09a7f2e734
Prepare for a release of 0.9.8-beta6. This is supposed to be the
...
final beta.
The tag will be OpenSSL_0_9_8-beta6
2005-06-21 05:49:47 +00:00
Richard Levitte
b2d27e376d
Some new news.
2005-06-21 05:46:41 +00:00
Richard Levitte
644c4af11e
make update
2005-06-21 05:28:47 +00:00
Richard Levitte
ca3dc3a0a0
DEVRANDOM, not DEBRANDOM...
2005-06-21 04:41:31 +00:00
Richard Levitte
2b975dfd5b
Do no try to pretend we're at the end of anything unless we're at the end
...
of a 4-character block.
2005-06-20 22:11:28 +00:00
Richard Levitte
0932892278
Check for 'usage' and 'Usage'.
...
Submitted by Tim Rice <tim@multitalents.net >. His comment is:
I noticed "make report" didn't show the cc version on most of
my System V platforms. This patch corrects this.
2005-06-20 20:49:05 +00:00
Andy Polyakov
fe0b3d98c2
Refine ELF detection on BSD platforms.
2005-06-20 17:36:19 +00:00
Andy Polyakov
8d56c8b51c
Solaris x86_64 /usr/ccs/bin/as support.
2005-06-20 14:50:26 +00:00
Richard Levitte
d8e6409336
Add crypto/bn/bn_prime.h to the collection of generated files. In the
...
update target, place the dependency on depend last, so all necessary files
are generated *before* the dependencies are figured out.
PR: 1121
2005-06-20 04:29:56 +00:00
Richard Levitte
a4ae746656
With DJGPP, it seems like the return code from grep, even when in the
...
middle of a pipe, is noted. Counter that by forcing a true return code
when the return code has no importance.
PR: 1085
2005-06-19 20:31:32 +00:00
Richard Levitte
331a0a7b9b
Undefine DECRANDOM before redefining it.
...
PR: 1110
2005-06-19 20:20:33 +00:00
Richard Levitte
c630a3e8d6
Add better documentation on how id_function() should be defined and what
...
issues there are.
PR: 1096
2005-06-18 05:52:23 +00:00
Richard Levitte
7435d89edf
Move the definition of DEVRANDOM for DJGPP from Configure to e_os.h.
...
That should solve the issues with propagating it through the Makefiles.
PR: 1110
2005-06-18 04:42:34 +00:00
Richard Levitte
14557c8be4
Only define ZLIB_SHARED if it hasn't already been defined (on the command
...
line, for example).
PR: 1112
2005-06-18 04:32:23 +00:00
Richard Levitte
98b4995bad
Have pod2man.pl accept '=for comment ...' before the '=head1 NAME' line.
...
PR: 1113
2005-06-18 04:27:15 +00:00
Nils Larsch
3000bdcc3a
clear dso pointer in case of an error
...
PR: 816
2005-06-17 21:27:28 +00:00
Nils Larsch
cbe77a6753
update for the cswift engine:
...
- fix the problem described in bug report 825
- fix a segfault when the engine fails to initialize
- let the engine switch to software when keysize > 2048
PR: 825, 826
Submitted by: Frédéric Giudicelli
2005-06-17 20:43:05 +00:00
Richard Levitte
c58a1f76f8
Do not undefine _XOPEN_SOURCE. This is currently experimental, and
...
will be firmed up as soon as it's been verified not to break anything.
2005-06-16 22:19:14 +00:00
Dr. Stephen Henson
ecf2875ebf
Don't strip extensions from header filenames in mk1mf.pl.
2005-06-16 02:16:50 +00:00
Dr. Stephen Henson
ce2c19e357
Update from head.
2005-06-16 02:05:57 +00:00
Richard Levitte
1b1081a3ed
0.9.8-beta5 works on Gentoo/arml but not /armb, and works on Linux AMD64
2005-06-14 05:42:56 +00:00
Richard Levitte
37b200389a
Data about which Cygwin versions 0.9.8-beta5 work on
2005-06-13 17:10:07 +00:00
Richard Levitte
6b5a8f3a22
0.9.8-beta5 works on SuSE 9.3
2005-06-13 17:03:17 +00:00
Richard Levitte
0b18d8b0c7
0.9.8-beta5 works on Cygwin
2005-06-13 17:00:25 +00:00
Nils Larsch
3d187ede47
update FAQ
2005-06-13 08:36:38 +00:00
Richard Levitte
f3b9c34515
0.9.8-beta5 works on VMS/Alpha
2005-06-13 04:17:24 +00:00
Richard Levitte
c923394924
Now that beta5 is tagged, lets continue with beta6.
2005-06-13 03:48:22 +00:00
Richard Levitte
d9dbd24db5
Time to release beta 5.
...
The tag will be OpenSSL_0_9_8-beta5
2005-06-13 03:36:21 +00:00
Richard Levitte
b135819d71
make update
2005-06-13 03:29:04 +00:00
Richard Levitte
cbcbd07da2
Netware patch submitted by Verdon Walker" <VWalker@novell.com> in PR
...
1107. He says:
This is a followup to the NetWare patch that was applied to beta3. It
does the following:
- Fixes a problem in the CLib build with undefined symbols.
- Adds the ability to use BSD sockets as the default for the OpenSSL
socket BIO. NetWare supports 2 flavors of sockets and our Apache
developers need BSD sockets as a configurable option when building
OpenSSL. This adds that for them.
- Updates to the INSTALL.NW file to explain new options.
I have tried very hard to make sure all the changes are in NetWare
specific files or guarded carefully to make sure they only impact
NetWare builds. I have tested the Windows build to make sure it does
not break that since we have made changes to mk1mf.pl.
We are still working the gcc cross compile for NetWare issue and hope
to have a patch for that before beta 6 is released.
2005-06-13 03:21:01 +00:00
Richard Levitte
24f6ab73a7
Show what the offending target was.
...
PR: 1108
2005-06-13 02:38:13 +00:00
Nils Larsch
5e88347e1b
replace the deprecated "-m486" gcc option with "-march=i486"
...
PR: 1049
2005-06-12 10:32:11 +00:00
Nils Larsch
cac0d4ee6f
- let SSL_CTX_set_cipher_list and SSL_set_cipher_list return an
...
error if the cipher list is empty
- fix last commit in ssl_create_cipher_list
- clean up ssl_create_cipher_list
2005-06-10 19:51:16 +00:00
Andy Polyakov
428759b3d4
Allow for dso load by explicit path on HP-UX.
2005-06-09 20:50:44 +00:00
Nils Larsch
898d3ecce0
use "=" instead of "|=", fix typo
2005-06-08 22:20:24 +00:00
Richard Levitte
004f16f6c4
Avoid endless loops. Really, we were using the same variable for two
...
different conditions...
2005-06-08 21:59:54 +00:00
Nils Larsch
4e2a0e58f2
ssl_create_cipher_list should return an error if no cipher could be
...
collected (see SSL_CTX_set_cipher_list manpage). Fix handling of
"cipher1+cipher2" expressions in ssl_cipher_process_rulestr
PR: 836 + 1005
2005-06-08 21:13:52 +00:00
Dr. Stephen Henson
39d29195a7
Update from head.
2005-06-06 22:41:50 +00:00
Andy Polyakov
727c9b8027
Allow BIO_s_file to open and sequentially access files larger than 2GB
...
on affected platforms.
PR: 973
2005-06-06 12:05:12 +00:00
Andy Polyakov
bd4e9b0512
FAQ to mention no-sha512 as option for compilers without support for
...
64-bit integer type [from HEAD].
2005-06-06 09:33:45 +00:00
Richard Levitte
7844ff735f
Pass INSTALL_PREFIX in BUILDENV.
...
PR: 1100
2005-06-06 08:52:32 +00:00
Richard Levitte
49e96badcf
Skipping all tests just because one algorithm is disabled seems a bit harsch.
...
PR: 1089
2005-06-06 08:38:23 +00:00
Andy Polyakov
eb6a81bacc
Change mention of Makefile.ssl to Makefile.
2005-06-06 08:36:31 +00:00
Richard Levitte
6687f12988
Now that tagging is done, we can continue working.
2005-06-06 00:44:49 +00:00
Richard Levitte
fcd12fc0f1
Time to release 0.9.8 beta 4.
...
The tag will be OpenSSL_0_9_8-beta4
2005-06-06 00:39:18 +00:00
Richard Levitte
0fb4d54068
Further change pq_compat.h to generate the flag macros PQ_64BIT_IS_INTEGER
...
and PQ_64BIT_IS_BIGNUM with the values 0 (for false) and 1 (for true),
depending on which is true. Use those flags everywhere else to provide
the correct implementation for handling certain operations in q PQ_64BIT.
2005-06-06 00:32:30 +00:00
Richard Levitte
830a468a23
Document the change and update the release number.
2005-06-05 23:25:51 +00:00
Richard Levitte
af3ca7b4a9
Remove the incorrect installation of '%{openssldir}/lib'.
...
PR: 1074
2005-06-05 23:15:29 +00:00
Richard Levitte
7a6bb17255
Change pq_compat.h to trust the macros defined by bn.h a bit more, and thereby
...
provide better generic support for environments that do not have 64-bit
integers. Among others, this should solve PR 1086
2005-06-05 22:43:08 +00:00
Richard Levitte
bc6d459a6e
gcc 2.95.3 on Ultrix supports long long.
...
PR: 1091
2005-06-05 22:19:34 +00:00
Richard Levitte
ff7f34e353
Correct typo ia64.o -> bn-ia64.o.
...
PR: 1094
2005-06-05 22:09:21 +00:00
Richard Levitte
2e3d79aaec
Add support for the new Intel compiler, icc.
...
Submitted by Keith Thompson <kst@sdsc.edu >
PR: 1095
2005-06-05 22:01:32 +00:00
Richard Levitte
8a41bcc934
Old typo...
...
PR: 1097
2005-06-05 21:55:09 +00:00
Richard Levitte
e2414b41ad
Updated support for NetWare, submitted by Verdon Walker <VWalker@novell.com>.
...
PR: 1098
2005-06-05 21:46:57 +00:00
Andy Polyakov
266958bce7
PROBLEMS to mention workarounds for ULTRIX build problems.
...
PR: 1092
2005-06-05 18:07:47 +00:00
Richard Levitte
bc5354cbf0
The macro THREADS was changed to OPENSSL_THREADS a long time ago.
...
PR: 1096
2005-06-04 08:44:08 +00:00
Dr. Stephen Henson
cc4997843e
Update from head.
2005-06-02 23:17:38 +00:00
Dr. Stephen Henson
ab95eac286
Typo.
2005-06-02 20:30:46 +00:00
Dr. Stephen Henson
1cd76233d1
Update CHANGES.
2005-06-02 20:09:43 +00:00
Andy Polyakov
3d5afc8b83
PSS update [from 0.9.7].
2005-06-02 18:29:21 +00:00
Richard Levitte
d28b7799dd
handshake_write_seq is an unsigned short, so treat it like one
2005-06-02 17:26:17 +00:00
Nils Larsch
b0fb889c29
check return value
2005-06-01 22:35:07 +00:00
Dr. Stephen Henson
460e80bd1d
Update from 0.9.7-stable
2005-06-01 22:14:41 +00:00
Richard Levitte
bc1e96e942
Synchronise yet a little more with the Unixly build
2005-06-01 16:24:20 +00:00
Nils Larsch
7ea61df414
clear error queue on success and return NULL if cert could be read
...
PR: 1088
2005-06-01 08:31:22 +00:00
Nils Larsch
431712293d
fix assertion
...
PR: 1072
2005-05-31 20:38:31 +00:00
Richard Levitte
335ed97263
Synchronise more with the Unix build
2005-05-31 20:28:55 +00:00
Nils Larsch
e00b165e9b
let "make all test" work with "no-aes"
...
PR: 1078
2005-05-31 17:56:17 +00:00
Nils Larsch
5467ddf0e1
include opensslconf.h if OPENSSL_NO_* is used
2005-05-31 17:31:50 +00:00
Andy Polyakov
7a37dd92ed
"Show" more respect to no-sha* config options.
...
PR: 1086
2005-05-31 16:33:43 +00:00
Ben Laurie
d0c11e9d72
Fix warnings.
2005-05-31 13:13:18 +00:00
Andy Polyakov
5ec52fee2c
Mention more GCC bugs in ./PROBLEMS.
2005-05-31 12:39:14 +00:00
Dr. Stephen Henson
5026bc13bb
file fips_rsa_x931g.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2005-05-31 12:38:01 +00:00
Dr. Stephen Henson
c7d27e5247
file fips_rsagtest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:22 +0000
2005-05-31 12:37:59 +00:00
Dr. Stephen Henson
b7d7af7ea9
file bn_x931p.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 22:54:29 +0000
2005-05-31 12:37:57 +00:00
Andy Polyakov
39663d2c40
Missing sparcv8.o rule.
...
PR: 1082
2005-05-31 12:18:15 +00:00
Andy Polyakov
000299a0e6
Fix typo in ./config.
2005-05-31 11:31:07 +00:00
Andy Polyakov
0a47d82b9b
AMD64 OPENSSL_Uplink update.
2005-05-31 11:00:15 +00:00
Nils Larsch
198bcece58
fix warning
2005-05-31 09:55:13 +00:00
Andy Polyakov
053677d124
Improve ELF detection procedure on BSD targets.
...
PR: 1079
2005-05-31 09:32:00 +00:00
Andy Polyakov
804072f014
Zap sco3.
...
Submitted by: Tim Rice
2005-05-31 09:08:17 +00:00
Andy Polyakov
e9429b43ce
Default to no-sse2 no-sha512 on selected platforms.
2005-05-31 09:05:31 +00:00
Richard Levitte
3d37d5e24a
Forgottent make update. These files will be retagged.
2005-05-30 23:20:32 +00:00
Richard Levitte
2728a1b4f3
Forgottent needed changed. This file will be retagged.
2005-05-30 23:19:11 +00:00
Richard Levitte
adb040d4cb
Tagging done, moving up to next beta in development.
2005-05-30 23:07:30 +00:00
Richard Levitte
479d7934c0
Not quite right...
2005-05-30 22:59:22 +00:00
Richard Levitte
22d1acd5ac
Time to release the next beta (a few days late, sorry about that).
...
The tag will be OpenSSL_0_9_8-beta3
2005-05-30 22:56:49 +00:00
Richard Levitte
b257c152c6
A couple more things were added.
2005-05-30 22:51:05 +00:00
Richard Levitte
77b97ee0d7
DJGPP changes. Contributed by Doug Kaufman <dkaufman@rahul.net>
2005-05-30 22:37:41 +00:00
Richard Levitte
e2ac4732cd
pqueue and dtls uses 64-bit values. Unfortunately, OpenSSL doesn't
...
have a uniform representation for those over all architectures, so a
little bit of hackery is needed.
Contributed by nagendra modadugu <nagendra@cs.stanford.edu >
2005-05-30 22:34:28 +00:00
Richard Levitte
e8f665b495
Synchronise with Unixly build
2005-05-30 22:26:23 +00:00
Richard Levitte
55f3ef29ea
Change all relevant occurences of 'ncipher' to 'chil'. That's what nCipher always wanted...
2005-05-30 05:17:07 +00:00
Dr. Stephen Henson
c2d78c9623
Copy ordinals from 0.9.7 and update.
2005-05-30 00:28:38 +00:00
Geoff Thorpe
a4578a5413
Change the source and output paths for 'chil' and '4758cca' engines so that
...
dynamic loading is consistent with respect to engine ids.
2005-05-29 19:16:26 +00:00
cvs2svn
e884fcf785
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_8-stable'.
2005-05-29 19:14:22 +00:00
Geoff Thorpe
a2c32e2d7f
Change the source and output paths for 'chil' and '4758cca' engines so that
...
dynamic loading is consistent with respect to engine ids.
2005-05-29 19:14:21 +00:00
Richard Levitte
80b168a5a9
We have some source with \r\n as line ends. DEC C informs about that,
...
and I really can't be bothered...
2005-05-29 12:13:51 +00:00
Richard Levitte
e96025755d
We have some source with \r\n as line ends. DEC C informs about that,
...
and I really can't be bothered...
2005-05-29 12:13:20 +00:00
Richard Levitte
9426364be9
Typo
2005-05-29 12:11:50 +00:00
Richard Levitte
c9028b0ab5
Typo
2005-05-29 11:26:56 +00:00
Dr. Stephen Henson
b4d2858f95
Add PSS prototype to rsa.h
2005-05-28 20:50:11 +00:00
Dr. Stephen Henson
dea446d995
Update from 0.9.7-stable branch.
2005-05-28 20:49:09 +00:00
cvs2svn
5cd94f9e9d
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_8-stable'.
2005-05-28 20:44:38 +00:00
Dr. Stephen Henson
429168e7ee
Add pss/x931 files.
2005-05-28 20:44:37 +00:00
Dr. Stephen Henson
499fca2db3
Update from 0.9.7-stable. Also repatch and rebuild error codes.
2005-05-28 20:44:02 +00:00
Bodo Möller
cad811fc41
Use BN_with_flags() in a cleaner way.
2005-05-27 15:39:24 +00:00
Bodo Möller
a28a5d9c62
Use BN_with_flags() in a cleaner way.
2005-05-27 15:38:53 +00:00
Dr. Stephen Henson
3f791ca818
Assing check_{cert,crl}_time to 'ok' variable so it returns errors on
...
expiry.
2005-05-27 13:19:25 +00:00
Dr. Stephen Henson
69f6a9f007
file fips_standalone_sha1.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:23 +0000
2005-05-26 21:29:08 +00:00
Dr. Stephen Henson
4eeee0c59f
file fips_shatest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:23 +0000
2005-05-26 21:29:06 +00:00
Dr. Stephen Henson
a5afa6c95f
file fips_sha1_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:23 +0000
2005-05-26 21:29:04 +00:00
Dr. Stephen Henson
625dacb93d
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:23 +0000
2005-05-26 21:29:02 +00:00
Dr. Stephen Henson
62e9c2e091
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:23 +0000
2005-05-26 21:29:00 +00:00
Bodo Möller
e4106a4e24
make sure DSA signing exponentiations really are constant-time
2005-05-26 04:40:57 +00:00
Bodo Möller
0ebfcc8f92
make sure DSA signing exponentiations really are constant-time
2005-05-26 04:40:52 +00:00
Bodo Möller
c61f571ce0
check BN_copy() return value
2005-05-26 04:30:49 +00:00
Bodo Möller
a506b8c7dd
check BN_copy() return value
2005-05-26 04:30:48 +00:00
Andy Polyakov
e5cd536894
Some assemblers are too rudimentary to understand dynamic labels.
2005-05-25 21:37:18 +00:00
Geoff Thorpe
60192e96b8
Handle differences between engine IDs and their dynamic library names (and
...
source files, for that matter) by tolerating the alternatives. It would be
preferable to also change the generated shared library names, but that will
be taken up separately.
2005-05-25 02:54:28 +00:00
Geoff Thorpe
629ea39a88
Handle differences between engine IDs and their dynamic library names (and
...
source files, for that matter) by tolerating the alternatives. It would be
preferable to also change the generated shared library names, but that will
be taken up separately.
2005-05-25 02:52:44 +00:00
Richard Levitte
7d9e1321c7
Forgot to change the version number itself.
2005-05-24 03:57:12 +00:00
Richard Levitte
83af7422a0
Tagging is done, we continue on beta3, which is planned to be released
...
on Sunday May 29th.
2005-05-24 03:50:30 +00:00
Richard Levitte
ce8945f35c
Time to release the next beta.
...
The tag will be OpenSSL_0_9_8-beta2.
2005-05-24 03:42:49 +00:00
Richard Levitte
dd890f0776
make update
2005-05-24 03:39:37 +00:00
Richard Levitte
af4ac437ab
It seems like mkdef.pl couldn't quite understand that #ifdef OPENSSL_NO_SHA512
...
was still active when it came down to the functions. mkdef.pl should really
be corrected, but that'll be another day...
2005-05-24 03:39:10 +00:00
Richard Levitte
85991994df
It seems like mkdef.pl couldn't quite understand that #ifdef OPENSSL_NO_SHA512
...
was still active when it came down to the functions. mkdef.pl should really
be corrected, but that'll be another day...
2005-05-24 03:39:08 +00:00
Richard Levitte
607585fdaf
Typo correction
2005-05-24 03:27:57 +00:00
Richard Levitte
b325518f45
Typo correction
2005-05-24 03:27:15 +00:00
Richard Levitte
2f596aeef5
DEC C complains about bad subscript, but we know better, so let's shut it up.
2005-05-24 03:22:56 +00:00
Richard Levitte
b172dec864
DEC C complains about bad subscript, but we know better, so let's shut it up.
2005-05-24 03:22:53 +00:00
Dr. Stephen Henson
69762c75fa
Fix WIN32+KRB5 issues.
2005-05-23 00:32:55 +00:00
Andy Polyakov
61391e2314
Be more consistent with OPENSSL_NO_SHA256.
2005-05-22 10:27:59 +00:00
Andy Polyakov
36b29660ce
Be more consistent with OPENSSL_NO_SHA256.
2005-05-22 10:26:47 +00:00
Andy Polyakov
4976983f30
Disseminate BUILDENV even further.
2005-05-22 09:13:30 +00:00
Andy Polyakov
4b23506594
OPENSSL_NO_SHA512 to mask even SHA512_CTX declaration. This is done to
...
make no-sha512 more effective on platforms, which don't support 64-bit
integer type of *any* kind.
2005-05-22 08:55:15 +00:00
Andy Polyakov
31e4ad25ba
OPENSSL_NO_SHA512 to mask even SHA512_CTX declaration. This is done to
...
make no-sha512 more effective on platforms, which don't support 64-bit
integer type of *any* kind.
2005-05-22 08:52:12 +00:00
Andy Polyakov
225f4daf15
Still SEGV trouble in .init segment under Solaris x86...
2005-05-21 17:51:12 +00:00
Andy Polyakov
82d3dda8a1
Still SEGV trouble in .init segment under Solaris x86...
2005-05-21 17:49:10 +00:00
Richard Levitte
b9927cfa2d
When _XOPEN_SOURCE is defined, make sure it's defined to 500. Required in
...
http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html .
Notified by David Wolfe <dwolfe5272@yahoo.com >
2005-05-21 17:39:53 +00:00
Richard Levitte
fe8bf9560d
When _XOPEN_SOURCE is defined, make sure it's defined to 500. Required in
...
http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html .
Notified by David Wolfe <dwolfe5272@yahoo.com >
2005-05-21 17:39:43 +00:00
Andy Polyakov
af6cafc603
Default to no-sse2 on selected platforms.
2005-05-21 16:52:30 +00:00
Andy Polyakov
e4c9b85e65
Default to no-sse2 on selected platforms.
2005-05-21 16:50:27 +00:00
Richard Levitte
447aa49007
Patches for Cygwin, provided by Corinna Vinschen <vinschen@redhat.com>
2005-05-21 16:41:34 +00:00
Richard Levitte
15da07d436
Patches for Cygwin, provided by Corinna Vinschen <vinschen@redhat.com>
2005-05-21 16:37:41 +00:00
Ben Laurie
fe977f7512
Propagate BUILDENV into subdirectories.
2005-05-21 16:13:36 +00:00
Andy Polyakov
886ed3544b
Move _WIN32_WINNT definition from command line to e_os.h [from HEAD].
2005-05-21 13:19:46 +00:00
Andy Polyakov
e476f94212
Move _WIN32_WINNT definition from command line to e_os.h. The change is
...
inspired by VC6 failure report. In addition abstain from taking screen
snapshots when running in NT service context.
2005-05-21 13:19:27 +00:00
Nils Larsch
aff2922f9a
fix typo, add prototype
2005-05-20 23:01:31 +00:00
Nils Larsch
bbbd67108f
fix typo, add prototype
2005-05-20 22:55:10 +00:00
Nils Larsch
f32e0035a3
fix potential memory leak
...
Submitted by: Goetz Babin-Ebell
2005-05-19 22:11:22 +00:00
Nils Larsch
7f246621b5
fix potential memory leak
...
Submitted by: Goetz Babin-Ebell
2005-05-19 22:10:40 +00:00
Nils Larsch
b67d988915
update ecdsa doc
2005-05-19 20:54:30 +00:00
Nils Larsch
7b1e7706d8
update ecdsa doc
2005-05-19 20:54:22 +00:00
Andy Polyakov
cd74dda72a
FAQ to mention no-sse2.
2005-05-19 19:57:27 +00:00
Andy Polyakov
851e31ff07
FAQ to mention no-sse2.
2005-05-19 19:54:49 +00:00
Richard Levitte
032bb2a2c5
Tagging of 0.9.8-beta1 is done, time to update the version numbers to
...
the next beta (beta2).
2005-05-19 19:45:53 +00:00
Richard Levitte
decc9ffc18
Update status information
2005-05-19 19:43:28 +00:00
Richard Levitte
fa96ed06d2
Update version information.
2005-05-19 19:42:04 +00:00
Richard Levitte
43133041c9
'make update' with a default configuration.
2005-05-19 19:31:53 +00:00
Richard Levitte
e0ee5ea962
Added news items for OpenSSL 0.9.8.
2005-05-19 19:12:36 +00:00
Nils Larsch
3f4657d131
fix "dereferencing type-punned pointer will break strict-aliasing rules"
...
warning when using gcc 4.0
2005-05-19 12:01:51 +00:00
Nils Larsch
f5634286a3
fix "dereferencing type-punned pointer will break strict-aliasing rules"
...
warning when using gcc 4.0
2005-05-19 11:59:35 +00:00
Dr. Stephen Henson
97d37c1c1e
Recognize new macros.
2005-05-19 11:51:43 +00:00
Andy Polyakov
739b139cb2
Propogate BUILDENV even in ./engines.
2005-05-19 02:13:10 +00:00
Andy Polyakov
0bc9920ad4
Stringify substitutions [some shells require it].
2005-05-19 02:08:01 +00:00
Andy Polyakov
3f516ce837
SysV make [or least some of them] don't propogate command line macros to
...
recursively called make. So let's pass down BUILDENV as value too...
2005-05-19 01:48:46 +00:00
Nils Larsch
67ffa18cce
make the type parameter const when ID2_OF_const() is used
2005-05-18 22:30:38 +00:00
Nils Larsch
9f197f9da5
make the type parameter const when ID2_OF_const() is used
2005-05-18 22:29:17 +00:00
Andy Polyakov
3dc2cc36e9
FAQ update to mention Applink [from HEAD].
2005-05-18 13:37:20 +00:00
Andy Polyakov
788e67e227
FAQ update to mention Applink.
2005-05-18 13:35:54 +00:00
Andy Polyakov
ca3e683747
Don't emit SSE2 instructions unless were asked to [from HEAD].
...
PR: 1073
2005-05-18 08:45:21 +00:00
Andy Polyakov
c50226594d
Don't emit SSE2 instructions unless were asked to.
...
PR: 1073
2005-05-18 08:42:08 +00:00
Andy Polyakov
38a1757168
Engage Applink in mingw. [from HEAD]
2005-05-18 08:17:29 +00:00
Andy Polyakov
51ff6bde38
Engage Applink in mingw. Note that application-side module is not
...
compiled into *our* aplpications. That's because mingw is always
consistent with itself. Having library-side code linked into .dll
makes it possible to deploy the .dll with user-code compiled with
another compiler [which is pretty much the whole point behind Applink].
2005-05-18 08:16:46 +00:00
Richard Levitte
4104a57107
OpenSSL 0.9.8 has just entered beta status. Not quite releasing yet,
...
since I need to write a NEWS entry.
This means we're in feature freeze. HEAD is now 0.9.9-dev.
2005-05-18 04:14:22 +00:00
Richard Levitte
28e4fe34e4
Version changes where needed.
2005-05-18 04:04:12 +00:00
Richard Levitte
c800a070b5
I just branched 0.9.8, so HEAD needs to be bumped to 0.9.9-dev.
...
The 0.9.8 branch is called OpenSSL_0_9_8-stable.
2005-05-18 03:58:34 +00:00
cvs2svn
b0c0f20071
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_8-stable'.
2005-05-17 16:50:47 +00:00
Andy Polyakov
53d8996764
Engage Applink for VC builds.
2005-05-17 16:50:46 +00:00
Andy Polyakov
32b1843ec6
Keep disclaming 16-bit support.
2005-05-17 13:51:36 +00:00
Nils Larsch
8712009778
simplify EC_KEY_dup
2005-05-17 12:23:16 +00:00
Andy Polyakov
b8994f44e7
mdc2test is not built by default anymore.
2005-05-17 06:57:45 +00:00
Bodo Möller
f468e3824a
fix memory leak (BIO_free_all needs pointer to first BIO)
...
PR: 1070
2005-05-17 05:52:24 +00:00
Andy Polyakov
ea1b02db6a
OPENSSL_Applink update.
2005-05-17 00:08:28 +00:00
Andy Polyakov
2c4b354d32
Disclaim 16-bit support.
2005-05-17 00:07:13 +00:00
Andy Polyakov
25a66ee3cb
Move cryptlib.h prior bio.h. Actually it makes sense to include cryptlib.h
...
first everywhere in crypto and skip stdio.h and string.h [because it
includes them].
2005-05-17 00:01:48 +00:00
Andy Polyakov
0978dec131
Improve shell portability of new rules in Makefile.shared.
2005-05-16 21:05:09 +00:00
Bodo Möller
91b17fbad4
Change wording for BN_mod_exp_mont_consttime() entry
2005-05-16 19:14:34 +00:00
Andy Polyakov
ce92b6eb9c
Further BUILDENV refinement, further fool-proofing of Makefiles and
...
[most importantly] put back dependencies accidentaly eliminated in
check-in #13342 .
2005-05-16 16:55:47 +00:00
Andy Polyakov
7abbffc3fb
Further BUILDENV clean-up, 'make depend' is operational again.
2005-05-16 14:24:45 +00:00
Nils Larsch
9dd8405341
ecc api cleanup; summary:
...
- hide the EC_KEY structure definition in ec_lcl.c + add
some functions to use/access the EC_KEY fields
- change the way how method specific data (ecdsa/ecdh) is
attached to a EC_KEY
- add ECDSA_sign_ex and ECDSA_do_sign_ex functions with
additional parameters for pre-computed values
- rebuild libeay.num from 0.9.7
2005-05-16 10:11:04 +00:00
Bodo Möller
46a643763d
Implement fixed-window exponentiation to mitigate hyper-threading
...
timing attacks.
BN_FLG_EXP_CONSTTIME requests this algorithm, and this done by default for
RSA/DSA/DH private key computations unless
RSA_FLAG_NO_EXP_CONSTTIME/DSA_FLAG_NO_EXP_CONSTTIME/
DH_FLAG_NO_EXP_CONSTTIME is set.
Submitted by: Matthew D Wood
Reviewed by: Bodo Moeller
2005-05-16 01:43:31 +00:00
Bodo Möller
92c4468572
rebuild to synchronize with additions to 0.9.7 branch
2005-05-16 00:29:29 +00:00
Bodo Möller
10cde5010d
make update
2005-05-16 00:27:37 +00:00
Andy Polyakov
c4cd925cc0
Make Makefile.shared quiet again.
2005-05-16 00:01:49 +00:00
Andy Polyakov
f210eb7b89
Simplify shared rules, link run-path into applications only.
2005-05-15 23:59:04 +00:00
Andy Polyakov
734540f887
Consolidate BUILDENV [idea is to keep all variables in one place].
2005-05-15 23:53:34 +00:00
Andy Polyakov
804515425a
+20% performance improvement of P4-specific RC4_CHAR loop.
2005-05-15 22:43:00 +00:00
Andy Polyakov
81a86fcf17
Fool-proofing Makefiles
2005-05-15 22:23:26 +00:00
Dr. Stephen Henson
a534bb09d3
Make update.
2005-05-15 00:56:47 +00:00
Dr. Stephen Henson
b6995add5c
Make -CSP option work again in pkcs12 utility by checking for
...
attribute in EVP_PKEY structure.
2005-05-15 00:54:45 +00:00
Dr. Stephen Henson
8ccd06c66c
openssl_fcast should always be defined, not just with DEBUG_SAFESTACK
2005-05-14 12:58:20 +00:00
Dr. Stephen Henson
fe86616c72
Some C compilers produce warnings or compilation errors if an attempt
...
is made to directly cast a function of one type to what it considers and
incompatible type. In particular gcc 3.4.2.
Add new openssl_fcast macro to place functions into a form where the compiler
will allow them to be cast.
The current version achives this by casting to: void function(void).
2005-05-12 23:01:44 +00:00
Dr. Stephen Henson
ba2ba27008
Avoid warnings.
2005-05-12 22:40:19 +00:00
Dr. Stephen Henson
f795123c4a
Fix from stable branch.
2005-05-12 22:39:42 +00:00
Dr. Stephen Henson
c596c795bf
Typo.
2005-05-12 17:28:53 +00:00
Bodo Möller
3f19bbf4e3
fix msg_callback() arguments for SSL 2.0 compatible client hello
...
(previous revision got this wrong)
2005-05-12 06:24:25 +00:00
Bodo Möller
b874ce4dc2
Move another item into ChangeLog.0_9_7-stable_not-in-head_FIPS
2005-05-11 18:36:47 +00:00
Bodo Möller
c6c2e3135d
Don't use the SSL 2.0 Client Hello format if SSL 2.0 is disabled
...
with the SSL_OP_NO_SSLv2 option.
2005-05-11 18:25:49 +00:00
Ben Laurie
4b26fe30de
There must be an explicit way to build the .o!
2005-05-11 16:39:05 +00:00
Bodo Möller
4a8224b598
Move some entries from ChangeLog.0_9_7-stable_not-in-head
...
to ChangeLog.0_9_7-stable_not-in-head_FIPS.
2005-05-11 03:54:21 +00:00
Bodo Möller
8afca8d9c6
Fix more error codes.
...
(Also improve util/ck_errf.pl script, and occasionally
fix source code formatting.)
2005-05-11 03:45:39 +00:00
Nils Larsch
35e8510e60
use 'p' as conversion specifier for printf to avoid truncation of
...
pointers on 64 bit platforms. Patch supplied by Daniel Gryniewicz
via Mike Frysinger <vapier@gentoo.org >.
PR: 1064
2005-05-10 11:55:28 +00:00
Nils Larsch
8b15c74018
give EC_GROUP_new_by_nid a more meanigful name:
...
EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
2005-05-10 11:37:47 +00:00
Nils Larsch
3afa6cf866
improve command line argument checking
...
PR: 1061
2005-05-10 09:51:29 +00:00
Andy Polyakov
e19e549041
Comply with optimization manual (no data should share cache-line with code).
2005-05-09 21:48:01 +00:00
Andy Polyakov
d7561ac576
Allow for 64-bit cache-line alignments in code segment.
2005-05-09 21:27:40 +00:00
Dr. Stephen Henson
7870774162
file fips_hmac_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:17 +0000
2005-05-09 19:22:15 +00:00
Bodo Möller
fbeaa3c47d
Update util/ck_errf.pl script, and have it run automatically
...
during "make errors" and thus during "make update".
Fix lots of bugs that util/ck_errf.pl can detect automatically.
Various others of these are still left to fix; that's why
"make update" will complain loudly when run now.
2005-05-09 00:27:37 +00:00
Bodo Möller
ee2262b8d7
rebuild (starting with state from 0.9.7-stable branch) to avoid clutter
2005-05-09 00:22:02 +00:00
Bodo Möller
b0ac0a8ef8
improve comment readability
2005-05-09 00:06:54 +00:00
Bodo Möller
0f4499360e
give EC_GROUP_*_nid functions a more meaningful name
...
EC_GROUP_get_nid -> EC_GROUP_get_curve_name
EC_GROUP_set_nid -> EC_GROUP_set_curve_name
2005-05-09 00:05:17 +00:00
Nils Larsch
7dc17a6cf0
give EC_GROUP_*_nid functions a more meaningful name
...
EC_GROUP_get_nid -> EC_GROUP_get_curve_name
EC_GROUP_set_nid -> EC_GROUP_set_curve_name
2005-05-08 22:09:12 +00:00
Andy Polyakov
b6223d2f70
Eliminate "statement with no effect" warning when OPENSSL_assert macro
...
is used with constant assertion.
2005-05-08 19:54:33 +00:00
Dr. Stephen Henson
4213cdaf5d
file fips_rngvs.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2005-05-07 22:06:43 +00:00
Dr. Stephen Henson
39b4c974ee
file fips_rand_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2005-05-07 22:06:41 +00:00
Richard Levitte
256b5d5877
I was incorrect about VMS/Alpha. Defining BN_LLONG with
...
SIXTY_FOUR_BIT could cause havoc, so don't (it's lucky bn.h undefines
BN_LLONG when SIXTY_FOUR_BIT is defined).
2005-05-07 21:21:17 +00:00
Dr. Stephen Henson
508f56f17c
file fips_rsastest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:22 +0000
2005-05-07 12:50:26 +00:00
Andy Polyakov
5d0d60e2f5
x86_64 assembler translator update.
2005-05-07 08:13:51 +00:00
Andy Polyakov
57ee007035
Fix constants.
...
PR: 1059
2005-05-07 08:11:50 +00:00
Richard Levitte
82e8cb403a
Since BN_LLONG will only be defined for Alpha/VMS and not VAX/VMS,
...
there's no need to undefine it here. Then, let's get a bit paranoid
and not define BN_ULLONG on THIRTY_TWO_BIT machines when BN_LLONG
isn't defined.
2005-05-06 13:34:35 +00:00
Richard Levitte
abee01c6f8
Actually, C on VMS/Alpha knows very well what a long long is, and
...
knows how to make use of it. So let's stop pretending the Alpha
doesn't know long long...
2005-05-06 13:33:16 +00:00
Dr. Stephen Henson
48665b7c99
file fips_rsavtest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:22 +0000
2005-05-05 21:46:28 +00:00
Nils Larsch
2c288b2a7e
fix compiler warning; pow10 is also in math.h
2005-05-05 20:57:37 +00:00
Richard Levitte
831721ef49
A few more fingerprints...
2005-05-05 06:38:55 +00:00
Andy Polyakov
0ee883650d
Commentary update motivating code update in 0.9.7.
2005-05-04 14:51:38 +00:00
Andy Polyakov
70cf309517
x86_64 assembler translator update.
2005-05-04 08:42:47 +00:00
Andy Polyakov
8b5bf52ac2
Cvs missed adapted module itself, here it goes...
2005-05-03 23:03:31 +00:00
Andy Polyakov
73a9485081
Engage md5-x86_64 assembler module.
2005-05-03 22:59:17 +00:00
Andy Polyakov
d37a65bc81
Throw in md5-x86_64 assembler.
2005-05-03 22:56:15 +00:00
Andy Polyakov
34c7ff6dc9
Cygwin doesn't expose Win32 [not "officially"].
2005-05-03 21:20:17 +00:00
Andy Polyakov
647907918d
Commentary update.
2005-05-03 21:16:42 +00:00
Andy Polyakov
cee73df3bd
Cpuid modules updates.
2005-05-03 21:05:06 +00:00
Nils Larsch
07481951f9
remove false positive
2005-05-03 20:58:24 +00:00
Nils Larsch
f15c448a72
remove BN_ncopy, it was only used in bn_nist.c and wasn't particular
...
useful anyway
2005-05-03 20:27:00 +00:00
Nils Larsch
fcb41c0ee8
rewrite of bn_nist.c, disable support for some curves on 64 bit platforms
...
for now (it was broken anyway)
2005-05-03 20:23:33 +00:00
Nils Larsch
9b62318311
fix typo
...
PR: 1054
2005-05-03 18:34:01 +00:00
Dr. Stephen Henson
51971f7293
file fips_hmactest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:17 +0000
2005-05-03 17:07:54 +00:00
Andy Polyakov
5f1841cdca
Rename amd64 modules to x86_64 and update RC4 implementation.
2005-05-03 15:42:05 +00:00
Andy Polyakov
4b45051902
x86_64 assembler translator update.
2005-05-03 15:35:14 +00:00
Nils Larsch
9e5790ce21
backport fix from the stable branch
2005-05-03 10:00:16 +00:00
Dr. Stephen Henson
3d3addb252
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:17 +0000
2005-05-02 23:06:04 +00:00
Dr. Stephen Henson
3f8bdd1fdb
file fips_hmac.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:17 +0000
2005-05-02 23:04:19 +00:00
Dr. Stephen Henson
6181fd949f
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:17 +0000
2005-05-02 23:04:16 +00:00
Ben Laurie
fce8c6cc53
Redundant changes.
2005-05-01 13:55:41 +00:00
Ben Laurie
0ff469d38d
Add prototype.
2005-05-01 13:49:56 +00:00
Dr. Stephen Henson
05338b58ce
Support for smime-type MIME parameter.
2005-05-01 12:46:57 +00:00
Andy Polyakov
081057c3ff
Remove false positives and resolve some of remaining ones.
2005-04-30 23:48:17 +00:00
Andy Polyakov
94c1672ef0
Cygwin/mingw sync with stable.
2005-04-30 23:45:53 +00:00
Andy Polyakov
405d9761a5
Allow for ./config no-sha0 [from stable].
2005-04-30 21:51:41 +00:00
Andy Polyakov
4c3a2d64e4
Fold rules in test/Makefiles [from stable].
2005-04-30 21:39:39 +00:00
Dr. Stephen Henson
98a2fd32a0
Typo.
2005-04-30 18:07:30 +00:00
Dr. Stephen Henson
7bdeeb64ac
Don't attempt to parse nested ASN1 strings by default.
2005-04-30 18:02:54 +00:00
Richard Levitte
43b45a42fd
Some true positives fixed, toss some false positives.
2005-04-30 15:25:04 +00:00
Richard Levitte
9af1bfb3d5
From branch OpenSSL_0_9_7-stable, 2004-09-11 11:45:
...
Makefile.ssl changed name to Makefile...
2005-04-30 15:23:14 +00:00
Richard Levitte
aed14edd12
From branch OpenSSL_0_9_7-stable, 2004-08-11 22:34:
...
Another missing module in the VMS build files.I believe this is
the last, though...
2005-04-30 15:21:40 +00:00
Richard Levitte
14a948e6ad
All kinds of changes from branch OpenSSL_0_9_7-stable
2005-04-30 15:17:05 +00:00
Richard Levitte
af2fcf3a65
This one deserves a note. In the change to CHANGES, there's the
...
following:
+ NOTE: This is for the 0.9.7 series ONLY. This hack will never
+ appear in 0.9.8 or later. We EXPECT application authors to have
+ dealt properly with this when 0.9.8 is released (unless we actually
+ make such changes in the libcrypto locking code that changes will
+ have to be made anyway).
That makes this one a false positive.
2005-04-30 14:41:51 +00:00
Richard Levitte
4a676ac4f8
Remove a bunch of false positives, and fix some true positives.
2005-04-30 14:40:19 +00:00
Richard Levitte
37e27219f2
From branch OpenSSL_0_9_7-stable, 2002-11-13 15:30:
...
The loading functions should be static if we build a dynamic
engine.
2005-04-30 14:34:28 +00:00
Richard Levitte
d2284ab5d1
Remove a bunch of false positives, fix one true positive.
2005-04-30 13:50:57 +00:00
Richard Levitte
78e91e7574
From branch OpenSSL_0_9_7-stable, revision 1.1.4.1, 2002-05-23 17:25:
...
Forgot this file.
2005-04-30 13:42:02 +00:00
Dr. Stephen Henson
e1cc0671ac
Use more efficient way to locate end of an ASN1 structure.
2005-04-30 13:06:45 +00:00
Nils Larsch
c1a8a5de13
don't let BN_CTX_free(NULL) segfault
2005-04-29 21:20:31 +00:00
Nils Larsch
e3d0e0a792
remove false positive
2005-04-29 20:41:38 +00:00
Nils Larsch
7c7667b86b
check return value of RAND_pseudo_bytes; backport from the stable branch
2005-04-29 20:10:06 +00:00
Nils Larsch
38be5db93b
remove some false positive
2005-04-29 19:24:50 +00:00
Nils Larsch
6a50d0a422
hide the definition of ECDSA_METHOD and ECDSA_DATA (and mutatis mutandis
...
for ecdh)
2005-04-29 15:56:06 +00:00
Nils Larsch
7ab2d30349
add 192 bit prime curve to the command line options
2005-04-29 15:21:09 +00:00
Nils Larsch
d753c3f582
add reference to BN_BLINDING_new.pod
2005-04-29 15:07:34 +00:00
Nils Larsch
1897c89302
avoid warnings when building on systems where sizeof(void *) > sizeof(int)
2005-04-29 14:26:59 +00:00
Andy Polyakov
3cc54008eb
Pointer to BN_MONT_CTX could be used uninitialized.
2005-04-28 08:49:01 +00:00
Richard Levitte
ff8bcccdd4
Synchronise with Unix build system.
2005-04-28 04:55:28 +00:00
Dr. Stephen Henson
a93b01be57
Increase offset for BIO_f_enc() to avoid problems with overlapping buffers
...
when decrypting data.
2005-04-28 00:21:29 +00:00
Dr. Stephen Henson
04b304d346
Update default dependency flags.
2005-04-27 16:32:30 +00:00
Dr. Stephen Henson
6c61726b2a
Lots of Win32 fixes for DTLS.
...
1. "unsigned long long" isn't portable changed: to BN_ULLONG.
2. The LL prefix isn't allowed in VC++ but it isn't needed where it is used.
2. Avoid lots of compiler warnings about signed/unsigned mismatches.
3. Include new library directory pqueue in mk1mf build system.
4. Update symbols.
2005-04-27 16:27:14 +00:00
Nils Larsch
cd202fe2f9
get rid of Makefile.ssl in util/
2005-04-27 08:56:15 +00:00
Nils Larsch
69af4faec1
no Makefile.ssl anymore
2005-04-27 08:48:55 +00:00
Nils Larsch
df9e0bf507
add missing parentheses
2005-04-27 07:57:50 +00:00
Dr. Stephen Henson
879b19801a
Change method_mont_p from (char *) to (BN_MONT_CTX *) and remove several
...
casts.
2005-04-27 00:04:59 +00:00
Dr. Stephen Henson
6ec8e63af6
Port BN_MONT_CTX_set_locked() from stable branch.
...
The function rsa_eay_mont_helper() has been removed because it is no longer
needed after this change.
2005-04-26 23:58:54 +00:00
Dr. Stephen Henson
465b9f6b26
Stop unused variable warning.
2005-04-26 23:45:49 +00:00
Dr. Stephen Henson
0c9c87a76e
Remove more false positives.
2005-04-26 23:33:47 +00:00
Bodo Möller
a7a90b2f00
there's no such thing as Makefile.ssl anymore
2005-04-26 23:22:49 +00:00
Bodo Möller
4d6e7733fa
util/mk1mf.pl issues have been resolved
2005-04-26 23:22:25 +00:00
Dr. Stephen Henson
2deadf1672
Port from stable branch.
2005-04-26 23:21:49 +00:00
Dr. Stephen Henson
9ea862e0b3
More false positives and cases covered by port of prime.c
2005-04-26 23:19:21 +00:00
Bodo Möller
11c9b7cfeb
"PS" to Steve's commit (Port prime utility across from stable branch).
2005-04-26 23:11:05 +00:00
Dr. Stephen Henson
b08868c48a
Port prime utility across from stable branch.
2005-04-26 23:02:52 +00:00
Nils Larsch
9ca46ff609
add docu for BN_BLINDING functions
2005-04-26 22:33:36 +00:00
Nils Larsch
800e400de5
some updates for the blinding code; summary:
...
- possibility of re-creation of the blinding parameters after a
fixed number of uses (suggested by Bodo)
- calculatition of the rsa::e in case it's absent and p and q
are present (see bug report #785 )
- improve the performance when if one rsa structure is shared by
more than a thread (see bug report #555 )
- fix the problem described in bug report #827
- hide the definition ot the BN_BLINDING structure in bn_blind.c
2005-04-26 22:31:48 +00:00
Dr. Stephen Henson
05886a6f77
Remove more false positives.
2005-04-26 22:25:10 +00:00
Dr. Stephen Henson
667aef4c6a
Port from stable branch.
2005-04-26 22:07:17 +00:00
Dr. Stephen Henson
49e179cc52
Remove more false positives.
2005-04-26 22:05:19 +00:00
Bodo Möller
aa4ce7315f
Fix various incorrect error function codes.
...
("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
2005-04-26 18:53:22 +00:00
Bodo Möller
c741b83762
take OPENSSL_NO_DGRAM into account
...
(via make update)
2005-04-26 18:48:02 +00:00
Bodo Möller
64387788a9
let mkdef.pl know about OPENSSL_NO_DGRAM
...
(which appears in the new file crypto/bio/bss_dgram.c)
2005-04-26 18:21:25 +00:00
Bodo Möller
480506bd49
remove some functions from exported headers
2005-04-26 18:18:35 +00:00
Bodo Möller
0d5ea7613e
make update
2005-04-26 18:09:21 +00:00
Bodo Möller
beb056b303
fix SSLerr stuff for DTLS1 code;
...
move some functions from exported header <openssl/dtl1.h> into "ssl_locl.h";
fix silly indentation (a TAB is *not* always 4 spaces)
2005-04-26 18:08:00 +00:00
Dr. Stephen Henson
4e321ffaff
Fixes for signed/unsigned warnings and shadows.
2005-04-26 17:43:53 +00:00
Dr. Stephen Henson
6ededa42db
False positive removed.
2005-04-26 17:37:21 +00:00
Ben Laurie
36d16f8ee0
Add DTLS support.
2005-04-26 16:02:40 +00:00
Ben Laurie
ab781a0cb6
make depend.
2005-04-26 13:56:36 +00:00
Nils Larsch
19c2987eb6
remove false positive
2005-04-26 08:17:58 +00:00
Bodo Möller
b09af97686
some more false positives to remove
2005-04-25 23:19:07 +00:00
Bodo Möller
a7b1c7732f
make update
2005-04-25 23:17:30 +00:00
Bodo Möller
abc64463af
move some more entries into FIPS file
2005-04-25 23:16:58 +00:00
Bodo Möller
2e7245f5a3
Use OPENSSL_NO_CAST, not OPENSSL_NO_CAST5 in e_old.c
...
PR: 959
2005-04-25 23:09:00 +00:00
Bodo Möller
f76b062e16
Remove some more entries that are false positives, or have been
...
resolved by recent commits.
2005-04-25 23:06:15 +00:00
Bodo Möller
cc1717eaa4
Sort out changes in FIPS and other changes, collected in separate files.
...
(Also remove another "make update".)
2005-04-25 22:55:24 +00:00
Bodo Möller
c5156d952e
remove some more false positives
2005-04-25 22:08:13 +00:00
Bodo Möller
0b2d0d7d13
remove some more false positives
2005-04-25 22:02:34 +00:00
Bodo Möller
b732a8cf5f
remove some more changes that came from HEAD
2005-04-25 21:54:14 +00:00
Bodo Möller
a7dc451ebe
fix editing error, and remove a false positive
2005-04-25 21:53:08 +00:00
Bodo Möller
87357fc0b8
update
2005-04-25 21:42:14 +00:00
Bodo Möller
a2c96d888d
remove extra whitespace; fix link
2005-04-25 21:36:56 +00:00
Bodo Möller
9a6c6b99bf
remove some false positives
2005-04-25 21:32:52 +00:00
Bodo Möller
033c79dff1
add recent changes; now this file is up-to-date
2005-04-25 21:25:48 +00:00
Bodo Möller
b362536275
bring up-to-date
2005-04-25 21:22:08 +00:00
Bodo Möller
aa16a28631
first step to melt down ChangeLog.0_9_7-stable_not-in-head :-)
2005-04-25 21:06:05 +00:00
Bodo Möller
2757c67da2
This is a collection of those CVS change log entries for the 0.9.7
...
branch (OpenSSL_0_9_7-stable) that do not appear similarly in
0.9.8-dev (CVS head).
Some obvious false positives have been eliminated: e.g., we do not
care about a simple "make update"; and we don't care about changes
identified to the 0.9.7 branch that were explicitly identified as
backports from head.
Eliminating all other entries (and finally this file), either as false
positives or as things that should go into 0.9.8, remains to be done.
2005-04-25 21:01:31 +00:00
Andy Polyakov
3d5fd31280
Avoid L1 cache aliasing even between key and S-boxes.
2005-04-24 21:09:20 +00:00
Ben Laurie
c7199e62f1
Flag changes in Configure and config, too.
...
Update dependencies.
2005-04-24 12:02:49 +00:00
Nils Larsch
0b3fc6e63b
update
2005-04-24 09:17:48 +00:00
Dr. Stephen Henson
c2db9cfb52
Oops...
2005-04-24 02:24:53 +00:00
Dr. Stephen Henson
6bc8e6b898
Recognize zlib and krb5 options in mk1mf.pl
2005-04-24 02:21:02 +00:00
Nils Larsch
9edf4e8157
make asn.1 field names const
2005-04-23 13:45:49 +00:00
Nils Larsch
965a1cb92e
change prototype of the ecdh KDF: make input parameter const and the outlen argument more flexible
2005-04-23 10:11:16 +00:00
Ben Laurie
e9ad6665a5
Add debug target, remove cast, note possible bug.
2005-04-23 06:05:24 +00:00
Ben Laurie
b5855b2f32
Add prototypes.
2005-04-22 23:57:46 +00:00
Nils Larsch
a0bee97e55
more const
2005-04-22 21:57:36 +00:00
Nils Larsch
e7076c5a80
make update
2005-04-22 20:17:17 +00:00
Nils Larsch
ff22e913a3
- use BN_set_negative and BN_is_negative instead of BN_set_sign
...
and BN_get_sign
- implement BN_set_negative as a function
- always use "#define BN_is_zero(a) ((a)->top == 0)"
2005-04-22 20:02:44 +00:00
Andy Polyakov
04d0d0accf
Avoid aliasing between stack frames and S-boxes. Compress prefetch code.
2005-04-22 11:49:32 +00:00
Nils Larsch
00df894701
the pointer to the message digest is const
2005-04-21 09:43:09 +00:00
Richard Levitte
630e4a6e59
Provide a default OPENSSL_ia32cap_loc for non-Intel platforms where
...
util/libeay.num is important when building shared libraries, like
VMS.
2005-04-21 09:10:19 +00:00
Dr. Stephen Henson
bf2336f478
Don't use standard kerberos library locations in MK1MF builds.
...
Fix typo in mk1mf.pl
2005-04-21 00:46:28 +00:00
Dr. Stephen Henson
384dba6edb
Make kerberos ciphersuite code compile again.
...
Avoid more shadow warnings.
2005-04-20 21:48:48 +00:00
Dr. Stephen Henson
2c45bf2bc9
Rename typed version of M_ASN1_get M_ASN1_get_x to avoid conflicts.
...
Remove more bogus shadow warnings.
2005-04-20 21:48:06 +00:00
Dr. Stephen Henson
836ec0c764
Stop compiler warnings about deprecated lvalue casts.
2005-04-20 21:39:13 +00:00
Dr. Stephen Henson
5e72fb063a
Stop bogus shadowing warning.
2005-04-20 21:34:29 +00:00
Dr. Stephen Henson
2dc08d5f5d
Process MINFO file earlier in mk1mf.pl so it can modify variables like CFLAGS.
...
Process kerberos include and library options.
2005-04-20 16:22:58 +00:00
Dr. Stephen Henson
00b8abee61
Handle similar mk1mf.pl options with a hash table.
2005-04-20 16:01:50 +00:00
Richard Levitte
7efebab9fd
signed vs. unsigned.
2005-04-20 13:21:10 +00:00
Richard Levitte
a74286d636
Make sure id2_func is properly cast as well...
2005-04-20 13:17:42 +00:00
Richard Levitte
254cfe878e
signed vs. unsigned.
2005-04-20 13:12:33 +00:00
Richard Levitte
ed824195a1
Avoid compiler complaint about mismatched function signatures
...
(void * != char *)
2005-04-20 13:09:46 +00:00
Richard Levitte
22c3600e4c
Resolve signed vs. unsigned.
2005-04-20 12:55:15 +00:00
Richard Levitte
49f386578e
Type mismatch detected by DEC C compiler. void* != void**
2005-04-20 12:53:50 +00:00
Richard Levitte
7c671508bd
Avoid compiler complaint about mismatched function signatures
...
(void * != RSA *)
2005-04-20 10:02:16 +00:00
Dr. Stephen Henson
d3fdc27aa8
Fix logic in mkdef.pl function is_valid.
...
Update symbols
2005-04-19 23:54:44 +00:00
Dr. Stephen Henson
40e950aed6
Stop perl warning.
2005-04-19 18:57:17 +00:00
Dr. Stephen Henson
987bebaf8c
New "algorithm define" OPENSSL_NO_GMP. Update mkdef.pl and Configure script
...
to use it.
2005-04-19 13:24:44 +00:00
Dr. Stephen Henson
65f0efe198
Ignore TYPEDEF_OF in mkdef.pl
2005-04-19 11:49:25 +00:00
Dr. Stephen Henson
e77d8f2ecd
Update year.
2005-04-19 00:15:18 +00:00
Dr. Stephen Henson
f68854b4c3
Various Win32 and other fixes for warnings and compilation errors.
...
Fix Win32 build system to use 'Makefile' instead of 'Makefile.ssl'.
2005-04-19 00:12:36 +00:00
Andy Polyakov
1cfd258ed6
Throw in x86_64 AT&T to MASM assembler converter to facilitate development
...
of dual-ABI Unix/Win64 modules.
2005-04-17 21:05:57 +00:00
Dr. Stephen Henson
04d7d51ea2
Fix from stable branch.
2005-04-17 13:59:36 +00:00
Richard Levitte
2906dc8601
Synchronise with ec/Makefile.
2005-04-17 09:07:37 +00:00
Andy Polyakov
c8d5c71af5
Mitigate cache-timing attack in CBC mode. This is done by implementing
...
compressed tables (2x compression factor) and by pre-fetching them into
processor cache prior every CBC en-/decryption pass. One can argue why
just CBC? Well, it's commonly used mode in real-life applications and
API allows us to amortize the prefetch costs for larger data chunks...
2005-04-16 15:23:21 +00:00
Nils Larsch
ff990440ee
const fixes
2005-04-15 18:29:33 +00:00
Nils Larsch
0e304b7f41
EVP_CIPHER_CTX_init is a void function + fix typo
...
PR: 1044 + 1045
2005-04-15 16:01:35 +00:00
Dr. Stephen Henson
fbe6ba81e9
Check return values of <Digest>_Init functions in low level digest calls.
2005-04-14 22:58:44 +00:00
Andy Polyakov
2b85e23d2e
Prototype mnemonics in padlock_verify_context for better portability
...
[read support for Solaris assembler].
2005-04-14 07:47:10 +00:00
Andy Polyakov
026bb0b96a
Fix for bug emerged in openvpn conext.
2005-04-14 07:41:29 +00:00
Andy Polyakov
6424498226
Final touch to mingw shared.
2005-04-13 23:54:28 +00:00
Andy Polyakov
3ed449e94a
More cover-ups, removing OPENSSL_GLOBAL/EXTERNS. We can remove more...
2005-04-13 21:46:30 +00:00
Andy Polyakov
4f1c33b430
Addenum to http://cvs.openssl.org/chngview?cn=13054 .
2005-04-13 21:10:07 +00:00
Andy Polyakov
1334462ab3
Final(?) touches to mingw shared support.
2005-04-13 21:08:39 +00:00
Andy Polyakov
e62991a07c
Zap OPENSSL_EXTERN on symbols, which are not meant to be local to DLL.
2005-04-13 20:51:42 +00:00
Nils Larsch
52272327f3
Makefile.ssl -> Makefile
2005-04-13 19:09:43 +00:00
Andy Polyakov
1bf955920a
Fix typos.
2005-04-13 15:41:11 +00:00
Andy Polyakov
51d28013db
Introduce OPENSSL_NONPIC_relocated to denote relocated DLLs.
2005-04-13 08:46:35 +00:00
Andy Polyakov
8861ba355d
Parameterize do_solaris rules in Makefile.shared.
2005-04-13 07:22:41 +00:00
Andy Polyakov
9e88c82703
Minor cryptlib.c update: compiler warnings in OPENSSL_showfatal and
...
OPENSSL_stderr stub.
2005-04-13 06:55:42 +00:00
Dr. Stephen Henson
9d2f51c086
Update FAQ.
2005-04-12 16:38:00 +00:00
Dr. Stephen Henson
ad0db060b1
More overwritten stuff...
2005-04-12 16:36:36 +00:00
Dr. Stephen Henson
3547478fc8
Replace overwritten lines before error codes.
2005-04-12 16:17:53 +00:00
Dr. Stephen Henson
29dc350813
Rebuild error codes.
2005-04-12 16:15:22 +00:00
Dr. Stephen Henson
bc3cae7e7d
Include error library value in C error source files instead of fixing up
...
at runtime.
2005-04-12 13:31:14 +00:00
Nils Larsch
37942fab51
include limits.h for UINT_MAX etc.
2005-04-11 20:59:58 +00:00
Richard Levitte
36521f0150
Add a NEWS item for 0.9.7g.
2005-04-11 15:05:45 +00:00
Richard Levitte
4bb61becbb
Add emacs cache files to .cvsignore.
2005-04-11 14:17:07 +00:00
Dr. Stephen Henson
b392e52050
Move allow_proxy_certs declaration to start of function.
2005-04-10 23:41:09 +00:00
Dr. Stephen Henson
0858b71b41
Make kerberos ciphersuite code work with newer header files
2005-04-09 23:55:55 +00:00
Richard Levitte
d9bfe4f97c
Added restrictions on the use of proxy certificates, as they may pose
...
a security threat on unexpecting applications. Document and test.
2005-04-09 16:07:12 +00:00
Nils Larsch
dc0ed30cfe
add support for DER encoded private keys to SSL_CTX_use_PrivateKey_file()
...
and SSL_use_PrivateKey_file()
PR: 1035
Submitted by: Walter Goulet
Reviewed by: Nils Larsch
2005-04-08 22:52:42 +00:00
Nils Larsch
e248596bac
improve docu of SSL_CTX_use_PrivateKey()
2005-04-08 22:49:57 +00:00
Nils Larsch
6049399baf
get rid of very buggy and very imcomplete DH cert support
...
Reviewed by: Bodo Moeller
2005-04-07 23:19:17 +00:00
Nils Larsch
f763e0b5ae
make sure error queue is totally emptied
...
PR: 359
2005-04-07 22:53:35 +00:00
Nils Larsch
eb3eab20a8
const fixes
2005-04-07 22:48:33 +00:00
Andy Polyakov
4848cbf1cf
Recognize MSYS/MINGW environment.
2005-04-07 20:24:29 +00:00
Andy Polyakov
9f2027e56d
Implement OPENSSL_showfatal and make it Win32 GUI and service aware
...
[meaning that it will detect in which context application is running
and either write message to stderr, post a dialog or log an event].
2005-04-07 18:39:45 +00:00
Andy Polyakov
e1d51de41f
Harmonize cygwin/mingw and VC targets.
2005-04-07 15:51:55 +00:00
Andy Polyakov
81ee80ab88
+45% RC4 performance boost on Intel EM64T core. Unrolled loop providing
...
further +35% will follow...
Submitted by: Zou Nanhai
2005-04-06 09:45:42 +00:00
Nils Larsch
7d727231b7
some const fixes
2005-04-05 19:11:19 +00:00
Nils Larsch
69740c2b3f
update progs.pl to reflect changes in progs.h
2005-04-05 18:17:13 +00:00
Nils Larsch
119d1a1dd4
fix example in docu
...
PR: 800
2005-04-05 11:17:03 +00:00
Nils Larsch
70f34a5841
some const fixes and cleanup
2005-04-05 10:29:43 +00:00
Nils Larsch
c2e40d0f9a
remove unused recp method
2005-04-04 18:15:59 +00:00
Andy Polyakov
0abfd60604
Extend Solaris x86 support to amd64.
2005-04-04 17:10:53 +00:00
Andy Polyakov
e5dbccc182
Solaris x86 linker erroneously pads .init segment with zeros instead of
...
nops, which causes SEGV at startup. So I don't align anymore.
2005-04-04 17:07:16 +00:00
Andy Polyakov
f8fa22d826
Some non-GNU compilers (such as Sun C) define __i386.
2005-04-04 17:05:06 +00:00
Bodo Möller
c393222280
HISTORY section: point out change of default digest
2005-04-03 23:53:48 +00:00
Andy Polyakov
60fd574cdf
Make bn/asm/x86_64-gcc.c gcc4 savvy. +r is likely to be initially
...
introduced for a reason [like bug in initial gcc port], but proposed
=&r is treated correctly by senior 3.2, so we can assume it's safe now.
PR: 1031
2005-04-03 18:53:29 +00:00
Ben Laurie
73705abc34
If input is bad, we still need to clear the buffer.
2005-04-03 16:38:22 +00:00
Nils Larsch
12bdb64375
use SHA-1 as the default digest for the apps/openssl commands
2005-04-02 09:29:15 +00:00
Dr. Stephen Henson
7bdf8eed69
Typo
2005-04-01 21:56:15 +00:00
Nils Larsch
48c832b6b7
really clear the error queue here
...
PR: 860
2005-04-01 17:50:09 +00:00
Nils Larsch
f3e427f6f9
use SSL3_VERSION_MAJOR instead of SSL3_VERSION etc.
...
PR: 658
2005-04-01 17:35:32 +00:00
Ben Laurie
8bb826ee53
Consistency.
2005-03-31 13:57:54 +00:00
Richard Levitte
5d1430f390
Add a file with fingerprints that have recently been used to sign
...
OpenSSL distributions, or are about to. This has been requested a
little now and then by users, for years :-/...
2005-03-31 11:51:47 +00:00
Ben Laurie
45d10efc35
Simplicate and add lightness.
2005-03-31 10:55:55 +00:00
Ben Laurie
db3cb0e97a
Get rid of irritating noise.
2005-03-31 10:34:59 +00:00
Ben Laurie
41a15c4f0f
Give everything prototypes (well, everything that's actually used).
2005-03-31 09:26:39 +00:00
Nils Larsch
fea4280a8b
fix header
2005-03-30 21:38:29 +00:00
Nils Larsch
e852b8533f
Makefile.ssl doesn't exist anymore
2005-03-30 21:37:05 +00:00
Ben Laurie
20a3439ea9
Take account of Makefile.ssl removal.
2005-03-30 14:44:50 +00:00
Ben Laurie
a273a2824c
Make tags target useful.
2005-03-30 14:19:21 +00:00
Ben Laurie
24c97c819d
Don't debug.
2005-03-30 14:15:14 +00:00
Ben Laurie
42ba5d2329
Blow away Makefile.ssl.
2005-03-30 13:05:57 +00:00
Nils Larsch
c3e6402857
update docs (recent constification)
2005-03-30 11:50:14 +00:00
Ben Laurie
0821bcd4de
Constification.
2005-03-30 10:26:02 +00:00
Nils Larsch
4a6a2032ed
the second argument of EVP_SealInit is const
2005-03-29 17:50:08 +00:00
Nils Larsch
c01d2b974e
when building with OPENSSL_NO_DEPRECATED defined BN_zero is a macro
...
which cannot be evaluated in an if statement
2005-03-28 15:06:29 +00:00
Bodo Möller
b0ef321cc8
Harmonize with CHANGES as distributed in OpenSSL 0.9.7f.
2005-03-24 01:37:07 +00:00
Ulf Möller
7a8c728860
undo Cygwin change
2005-03-24 00:14:59 +00:00
Richard Levitte
6141b86a49
Change the memory leak FAQ entry to describe the levels of thread safety in each function
2005-03-23 21:14:59 +00:00
Dr. Stephen Henson
23fadaa084
Update FAQ
2005-03-22 20:10:38 +00:00
Dr. Stephen Henson
e27a259696
Doc fixes.
2005-03-22 17:55:33 +00:00
Nils Larsch
41e455bfc4
test, remove unnecessary const cast
2005-03-22 17:55:18 +00:00
Dr. Stephen Henson
59b6836ab2
Ensure (SSL_RANDOM_BYTES - 4) of pseudo random data is used for server and
...
client random values.
2005-03-22 14:11:06 +00:00
Richard Levitte
9fc9b55237
There are cases when there are no files left to verify. Make sure to
...
handle that properly.
2005-03-21 13:52:12 +00:00
Nils Larsch
689c6f2542
add new curves to the loop (with some cleanup from me)
...
Submitted by: Jean-Luc Duval
Reviewed by: Nils Larsch
2005-03-20 23:12:13 +00:00
Nils Larsch
f4bfd357e5
some const fixes
2005-03-20 22:56:07 +00:00
Ulf Möller
130db968b8
Use Windows randomness code on Cygwin
2005-03-19 11:39:17 +00:00
Ulf Möller
8d274837e5
fix breakage for Perl versions that do boolean operations on long words
2005-03-19 11:13:30 +00:00
Ulf Möller
5855038049
typo
2005-03-19 10:19:45 +00:00
Richard Levitte
d18685d959
Added HOWTO about proxy certificates.
2005-03-14 15:39:25 +00:00
Bodo Möller
9f6715d4bb
"make depend". This takes into account the algorithms that are now
...
disabled by default (MDC2 and RC5), which until now were skipped
by "make links" and yet supposedly required by some of the Makefiles,
meaning that the recent snapshots failed to compile.
Problem reported by Nils Larsch.
2005-03-13 19:49:47 +00:00
Bodo Möller
ab185b6038
It seems that Configure revision 1.404 broke "make depend" by hiding
...
from it which algorithms were disabled. With these new changes,
"make depend" will properly take into account algorithms that are skipped.
2005-03-13 19:46:58 +00:00
Andy Polyakov
1642000707
Cygwin to use DSO_FLFCN and mingw to use DSO_WIN32.
2005-03-12 11:28:41 +00:00
Andy Polyakov
f7f2125522
Avoid re-build avalanches with HP-UX make.
2005-03-12 09:12:44 +00:00
Bodo Möller
2b61034b0b
fix potential memory leak when allocation fails
...
PR: 801
Submitted by: Nils Larsch
2005-03-11 09:01:24 +00:00
Bodo Möller
80c808b90b
Fix typo
...
PR: 1017
Submitted by: ciresh@yahoo.com
Reviewed by: Nils Larsch
2005-03-09 19:08:02 +00:00
Bodo Möller
af1048c25c
Take MDC2 patent into account.
2005-03-02 20:22:58 +00:00
Bodo Möller
ecc5ef8793
In addition to RC5, also exclude MDC2 from compilation unless
...
the algorithm is explicitly requested.
2005-03-02 20:11:31 +00:00
Bodo Möller
c9a112f540
Change ./Configure so that certain algorithms can be disabled by default.
...
This is now the case for RC5.
As a side effect, the OPTIONS in the Makefile will usually look a
little different now, but they are essentially only for information
anyway.
2005-02-22 10:29:51 +00:00
Lutz Jänicke
5286db697f
Fix typo on blowfish manual page
...
PR: 1010
Submitted by: Marc Balmer <mbalmer@openbsd.org >
2005-02-19 10:26:18 +00:00
Lutz Jänicke
f69a8aebab
Fix hang in EGD/PRNGD query when communication socket is closed
...
prematurely by EGD/PRNGD.
PR: 1014
Submitted by: Darren Tucker <dtucker@zip.com.au >
2005-02-19 10:19:07 +00:00
Dr. Stephen Henson
9d10b15ef9
Fix possible memory leak.
2005-02-14 21:53:24 +00:00
Andy Polyakov
da30c74a27
Remove unused assembler modules.
2005-02-06 13:43:02 +00:00
Andy Polyakov
67ea999d4a
This patch was "ignited" by OpenBSD 3>=4 support. They've switched to ELF
...
and GNU binutils, but kept BSD make... And I took the opportunity to
unify other targets to this common least denominator...
2005-02-06 13:23:34 +00:00
Andy Polyakov
e1892f2370
Reliable BSD-x86-elf detection in ./config.
2005-02-06 13:20:23 +00:00
Andy Polyakov
fe28866d71
Make Makefile.shared BSD make-friendly, remove more redundant -lc, set up
...
OBJECT_MODE for AIX.
2005-02-06 13:18:40 +00:00
Andy Polyakov
de4ab1e629
Make util/shlib_wrap.sh [Open]BSD-friendly.
2005-02-06 13:15:21 +00:00
Andy Polyakov
216ddfaf6b
Mention no-sse2 option in INSTALL note.
2005-02-06 13:10:23 +00:00
Dr. Stephen Henson
8aa36bcac9
In mkdef.pl ignore trailing whitespace in #ifdef lines
2005-02-05 17:22:14 +00:00
Andy Polyakov
485e30dbe1
Drop redundant -lc from a number of rules in Makefile.shared. It's
...
perfectly safe [compiler driver adds it] and in some situation even
perfectly appropriate [mixing -pthread and -lc on FreeBSD can have
lethal effect on apps/openssl]. I'd say we should get rid of more,
but I remove those I can test myself...
2005-02-03 22:40:40 +00:00
Andy Polyakov
877dbcb8a0
Shut whiny make's up.
2005-02-03 10:19:59 +00:00
Andy Polyakov
62d27939c2
Address run-time linker problems: LD_PRELOAD issue on multi-ABI platforms
...
and SafeDllSearchMode in Windows.
Submitted by: Richard Levitte
2005-02-01 23:48:37 +00:00
Richard Levitte
8c3c570134
The first argument to load_iv should really be a char ** instead of an
...
unsigned char **, since it points at text.
Thanks to Nils Larsch <nils.larsch@cybertrust.com > for pointing out
the inelegance of our code :-)
2005-01-27 11:42:28 +00:00
Richard Levitte
97a1630e81
Oops, == should really be = when used with test ([ and ]).
...
I guess I use bash too much...
Thanks to Peter Sylvester <Peter.Sylvester@edelweb.fr > for pointing it
out to me.
2005-01-27 10:59:36 +00:00
Richard Levitte
bf746f0f46
Check for errors from EVP_VerifyInit_ex(), or EVP_VerifyUpdate might
...
cause a segfault... This was uncovered because EVP_VerifyInit() may fail
in FIPS mode if the wrong algorithm is chosen...
2005-01-27 01:49:25 +00:00
Richard Levitte
a229e3038e
Get rid if the annoying warning
2005-01-27 01:47:31 +00:00
Richard Levitte
4aca9297dc
The mix of CFLAGS and LDFLAGS is a bit confusing in my opinion, and
...
Makefile.shared was a bit overcomplicated.
Make the shell variables LDFLAGS and SHAREDFLAGS in Makefile.shared
get the values of $(CFLAGS) or $(LDFLAGS) as appropriate depending on
the value the shell variables LDCMD and SHAREDCMD get. That leaves
much less chance of confusion, since those pairs of shell variables
always are defined together.
2005-01-26 23:51:20 +00:00
Andy Polyakov
b2c5960935
Respect the fact that most interactive shells don't restore stty settings
...
and make it work in non-interactive mode...
2005-01-26 19:58:15 +00:00
Andy Polyakov
fbdce13e5a
Please BSD make...
2005-01-25 22:09:11 +00:00
Andy Polyakov
e532a6c449
FreeBSD 5 refuses to #include <malloc.h>. Fix compiler warning after
...
http://cvs.openssl.org/chngview?cn=12843 .
2005-01-25 22:07:22 +00:00
Andy Polyakov
14bcdb087f
./Configure to respect $thread_cflag variable.
2005-01-24 15:58:25 +00:00
Andy Polyakov
b7efa56a4a
Fold a bunch of linux and *BSD targets into [linux|BSD]-generic[32|64].
...
Idea is to provide unified "fall-down" case for all rare platforms out
there. ./config is free to enable some optimizations, such as endianness
specification, specific -mcpu flags...
2005-01-24 14:38:14 +00:00
Andy Polyakov
8359421d90
Default to AES u32 being unsinged int and not long. This improves cache
...
locality on 64-bit platforms (and fixes IA64 assembler-empowered build:-).
The choice is guarded by newly introduced AES_LONG macro, which needs
to be defined only on 16-bit platforms which we don't support (not that
I know of). Meaning that one could as well skip long option altogether.
2005-01-24 14:22:05 +00:00
Andy Polyakov
efde5230f1
Improve ECB performance (48+14*rounds -> 18+13*rounds) and reserve for
...
hand-coded zero-copy AES_cbc_encrypt.
2005-01-24 14:14:53 +00:00
Andy Polyakov
f5ffad9d1d
linux-arm target update.
...
PR: 991
2005-01-21 10:32:57 +00:00
Andy Polyakov
57a68b2129
linux-parisc update.
...
PR: 990
Submitted by: Mike Frysinger <vapier@gentoo.org >
2005-01-20 17:00:14 +00:00
Andy Polyakov
bac252a5e3
Bug-fix in CBC encrypt tail processing and commentary section update.
2005-01-20 10:33:37 +00:00
Richard Levitte
a963395a7b
Apparently, at least with my VMS C environment, defining _XOPEN_SOURCE
...
gets _POSIX_C_SOURC and _ANSI_C_SOURCE defined, which stops u_int from
being defined, and that breaks havock into the rest of the standard
headers... *sigh*
2005-01-19 17:03:07 +00:00
Richard Levitte
d8863f0bdb
Small thing. It seems like we have to defined _XOPEN_SOURCE to get
...
isascii() on DEC/Compaq/HP C for VMS.
2005-01-18 16:46:02 +00:00
Andy Polyakov
addb6e16a8
Throw in AES CBC assembler, up to +40% on aes-128-cbc benchmark.
2005-01-18 01:04:41 +00:00
Andy Polyakov
4d27c4c960
Fix a typo in a.out assembler modules.
2005-01-18 00:46:55 +00:00
Andy Polyakov
ed65fab910
Reserve for AES CBC assembler implementation...
2005-01-18 00:43:32 +00:00
Andy Polyakov
90cc40911b
Don't zap AES CBC IV, when decrypting truncated content in place.
2005-01-18 00:26:52 +00:00
Richard Levitte
a7201e9a1b
Changes concering RFC 3820 (proxy certificates) integration:
...
- Enforce that there should be no policy settings when the language
is one of id-ppl-independent or id-ppl-inheritAll.
- Add functionality to ssltest.c so that it can process proxy rights
and check that they are set correctly. Rights consist of ASCII
letters, and the condition is a boolean expression that includes
letters, parenthesis, &, | and ^.
- Change the proxy certificate configurations so they get proxy
rights that are understood by ssltest.c.
- Add a script that tests proxy certificates with SSL operations.
Other changes:
- Change the copyright end year in mkerr.pl.
- make update.
2005-01-17 17:06:58 +00:00
Dr. Stephen Henson
fcd5cca418
PKCS7_verify() performance optimization. When the content is large and a
...
memory BIO (for example from SMIME_read_PKCS7 and detached data) avoid lots
of slow memory copies from the memory BIO by saving the content in a
temporary read only memory BIO.
2005-01-14 17:52:24 +00:00
Andy Polyakov
9222bc6b4e
INSTALL.DJGPP sync.
...
PR: 989
2005-01-14 16:25:36 +00:00
Andy Polyakov
e6d27baf52
Rely on e_os.h to appropriately define str[n]casecmp in non-POSIX
...
environments.
2005-01-13 15:46:09 +00:00
Andy Polyakov
e7e1150706
"Monolithic" x86 assembler replacement for aes_core.c. Up to +15% better
...
performance on recent microarchitectures.
2005-01-13 15:35:44 +00:00
Andy Polyakov
5d727078ac
Fix an "oops" typo! Well, it was a debugging left-over...
2005-01-13 15:25:30 +00:00
Andy Polyakov
108159ffcc
O_NOFOLLOW is not appropriate when opening /dev/* entries on Solaris.
...
PR: 998
2005-01-13 15:20:42 +00:00
Richard Levitte
c4d423511a
Small typo, `mask' got the same value ORed to it twice instead of
...
`mask' and `emask' getting that operation done once each.
Patch supplied by Nils Larsch <nils.larsch@cybertrust.com >
2005-01-12 16:40:48 +00:00
Richard Levitte
b15a93a9c5
Correct a faulty address assignment, and add a length check (not
...
really needed now, but may be needed in the future, who knows?).
2005-01-12 09:53:20 +00:00
Andy Polyakov
d9248e5780
FAQ update to mention no-sha0 as possible workaround for Tru64 compiler bug.
...
Well, no-options seem to be busted in HEAD currently, which should/will be
fixed one way or another (see PR#989 for a possible alternative).
2005-01-09 20:42:33 +00:00
Andy Polyakov
0b52f89b81
DJGPP documentation note update.
2005-01-09 20:14:04 +00:00
Andy Polyakov
7de4b5b060
Permit "monolithic" AES assembler implementations, i.e. such which would
...
replace *whole* aes_core.c, not only AES_[de|en]crypt routines.
2005-01-09 16:01:58 +00:00
Andy Polyakov
02a00bb054
DJGPP update.
...
PR: 989
Submitted by: Doug Kaufman
2005-01-04 10:28:38 +00:00
Andy Polyakov
3b4de6e4cc
Borrow #include <string[s].h> from e_os.h.
2004-12-31 00:00:05 +00:00
Andy Polyakov
bdbc9b4d1a
Make whiny compilers stop complaining about missing prototype.
2004-12-30 23:40:31 +00:00
Andy Polyakov
09ef94d2c9
Fix Win32 test-suit.
2004-12-30 22:55:28 +00:00
Andy Polyakov
3ffb8d42bc
Remove naming conflict between variable and label.
2004-12-30 11:10:11 +00:00
Andy Polyakov
25866e3982
Commentary update for AES IA-64 assembler module.
2004-12-30 10:55:02 +00:00
Andy Polyakov
3b3df98ca6
Minor AES x86 assembler tune-up.
2004-12-30 10:46:03 +00:00
Andy Polyakov
2e4a99f38b
AES-CFB[18] 2x optimization. Well, I bet nobody cares about AES-CFB1
...
performance, but anyway...
2004-12-30 10:43:33 +00:00
Dr. Stephen Henson
e90faddaf8
Prompt for passphrases for PKCS12 input format
2004-12-29 01:07:14 +00:00
Andy Polyakov
f1ce306f30
Oops-kind typos in aes-ia64.S...
2004-12-28 17:10:42 +00:00
Richard Levitte
37b11ca78e
iv needs to be const because it sometimes takes it's value from a
...
const.
2004-12-28 10:35:13 +00:00
Richard Levitte
a17af9e277
Forgot to synchronise the VMS build scripts.
2004-12-28 10:22:00 +00:00
Richard Levitte
6951c23afd
Add functionality needed to process proxy certificates.
2004-12-28 00:21:35 +00:00
Andy Polyakov
de421076a5
Minor cygwin update.
...
PR: 949
2004-12-27 21:27:46 +00:00
Andy Polyakov
bd16cd6bcc
As new major IRIX release is highly unlikely to appear [and break following],
...
I change from -notall to -none synonym in irix rules to improve backward
compatibility with IRIX 5.x.
PR: 987
2004-12-27 14:59:36 +00:00
Andy Polyakov
0c51600203
Remove CPU detect for IRIX targets. Performance gain is less than 1%,
...
it makes more sense to strive for broader binary compatibility...
2004-12-27 14:57:54 +00:00
Andy Polyakov
9850f7f6b2
Remove yet another redundant memcpy. Not at least performance critical,
...
essentially cosmetic modification...
2004-12-26 13:05:40 +00:00
Andy Polyakov
131e064e4a
Eliminate redundant memcpy of IV material. Performance improvement varies
...
from platform to platform and can be as large as 20%.
2004-12-26 12:31:37 +00:00
Andy Polyakov
556b8f3f77
Engage AES x86 assembler module for COFF and a.out targets.
2004-12-26 10:58:39 +00:00
Andy Polyakov
045d3285e2
Engage AES x86 assembler module on ELF platforms.
2004-12-23 21:44:28 +00:00
Andy Polyakov
d1df5b4339
x86 perlasm update to accomodate aes-586.pl.
2004-12-23 21:43:25 +00:00
Andy Polyakov
25558bf743
Eliminate copies of TeN and TdN, use those found in assembler module.
2004-12-23 21:40:23 +00:00
Andy Polyakov
713147109c
AES x86 assembler implementation.
2004-12-23 21:32:34 +00:00
Andy Polyakov
76ef6ac956
Refine PowerPC platform support.
2004-12-20 13:44:34 +00:00
Dr. Stephen Henson
a842df6659
Remove unused buffer 'buf'.
2004-12-20 00:49:36 +00:00
Dr. Stephen Henson
c05a7f5dfd
Don't use multiple storage types.
2004-12-19 01:21:18 +00:00
Geoff Thorpe
627bd6709c
Fix typos in the ecparam doc.
...
Submitted by: Nils Larsch
2004-12-17 05:42:00 +00:00
Richard Levitte
fbf218b8c3
make update (oops, missed this file)
2004-12-13 22:57:39 +00:00
Richard Levitte
3c97bd833b
Change libeay.num so it's synchronised with additions in 0.9.7-stable.
...
make update
2004-12-13 22:57:08 +00:00
Dr. Stephen Henson
abbc186bd2
Fix s_client so it works without a certificate again.
2004-12-13 18:02:23 +00:00
Richard Levitte
de6859e442
Propagate a few more variables to Makefile.shared when linking
...
programs.
2004-12-13 17:28:44 +00:00
Dr. Stephen Henson
5e8904f289
Remove duplicate lines.
2004-12-12 13:15:49 +00:00
Andy Polyakov
0c0788ba0a
Solaris x86 perlasm update.
2004-12-10 11:24:42 +00:00
Andy Polyakov
905fd45b36
Engage SHA1 IA64 assembler on IA64 platforms.
2004-12-09 15:39:55 +00:00
Dr. Stephen Henson
c162b132eb
Automatically mark the CRL cached encoding as invalid when some operations
...
are performed.
2004-12-09 13:35:06 +00:00
Andy Polyakov
b4e0ce5165
SHA1 assembler for IA-64.
2004-12-09 11:57:38 +00:00
Andy Polyakov
17f0e916db
Extend RC4 test.
2004-12-07 11:55:56 +00:00
Dr. Stephen Henson
3dfa23cbc4
Update 'certs' directory. Move expired certificates to expired directory
...
and zero assurance demontrations CAs to 'demo'.
2004-12-05 19:48:02 +00:00
Dr. Stephen Henson
a37e22d866
Use X509_cmp_time() in -checkend option, to support GeneralizedTime.
2004-12-05 18:26:19 +00:00
Dr. Stephen Henson
41c70d47d7
Remaing bits of PR:620 relevant to 0.9.8.
2004-12-05 01:50:56 +00:00
Dr. Stephen Henson
a0e7c8eede
Add lots of checks for memory allocation failure, error codes to indicate
...
failure and freeing up memory if a failure occurs.
PR:620
2004-12-05 01:03:15 +00:00
Dr. Stephen Henson
a8e00b17ce
Update year.
2004-12-05 00:51:41 +00:00
Dr. Stephen Henson
3e66ee9f01
In by_file.c check last error for no start line, not first error.
2004-12-04 21:25:51 +00:00
Dr. Stephen Henson
5b40d7dd97
Add -passin argument to dgst command.
2004-12-03 12:26:56 +00:00
Dr. Stephen Henson
8f284faaec
V1 certificates that aren't self signed can't be accepted as CAs.
2004-12-03 00:10:34 +00:00
Andy Polyakov
f774accdbf
Fix rc4-ia64.S to pass more exhaustive regression tests.
2004-12-02 10:07:55 +00:00
Dr. Stephen Henson
8544a80776
Add couple of OIDs. Resync NIDs for consistency with 0.9.7.
2004-12-01 18:09:53 +00:00
Andy Polyakov
7c69478064
I've introduced a bug to i386 RC4 assembler, which would emerge with
...
certain mix of calls to RC4 routine not covered by rc4test.c.
It's fixed now. In addition this patch inadvertently fixes minor
performance problem: in 0.9.7 context P4 was performing 12% slower
than the original implementation...
2004-12-01 15:28:18 +00:00
Dr. Stephen Henson
1862dae862
Perform partial comparison of different character types in X509_NAME_cmp().
2004-12-01 01:45:30 +00:00
Andy Polyakov
b7b46c9a87
Add 0.9.7 specific comments to RC4 assembler modules.
2004-11-30 15:46:46 +00:00
Mark J. Cox
e6e1f4cb5e
Mention that the keys likely to have signed the distribution are now
...
listed on the web site for easy finding and downloading
2004-11-30 14:34:16 +00:00
Richard Levitte
5073ff0346
Split X509_check_ca() into a small self and an internal function
...
check_ca(), to resolve constness issue. check_ca() is called from the
purpose checkers instead of X509_check_ca(), since the stuff done by
the latter (except for calling check_ca()) is also done by
X509_check_purpose().
2004-11-30 12:18:55 +00:00
Andy Polyakov
fc7fc5678f
sha1_block_asm_data_order can't hash if message crosses 2GB boundary.
2004-11-29 21:19:56 +00:00
Andy Polyakov
7a3240e319
Final touches to rc4/asm/rc4-596.pl, +52% better performance on AMD core.
2004-11-29 21:12:58 +00:00
Richard Levitte
5022e4ecdf
Document the change.
2004-11-29 11:57:00 +00:00
Richard Levitte
30b415b076
Make an explicit check during certificate validation to see that the
...
CA setting in each certificate on the chain is correct. As a side-
effect always do the following basic checks on extensions, not just
when there's an associated purpose to the check:
- if there is an unhandled critical extension (unless the user has
chosen to ignore this fault)
- if the path length has been exceeded (if one is set at all)
- that certain extensions fit the associated purpose (if one has been
given)
2004-11-29 11:28:08 +00:00
Andy Polyakov
914c2a28c0
perlasm/x86[ms|nasm] update to accomodate updated RC4 assembler module.
2004-11-27 15:14:58 +00:00
Andy Polyakov
ea681ba872
Summarize recent RC4 tune-ups.
2004-11-26 15:26:09 +00:00
Andy Polyakov
bc3e7fabe7
Engage RC4 IA-64 assembler module.
2004-11-26 15:12:17 +00:00
Andy Polyakov
d675c74d14
RC4 IA-64 assembler implementation.
2004-11-26 15:07:50 +00:00
Dr. Stephen Henson
59c7029862
Typo.
2004-11-26 01:04:55 +00:00
Dr. Stephen Henson
1582a4073e
Add errstr manual page
2004-11-25 18:21:26 +00:00
Dr. Stephen Henson
401ee37a3e
Allow alternative manual sections to be embedded in .pod file comments.
2004-11-25 17:47:31 +00:00
Dr. Stephen Henson
cb26a20cb1
Update docs
2004-11-25 14:14:25 +00:00
Dr. Stephen Henson
82c4674e47
Update docs.
2004-11-25 14:11:25 +00:00
Dr. Stephen Henson
9d2996b82f
Check return code of EVP_CipherInit() in PKCS#12 code.
2004-11-24 01:21:03 +00:00
Dr. Stephen Henson
3fee255102
Typo.
2004-11-23 21:40:10 +00:00
Dr. Stephen Henson
16df5f066a
Fix memory leak.
2004-11-23 21:22:21 +00:00
Andy Polyakov
959f9b1158
linux-x86_64 didn't link after EM64T RC4 tune-up...
2004-11-23 09:06:12 +00:00
Andy Polyakov
376729e130
RC4 tune-up for Intel P4 core, both 32- and 64-bit ones. As it's
...
apparently impossible to compose blended code with would perform
satisfactory on all x86 and x86_64 cores, an extra RC4_CHAR
code-path is introduced and P4 core is detected at run-time. This
way we keep original performance on non-P4 implementations and
turbo-charge P4 performance by factor of 2.8x (on 32-bit core).
2004-11-21 10:36:25 +00:00
Dr. Stephen Henson
00dd8f6d6e
In "req" exit immediately if configuration file is needed and it can't
...
be loaded instead of giving the misleading:
"unable to find 'distinguised_name' in config"
error message.
2004-11-17 18:36:13 +00:00
Dr. Stephen Henson
5dd87981bf
Update X509v3 doc.
2004-11-17 00:55:43 +00:00
Dr. Stephen Henson
37dccd8ff2
Update X509v3 docs.
2004-11-16 17:45:13 +00:00
Dr. Stephen Henson
826a42a088
PR: 910
...
Add command line options -certform, -keyform and -pass to s_client and
s_server. This supports the use of alternative passphrase sources, key formats
and keys handled by an ENGINE.
Update docs.
2004-11-16 17:30:59 +00:00
Dr. Stephen Henson
19f39703f7
Initial pod documentation of X509V3 config file format.
2004-11-16 14:09:12 +00:00
Dr. Stephen Henson
151368ccba
PR: 940
...
Typo: use prompt_info, not cb_data->prompt_info.
2004-11-14 15:40:00 +00:00
Dr. Stephen Henson
4451c2558e
PR: 923
...
Typo.
2004-11-14 15:11:37 +00:00
Dr. Stephen Henson
4a64f3d665
PR: 938
...
Typo.
2004-11-14 13:55:16 +00:00
Dr. Stephen Henson
5fee606442
Zap obsolete der_chop script.
2004-11-14 00:08:36 +00:00
Dr. Stephen Henson
521aaafc6a
PR: 969
...
Submitted by: David Holmes <davidh@3blackdogs.com >
2004-11-13 13:38:34 +00:00
Dr. Stephen Henson
78df5a2f1e
Fix x509.c so it creates serial number file again if no
...
serial number is supplied on command line.
2004-11-13 13:26:06 +00:00
Richard Levitte
6c9f57d629
Cut'n'paste mistake. All tested OK now...
2004-11-11 19:36:08 +00:00
Richard Levitte
382342ce1d
Whoops, syntactic mistake...
2004-11-11 18:58:01 +00:00
Richard Levitte
69c922f5d2
Some find it confusing that environment variables are set when shared
...
libraries aren't built or used. I can see the point, so I'm
reorganising a little for clarity.
2004-11-11 18:18:43 +00:00
Dr. Stephen Henson
10c8505734
Use the default_md config file value when signing CRLs.
...
PR:662
2004-11-11 13:47:06 +00:00
Dr. Stephen Henson
10f92aac33
Don't return an error with crl -noout.
...
PR:917
Sumbmitted by: Michael Konietzka <konietzka@schlund.de >
2004-11-11 02:13:08 +00:00
Andy Polyakov
68d9e764cb
As was shown by Marc Bevand reordering of couple of load operations
...
results in even higher performance gain of 3.3x:-) At least on
Opteron...
2004-11-09 17:23:26 +00:00
Richard Levitte
8de69cf2c6
Make sure LD_PRELOAD is only set when we build shared libraries (and
...
therefore link with them). Add LD_PRELOAD setting code where it was
still missing.
PR: 966
2004-11-05 09:12:10 +00:00
Richard Levitte
a2ac429da2
Don't use $(EXHEADER) directly in for loops, as most shells will break
...
if $(EXHEADER) is empty.
Notified by many, solution suggested by Carson Gaspar <carson@taltos.org >
2004-11-02 23:55:01 +00:00
Richard Levitte
ffd0f93f14
Because -rpath/-R may have been used, our settings of LD_LIBRARY_PATH
...
and friends may be entirely useless. In such a case, LD_PRELOAD is
the answer, at least on platforms using LD_LIBRARY_PATH. There might
be other variables to set on other platforms, please fill us in...
For now, we only do this with the tests, so they won't fail for silly
reasons like getting dynamically linked to older installed libraries
rather than the newly built ones...
PR: 960
2004-11-02 01:13:04 +00:00
Richard Levitte
1a4b8e7cee
Make sure memmove() is defined, even on SunOS 4.1.4.
...
PR: 963
2004-11-01 07:58:38 +00:00
Dr. Stephen Henson
03386677ed
Update NEWS
2004-10-25 17:11:19 +00:00
Dr. Stephen Henson
559f90ff60
Update FAQ.
2004-10-25 12:36:33 +00:00
Dr. Stephen Henson
c284f20f00
Fix race condition when SSL ciphers are initialized.
2004-10-25 11:14:16 +00:00
Geoff Thorpe
58ae65cd1a
Update ECDSA and ECDH for OPENSSL_NO_ENGINE.
...
Reported by: Maxim Masiutin
Submitted by: Nils Larsch
2004-10-21 00:06:14 +00:00
Richard Levitte
5b0f1f7d13
Because libraries on Windows lack useful version information, the zlib
...
guys had to change the name to differentiate with older versions when
a backward incompatibility came up. Of course, we need to adapt.
This change simply tries to load the library through the newer name
(ZLIB1) first, and if that fails, it tries the good old ZLIB.
2004-10-14 05:48:59 +00:00
Dr. Stephen Henson
785e827323
Oops!
2004-10-04 17:28:31 +00:00
Dr. Stephen Henson
2f605e8d24
Fix race condition when CRL checking is enabled.
2004-10-04 16:30:12 +00:00
Dr. Stephen Henson
5e2216bfa1
Update debug-steve
2004-10-01 11:35:38 +00:00
Dr. Stephen Henson
175ac6811a
Don't use C++ reserved work "explicit".
2004-10-01 11:21:53 +00:00
Andy Polyakov
07d488daf6
Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoid
...
"remaining relocations" in assembler modules. The latter seems to
be new behaviour, elder as/ld managed to resolve this relocations
as internal. It's possible to address this problem differently,
but I settle for -Bsymbolic...
PR: 546
2004-09-28 20:45:10 +00:00
Richard Levitte
d1360f6ecc
usr/doc has recently changed to usr/share/doc on Cygwin.
...
Notified by Corinna Vinschen <vinschen@redhat.com >
2004-09-28 13:10:16 +00:00
Richard Levitte
c38ff58b6b
Move the declaration of alloca() so it's ony declared when really
...
necessary.
2004-09-27 21:59:44 +00:00
Andy Polyakov
c29ef588dc
SHA1 asm Pentium tune-up. Performance loss is not as bad anymore.
2004-09-27 09:37:03 +00:00
Andy Polyakov
968c31bd84
sha256_block advances the input pointer double as fast sometimes. Fix the
...
bug and test that it's actually gone.
PR: 950
2004-09-27 09:35:59 +00:00
Geoff Thorpe
c743966156
Nils Larsch reported that this include is required. Strange that this had
...
gone unnoticed ...
2004-09-24 23:37:52 +00:00
Richard Levitte
bb09fd2bb6
Import changed files from LPlib. The changes are logged as follows
...
for LPdir_unix.c in LPlib. For the other files, only the last log
entry applies.
----------------------------
revision 1.11
date: 2004/09/23 22:07:22; author: _cvs_levitte; state: Exp; lines: +20 -6
Define my own macro LP_ENTRY_SIZE to express the size of my own
buffering of directory entries, and make it depend on whichever comes
first of PATH_MAX and NAME_MAX. As a fallback, make sure it's set to
255 if neither PATH_MAX or NAME_MAX were defined. Also, if the size
given from PATH_MAX or NAME_MAX is less than 255, force LP_ENTRY_SIZE
to be 255.
It makes no harm whatsoever if LP_ENTRY_SIZE is larger than the
maximum local path name limit. It does make a lot of harm if
LP_ENTRY_SIZE is smaller. 255 seemed like a fairly acceptable default
when nothing else is available.
----------------------------
revision 1.10
date: 2004/08/26 13:36:05; author: _cvs_levitte; state: Exp; lines: +13 -13
License correction. I am not REGENTS, just a COPYRIGHT HOLDER.
----------------------------
2004-09-23 22:11:39 +00:00
Geoff Thorpe
280eb33b59
Remove distracting comments and code. Thanks to Nils for picking up on the
...
outstanding ticket.
PR: 926
2004-09-19 04:55:15 +00:00
Geoff Thorpe
f79110c633
Two TODO comments taken care of. Nils pointed out that one of them had already
...
been done, and took care of the other one (which hadn't).
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-09-19 04:43:46 +00:00
Geoff Thorpe
6ef2ff62fc
Make -Werror happy again.
2004-09-18 01:32:32 +00:00
Dr. Stephen Henson
980aea7860
Check ASN1_TYPE structure type is a SEQUENCE in PKCS7_get_smimecap().
2004-09-15 23:47:25 +00:00
Dr. Stephen Henson
bd9327baa9
Change values of MBSTRING_* to the form MBSTRING_FLAG|nbyte as assumed
...
in ASN1_STRING_to_UTF8().
2004-09-13 22:33:56 +00:00
Richard Levitte
6f9bafafa3
- There's no more need for the snprintf macro.
...
- Move the inclusion of malloc.h until after all other includes, so we
can do proper tests of system macros.
- Make sure the correct header file is included to get the builtin
"alloca" under VMS, and define a macro to map the symbol 'alloca' to
it.
2004-09-13 09:15:06 +00:00
Richard Levitte
422a4a33a5
Synchronise with Unix build.
2004-09-12 13:02:04 +00:00
Dr. Stephen Henson
58606421ae
When looking for request extensions in a certificate look first
...
for the PKCS#9 OID then the non standard MS OID.
2004-09-10 20:20:54 +00:00
Richard Levitte
d813ff2ac1
make update
2004-09-10 10:30:33 +00:00
Andy Polyakov
36734b2bab
Make VIA Padlock engine more platform friendly and eliminate compiler
...
warning.
Submitted by: Doug Kaufman <dkaufman@rahul.net >
2004-09-09 14:54:12 +00:00
Andy Polyakov
c85c5c408a
x86 assembler updates: more instructions, new OPENSSL_instrument_halt
...
[for DJGPP]...
2004-09-09 14:50:32 +00:00
Richard Levitte
2c1677d703
Synchronise VMS build files with Unixly Makefiles.
2004-09-08 08:13:34 +00:00
Richard Levitte
72348cbb8d
Another symbol longer than 31 characters...
2004-09-08 08:13:03 +00:00
Dr. Stephen Henson
c431798e82
Reformat smime utility.
...
Add support for policy checking in verify utility.
2004-09-07 18:38:46 +00:00
Dr. Stephen Henson
fb80794568
Don't use 'explicit' for variable name.
2004-09-07 00:31:08 +00:00
Dr. Stephen Henson
4ec3d785e5
Reformat smime.c
2004-09-07 00:28:17 +00:00
Dr. Stephen Henson
5d7c222db8
New X509_VERIFY_PARAM structure and associated functionality.
...
This tidies up verify parameters and adds support for integrated policy
checking.
Add support for policy related command line options. Currently only in smime
application.
WARNING: experimental code subject to change.
2004-09-06 18:43:01 +00:00
Dr. Stephen Henson
d993addbed
Stop compiler warnings.
2004-09-06 18:37:46 +00:00
Andy Polyakov
476b6ab541
TABLE OpenBSD-i386 update
2004-08-29 22:05:02 +00:00
Andy Polyakov
16760a3089
Proper support for OpenBSD-i386 shared build, including assember modules!
...
"Proper" means "compiles and passes test." Versioning is broken (I think).
2004-08-29 21:36:37 +00:00
Andy Polyakov
2b247cf81f
OPENSSL_ia32cap final touches. Note that OPENSSL_ia32cap is no longer a
...
symbol, but a macro expanded as (*(OPENSSL_ia32cap_loc())). The latter
is the only one to be exported to application.
2004-08-29 16:36:05 +00:00
Andy Polyakov
746fc2526f
Fix compiler warnings in crypto/evp/bio_ok.c as pointed out by Geoff.
2004-08-29 16:19:27 +00:00
Andy Polyakov
a8c65b400c
crypto/perlasm update primarily to unify Netware modules. Once it's verified
...
x86*_nw.pl will be deleted. In addition this update implements initseg
on several additional [in addition to ELF] platforms. Functions registered
with initseg are supposed to be called prior main().
2004-08-29 16:10:27 +00:00
Andy Polyakov
526975906b
Minor VIA Padlock engine update: eliminate -Wunused warning when *not*
...
compiling the engine and inline memcpy in performance critical pathes.
2004-08-24 09:01:09 +00:00
Andy Polyakov
14fa6ad9f9
Make aes_ctr.c 64-bit savvy.
2004-08-23 22:19:51 +00:00
Richard Levitte
e544b0dc2a
'compatibility', not 'computability' :-)...
2004-08-18 15:48:33 +00:00
Richard Levitte
2549564009
On systems that use case-insensitive symbol names (i.e. they're all
...
converted to upper case or something like that), the application-
level bio_dump_cb() has a name clash with the new library function
BIO_dump_cb(). The easiest fix is to rename the function at the
application level.
2004-08-12 08:58:55 +00:00
Richard Levitte
bb1a915c24
Basically, I wanted to be able to make a dump to a FILE*, and not have
...
to bother creating a BIO around it. So here's a few more functions to
make it possible to make the dump using a printing callback, and to
print to a FILE* (based on the callback variant), done in the same
style as the functions in crypto/err/err_prn.c.
2004-08-11 21:13:57 +00:00
Richard Levitte
b94f886b22
Stupid casts...
2004-08-11 17:41:15 +00:00
Dr. Stephen Henson
6ef7b78e7c
Update FAQ.
2004-08-11 17:22:13 +00:00
Dr. Stephen Henson
e08aad1d14
Make ASN1_INTEGER_cmp() work as expected with negative integers.
2004-08-10 17:40:14 +00:00
Dr. Stephen Henson
b5a93e2250
Call setup_engine after autoconfig.
2004-08-06 12:44:34 +00:00
Dr. Stephen Henson
c128bb0fa2
Don't ignore return value of EVP_DigestInit_ex() in md BIOs and dgst utility.
2004-08-05 18:09:50 +00:00
Geoff Thorpe
30fe028f07
Make a note of the new engine.
2004-08-04 22:42:29 +00:00
Andy Polyakov
b88606c28e
Padlock engine update to fix a typo in MSC assembler and to address
...
potential corruption problem if user manages to inter-leave aligined
and misaligned requests [as well as some MSC-specific tweaks].
2004-08-04 12:58:26 +00:00
Richard Levitte
2ea6abf6e5
DJGPP has opendir() and friends, according to Gisle Vanem <giva@bgnett.no>.
2004-08-03 19:15:21 +00:00
Andy Polyakov
f8c469de73
If they ask for 386, keep it as 386 as possible...
2004-08-02 22:41:19 +00:00
Andy Polyakov
42096e05f7
Avoid a.out name table pollition.
2004-08-02 22:02:17 +00:00
Andy Polyakov
7d15a556f8
Minor clean-up to make Microsoft compiler shut up.
2004-08-02 21:54:40 +00:00
Andy Polyakov
5b17246324
VIA C3 processor extends IA-32 instruction set with instuctions
...
performing AES encryption in hardware, as well as one accessing
hardware RNG. As you surely imagine this engine access this
extended instruction set. Well, only AES for the moment, support
for RNG is to be added later on...
PR: 889
Submitted by: Michal Ludvig <michal@logix.cz >
Obtained from: http://www.logix.cz/michal/devel/padlock/
2004-08-02 21:48:11 +00:00
Andy Polyakov
c77094415f
Cygwin fix-up for shared build.
2004-08-01 21:24:34 +00:00
Andy Polyakov
34413fca84
OpenBSD fix-up for new a.out targets. OpenBSD .s.o rule is busted...
2004-08-01 21:16:26 +00:00
Andy Polyakov
ec38ddc765
Clean-up GAS targets: get rid of "cpp" stuff and replace it with "purified"
...
COFF and a.out targets [similar to ELF targets]. You might notice some
rudementary support for shared mingw builds under cygwin. It works (it
produces cryptoeay32.dll and ssleay32.dll with everything exported by
name), but it's primarily for testing/debugging purposes, at least for
now...
2004-08-01 17:33:58 +00:00
Andy Polyakov
8aae01e223
Deprecate cpp and gaswin targets. New coff fills in for gaswin, but cpp is
...
going out...
2004-08-01 17:03:50 +00:00
Andy Polyakov
00555c2f2f
DLLEntryPoint is a collective name, not what linker looks for. However,
...
if we explicitly intruct the linker to set entry point, then we become
obliged to initialize run-time library. Instead we can pick name run-time
will call and such name is DllMain. Note that this applies to both
"native" Win32 environment and Cygwin:-)
2004-08-01 14:27:43 +00:00
Richard Levitte
07d80f6f35
We build the crypto stuff, not the ssl stuff, in this command procedure...
2004-07-29 22:25:59 +00:00
Richard Levitte
4591850561
The compiler may complain about what looks like a double definition of a
...
static variable
2004-07-27 13:58:27 +00:00
Dr. Stephen Henson
a25aca2943
Oops, wrong version...
2004-07-27 00:19:58 +00:00
Dr. Stephen Henson
48c524827b
Add FIPS library name to error routines.
2004-07-27 00:19:18 +00:00
Andy Polyakov
ebaec63e3e
This is so to say "damage control" for jumbo "cpuid" patch, see
...
http://cvs.openssl.org/chngview?cn=12493 . Now all platform should
be operational, while SSE2 code pathes get engaged on ELF platforms
only.
2004-07-26 22:01:50 +00:00
Andy Polyakov
14e21f863a
Add framework for yet another assembler module dubbed "cpuid." Idea
...
is to have a placeholder to small routines, which can be written only
in assembler. In IA-32 case this includes processor capability
identification and access to Time-Stamp Counter. As discussed earlier
OPENSSL_ia32cap is introduced to control recently added SSE2 code
pathes (see docs/crypto/OPENSSL_ia32cap.pod). For the moment the
code is operational on ELF platforms only. I haven't checked it yet,
but I have all reasons to believe that Windows build should fail to
link too. I'll be looking into it shortly...
2004-07-26 20:18:55 +00:00
Andy Polyakov
f10725a6e1
Zero key-length for HMAC is apparently OK.
2004-07-25 20:24:49 +00:00
Andy Polyakov
0f71b77d5c
Make bio_ok.c Microsoft compiler savvy.
2004-07-25 20:13:30 +00:00
Andy Polyakov
d6bb6a88be
Typos, typos...
2004-07-25 20:09:56 +00:00
Andy Polyakov
3205db2bfe
Make bio_ok.c 64-bit savvy.
2004-07-25 19:37:41 +00:00
Andy Polyakov
6f86850eec
Stricter boundary condition check in HMAC_Init_ex.
2004-07-25 19:25:05 +00:00
Andy Polyakov
16ab8a93bc
Minor 64-bit md32_common.h update and minor unsignification of digests.
2004-07-25 19:10:43 +00:00
Andy Polyakov
c88f8f76b5
'apps/openssl dgst -help' update and minor apps/speed.c update.
2004-07-25 18:57:35 +00:00
Andy Polyakov
fbf96849e9
Make SHA-256/-512 optional. Note that no-sha switches off *all* SHA.
2004-07-25 18:25:24 +00:00
Andy Polyakov
d70e2507f8
Some compilers are just too whiny. Nothing makes Microsoft compiler
...
stop complaining about loss of precision, but explicit cast.
2004-07-25 17:00:56 +00:00
Andy Polyakov
2fcf435d73
Some compilers are just too whiny. DEC C doesn't like long long...
2004-07-25 16:54:08 +00:00
Andy Polyakov
da2ee71de5
Typos and due casts. As for the latter. It's "safe" to cast as below,
...
because "wrong" casts will either be optimized away or never performed.
2004-07-25 16:48:28 +00:00
Andy Polyakov
8611934352
Minor HP-UX make update. IA-64-based HP-UX favor .so extension for shared
...
libraries. Old .sl extension works just fine, but it .so which is default.
2004-07-24 14:17:32 +00:00
Andy Polyakov
01e94efd46
TABLE update.
2004-07-23 23:29:25 +00:00
Andy Polyakov
33c3ecf741
Build-n-link new IA-64 modules on Linux and HP-UX.
2004-07-23 23:27:10 +00:00
Andy Polyakov
5bd4c26057
Various IA-64 assembler fix-ups.
2004-07-23 22:54:18 +00:00
Andy Polyakov
4aa5889e1a
VC-NT was taken away by mistake, putting it back...
2004-07-23 20:46:41 +00:00
Andy Polyakov
bafcc7e060
Win64 placeholder targets. This is merely naming suggestion. As we know
...
Win64 comes in two flavors, IA-64/Itanium and AMD64/Opteron. The
suggestion is to refer to former as WIN64I and latter - WIN64A
2004-07-23 19:18:20 +00:00
Andy Polyakov
afe67fb28e
Adapt rc4-amd64.pl for Win64/AMD64 assembler.
2004-07-23 17:51:17 +00:00
Richard Levitte
f744f92adb
From LPlib:
...
Apparently, the length *including* the NUL byte should be used.
Contributed by Andy Polyakov <appro@fy.chalmers.se >
2004-07-22 18:34:06 +00:00
Richard Levitte
75f134c077
From LPlib:
...
Make a nicer comment, as we don't really know for sure that it's
really needed, and just want to play on the safe side.
Suggest by Andy Polyakov <appro@fy.chalmers.se >
2004-07-22 13:00:14 +00:00
Andy Polyakov
d8d25c9603
WinCE should always be compiled as UNICODE, even debugging version...
2004-07-22 11:08:31 +00:00
Andy Polyakov
f1bdf1d518
#include <limits.h> is required at least on HP-UX and IRIX. And what's
...
with HP-UX offering 14 for NAME_MAX?
2004-07-22 10:53:26 +00:00
Andy Polyakov
d58caee734
EVP_Digest is size_t-fied, clean up test programs accordingly.
2004-07-22 10:25:52 +00:00
Andy Polyakov
e39c2548f5
Run SHA-256/-512 tests through EVP...
2004-07-22 10:21:13 +00:00
Andy Polyakov
8169dd73f9
All SIXTY_FOUR_BIT platforms (mind the difference between SIXTY_FOUR_BIT and
...
SIXTY_FOUR_BIT_LONG) were failing to pass 'cd test; make test_bn'.
2004-07-22 09:32:11 +00:00
Richard Levitte
765e231a7c
From LPlib:
...
Some code beautification.
Change the macro CP_THREAD_ACP to CP_ACP, because the latter is more
widely defined.
Add a conditional macro definition in case FindFirstFile and
FindNextFile aren't properly defined (might happen on WinCE).
Suggested by Andy Polyakov <appro@fy.chalmers.se >
2004-07-21 21:16:21 +00:00
Andy Polyakov
89c53672c2
Make rand_win.c UNICODE savvy.
2004-07-21 17:17:30 +00:00
Richard Levitte
64ba6cf222
From LPlib:
...
Windows changes that detects if multibyte characters are available and
deals with them properly.
Contributed by Andy Polyakov <appro@fy.chalmers.se >
2004-07-20 21:24:43 +00:00
Richard Levitte
210a4f78ae
Imported from LPlib, making sure the entry name (at least on Unix) is
...
NUL-teminated at all times, and that we don't make unneeded calls to
free().
2004-07-19 16:36:28 +00:00
Richard Levitte
334ef04949
Since version 7.0, The C RTL in VMS handles time in terms of UTC
...
instead of local time.
2004-07-19 07:50:43 +00:00
Andy Polyakov
859ceeeb51
Anchor AES and SHA-256/-512 assembler from C.
2004-07-18 17:26:01 +00:00
Andy Polyakov
22edcae7fa
Type in Configure and TABLE update.
2004-07-18 16:22:53 +00:00
Andy Polyakov
d0590fe6b2
Add anchors for AES, SHA-256/-512 assembler modules and SSE2 code pathes.
...
I also used this opportunity to clean up some out-of-date targets and
re-group targets by OS.
2004-07-18 16:19:34 +00:00
Andy Polyakov
2232b10f5a
Add licensing terms.
2004-07-17 13:24:58 +00:00
Andy Polyakov
e34794dd1b
IA-64 is intolerant to misaligned access. It was a problem on Win64 as
...
we were mislead by _MSC_VER macro, which is defined by *all* Windows
Microsoft compilers.
2004-07-17 12:55:55 +00:00
Geoff Thorpe
0210065bbd
Quick fix.
...
Submitted by: Nils Larsch
2004-07-16 03:24:51 +00:00
Geoff Thorpe
7f5b4dd1e8
Using Horner's algorithm to evaluate the ec polynomial
...
(suggested by Adam Young <ayoung@cigital.com >)
Submitted by: Nils Larsch
2004-07-16 03:24:19 +00:00
Richard Levitte
5906e8d5fe
I think it could be a good thing to know what went wrong with the tests...
2004-07-12 12:25:54 +00:00
Richard Levitte
5545607c4f
make update
...
(incidently, this also tells VMS that there exists a new symbol in the
SSL library)
2004-07-12 11:25:48 +00:00
Richard Levitte
6ac1571296
Because it's one of our libraries calling new functions in the other,
...
we need to have them among the symbols that should appear in the
transfer table, at least on VMS (and it wouldn't surprise me if
Windows would whine as well).
2004-07-12 11:24:55 +00:00
Bodo Möller
ca74b76f3e
improve wording
2004-07-12 06:23:28 +00:00
Richard Levitte
2b6174c478
Some test programs in crypto/sha were named differently than usual...
2004-07-11 20:30:33 +00:00
Richard Levitte
2b002273f3
'SSL_add_dir_cert_subjects_to_stack' is longer than 31 characters.
...
Lucky me, I had prepared for this :-).
2004-07-11 20:22:37 +00:00
Richard Levitte
15d155e45a
o_dir needs to be compiler with the warnings about dollar signs in
...
identities disabled.
2004-07-11 20:21:56 +00:00
Richard Levitte
b0841348b6
In some cases, EVMSERR isn't visible (that's fairly new...).
...
Don't have a constant that you're going to assign to, that's just
plain stupid (I was the stupidhead here...).
2004-07-11 20:21:19 +00:00
Andy Polyakov
090e81d4aa
Integration of RC4 AMD64 module.
2004-07-11 16:49:09 +00:00
Andy Polyakov
e4528e48e3
RC4 tune-up for AMD64. Performance improvement of 2.22x is measured for
...
linux-x86_64 target.
2004-07-11 16:44:07 +00:00
Bodo Möller
235dee1421
BIS correction/addition
2004-07-11 08:58:43 +00:00
Richard Levitte
d28f7bc74d
make update
2004-07-10 13:18:23 +00:00
Richard Levitte
4083a229b4
Use the new directory reading functions.
2004-07-10 13:17:16 +00:00
Richard Levitte
a2400fcab8
Copy a few files from LPlib (a new project of mine), add a wrapper.
...
Now we have directory reading capabilities for VMS as well, and all
of it in a fairly general manner.
2004-07-10 13:16:02 +00:00
Richard Levitte
dc56eb5079
o_str.c: Windows doesn't have <strings.h>, and since we use _strnicmp() and
...
_stricmp() on that platform, use the appropriate header file for it,
<string.h>.
o_str.h: we only want to get size_t, which is defined in <stddef.h>.
Philippe Bougeret <philippe.bougeret@freesbee.fr > notified us about Windows
not having a <strings.h>
2004-07-08 08:32:48 +00:00
Dr. Stephen Henson
637ff35ef6
Delta CRL support in extension code.
2004-07-06 17:16:40 +00:00
Geoff Thorpe
ace3ebd661
Improve error handling if decompression of an ec point fails, and cleanup
...
ec_curve.c (unify comments, etc).
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller, Geoff Thorpe
2004-07-06 15:50:04 +00:00
Dr. Stephen Henson
eea674567c
Delete non-POSIX header file.
2004-07-04 16:48:27 +00:00
Dr. Stephen Henson
c39c32dd65
PKCS#8 fixes from stable branch.
2004-07-04 16:44:52 +00:00
Dr. Stephen Henson
0efea28dcb
Don't try to parse non string types.
2004-07-01 18:15:33 +00:00
Dr. Stephen Henson
4bab9b763d
Stop compiler warnings with debug-steve
2004-07-01 18:14:31 +00:00
Richard Levitte
70696f4525
Explain a little better what BN_num_bits() and BN_num_bits_word() do.
...
Add a note as to how these functions do not always return the key size, and
how one can deal with that.
PR: 907
2004-07-01 12:33:39 +00:00
Andy Polyakov
80bbc9ceaf
Minor (+12% on P4) performance tweak for sha512_block_sse2.
2004-07-01 11:29:00 +00:00
Andy Polyakov
51ce5230cd
AES assembler implementation for IA-64. Note that there is no anchor from
...
C code yet...
2004-07-01 11:15:23 +00:00
Andy Polyakov
b6d8ba11e9
New SHA algorithms assembler implementation for IA-64. Note that despite
...
module name both SHA-256 and SHA-512 are supported.
2004-07-01 11:13:44 +00:00
Andy Polyakov
e2f2a9af2c
New scalable bn_mul_add_words loop, which provides up to >20% overall
...
performance improvement. Make module more gcc friendly and clarify
copyright issues for division routine.
2004-07-01 11:10:38 +00:00
Richard Levitte
28a8003467
Changes for VOS, submitted by Paul Green <Paul.Green@stratus.com>.
...
PR: 499
2004-06-28 22:01:37 +00:00
Richard Levitte
563cd0f2b0
Make the tests of EVP operations without padding. As a consequence,
...
there's no need for a larger BUFSIZE any more...
PR: 904
2004-06-28 16:32:12 +00:00
Richard Levitte
3ac0f28837
Make sure that the buffers are large enough to contain padding.
...
PR: 904
2004-06-28 12:23:35 +00:00
Richard Levitte
47c1735acd
NetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.
...
The changes have been mailed to <crypt@bis.doc.gov > as well.
PR: 903
2004-06-28 11:55:28 +00:00
Richard Levitte
7d3932e8cf
Linux on ARM needs -ldl
...
PR: 905
2004-06-28 10:31:03 +00:00
Dr. Stephen Henson
8a60547896
Reformat pkcs8 source.
2004-06-24 13:10:54 +00:00
Geoff Thorpe
d459e39012
Tidy up, including;
...
- Remove unused and unuseful debug cruft.
- Remove unnecessary 'top' fudging from BN_copy().
- Fix a potential memory leak and simplify the expansion logic in
BN_bin2bn().
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-06-20 04:16:12 +00:00
Dr. Stephen Henson
afd61c63c2
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2004-06-19 13:18:03 +00:00
Dr. Stephen Henson
9a2073b4cd
file fips_dh_key.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2004-06-19 13:16:54 +00:00
Dr. Stephen Henson
f28468188b
file fips_dh_gen.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2004-06-19 13:16:52 +00:00
Dr. Stephen Henson
8871d87512
file fips_dh_check.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2004-06-19 13:16:49 +00:00
Dr. Stephen Henson
a2b81188be
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:14 +0000
2004-06-19 13:16:47 +00:00
Geoff Thorpe
340f5856ec
Incomplete initial sweep over the engine code. Mainly reducing some
...
comment-noise to managable levels and inverting the sense of the "uptodate"
boolean (which was counter-intuitive the way I'd left it).
2004-06-19 03:58:42 +00:00
Geoff Thorpe
df11e1e921
Deprecate unused cruft, and "make update".
2004-06-17 23:50:25 +00:00
Geoff Thorpe
6a6592962c
Attempt to bring the 'engine' documentation up to date w.r.t missing
...
prototypes, etc. Also, some fairly significant edits were made to the text
(who wrote this crap anyway? oh wait ...), removing stuff which is
overkill, rewriting stuff that was opaque, correcting things that were just
downright false, etc.
2004-06-17 23:40:14 +00:00
Geoff Thorpe
1275c4569e
Minor change to group like functions together.
2004-06-17 23:35:45 +00:00
Geoff Thorpe
afbe74d386
Actually, that last change to BN_get_word() was a little too simple.
2004-06-17 22:05:40 +00:00
Geoff Thorpe
f18ea6cae9
Get rid of signed/unsigned warnings, and teach CVS about new things to
...
ignore.
2004-06-17 20:28:28 +00:00
Geoff Thorpe
c9ff40cecd
Tweak my debug target flags.
2004-06-17 20:26:21 +00:00
Geoff Thorpe
9088d5f24f
As Nils put it;
...
Yet another question: some time ago you changed BN_set_word.
Why didn't you change BN_get_word as well?
Quite. I'm also removing the older commented-out implementations to improve
readability. This complex stuff seems to date from a time when the types
didn't match up well.
Submitted by: Nils Larsch, Geoff Thorpe
2004-06-17 20:13:50 +00:00
Geoff Thorpe
cf9056cfda
BN_div_word() was breaking when called from BN_bn2dec() (actually, this is
...
the only function that uses it) because it would trip up an assertion in
bn_div_words() when first invoked. This also adds BN_div_word() testing to
bntest.
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-06-17 20:03:56 +00:00
Richard Levitte
f7fc4ca1dd
Making some values explicitely unsigned was derived from ongoing work
...
that isn't yet committed. It wasn't meant to be committed already, so
I'm removing it for now.
2004-06-15 12:52:26 +00:00
Richard Levitte
132fc53223
Typo, setting the first element of nids[] to NULL instead of setting
...
*cnids.
2004-06-15 11:45:42 +00:00
Geoff Thorpe
b3b6720944
Correct the return codes for ecdsatest.
...
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-06-14 23:37:32 +00:00
Lutz Jänicke
9f6ea7163b
More precise explanation of session id context requirements.
2004-06-14 13:27:28 +00:00
Andy Polyakov
385c8e89f4
SHA fails to compile on x86_64 if compiled with custom flags, without
...
recommended -DMD32_REG_T=int in particular.
PR: 893
Submitted by: Michal Ludvig <michal-list@logix.cz >
2004-06-11 17:50:57 +00:00
Geoff Thorpe
263e3151e2
"no-engine" was being ignored, so remove it from the advertised syntax.
...
Also remove some commented-out lines of code that deny CVS its purpose.
2004-06-03 03:34:53 +00:00
Geoff Thorpe
9081980565
This fixes the installation target for dynamic engines, which was trying to
...
install to a different location than it had created. (BTW, VMS will need a
matching fix in eng_list.c.) Note, these aren't ssl-specific, so I'm
putting "engines/" into the libs directory rather than at the "--prefix"
level or inside "ssl/".
2004-06-01 03:18:58 +00:00
Andy Polyakov
393b704d28
Minimal work-around for ./engine shared builds. "Minimal" means that I
...
think that proper Makefile clean-up is required.
2004-05-31 22:29:26 +00:00
Andy Polyakov
bef26f1158
32-bit PA-RISC requires -Bsymbolic when linking libcrypto.sl. Without
...
this flag RAND_poll ends up in end-less loop calling RAND_add. But
don't ask me why...
2004-05-31 17:10:49 +00:00
Andy Polyakov
bc1ca8605c
Working on HP-UX shared support...
2004-05-31 14:50:19 +00:00
Andy Polyakov
ad5003409d
Mention new SHA algorithms in CHANGES. This completes the integration.
2004-05-31 14:03:02 +00:00
Andy Polyakov
057cfaf2f8
Extend HMAC_MAX_MD_CBLOCK to accomodate SHA-512.
2004-05-31 13:28:23 +00:00
Richard Levitte
914d36ba19
make update
2004-05-31 13:16:08 +00:00
Andy Polyakov
31c2ac1cdc
EVP bindings to new SHA algorithms.
2004-05-31 13:14:08 +00:00
Andy Polyakov
6bca8e3886
objects.txt update for SHA-224/-256/-384/-512. SHA-224 ids still appear
...
"draft," but we have to start somewhere...
Submitted by: Nils Larsch <nlarsch@compuserve.de >
2004-05-31 13:07:19 +00:00
Andy Polyakov
63ba7e293f
Make sha-256/-512 naming in speed.c consistent with their names as they
...
will appear at EVP leyer.
2004-05-31 12:40:22 +00:00
Andy Polyakov
31e9b9b2e9
Typo in commentary section.
2004-05-31 12:30:41 +00:00
Andy Polyakov
7997b13aa3
Final SHA-256/-512 touches. Extra md_len field in SHA[256|512]_CTX
...
reserves for truncated hash function output mode and makes SHA224
thread-safe. Next stop is integration with EVP and we're done...
2004-05-31 12:26:18 +00:00
Andy Polyakov
a2eb9688a4
Kill unused macro and reimplement it for that single context it can
...
actually be used, namely x86* platforms [because they don't bomb on
unaligned access]. This resulted in 30-40% [depending on message
length] improvement for SHA-256 compiled with gcc and running on P4.
In the lack of assembler implementation I give the compiler all the
help it can possibly get:-)
2004-05-31 12:06:27 +00:00
Richard Levitte
af2bf07404
SHA224_Update() and SHA224_Final() aren't implemented, and since
...
SHA224() uses SHA256_Update() and SHA256_Final() instead, let's just
create aliases in form of macros.
make update
2004-05-30 16:58:33 +00:00
Andy Polyakov
8c5dfa4c99
Typo in linux-ppc64 target.
2004-05-29 20:32:54 +00:00
Andy Polyakov
8d9fb0f04a
gcc -Wcast-qual clean-up.
2004-05-29 19:11:29 +00:00
Andy Polyakov
15fd2de37c
hpux-shared rules to cover even for GNU ld.
2004-05-28 22:38:05 +00:00
Andy Polyakov
1a83c37294
Unified hpux-shared rule. Verified with both 32- and 64-bit builds and
...
both vendor and GNU compilers. ./engine shared build are still busted.
I mean always were...
2004-05-28 22:18:48 +00:00
Andy Polyakov
674ee8b72d
Make sure we return 0 if test passed.
2004-05-28 21:42:40 +00:00
Andy Polyakov
1809e858bb
Eliminate compiler warnings and throw in performance table.
2004-05-28 10:15:58 +00:00
Andy Polyakov
2bbc970e10
Attempt to unify hpux-shared rules. More adjustments might be required
...
after more tests...
2004-05-27 22:23:40 +00:00
Andy Polyakov
da8348e938
SHA-224 test vectors added.
2004-05-27 19:46:07 +00:00
Dr. Stephen Henson
f91f6cd5e4
file install.com was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2004-05-27 10:07:02 +00:00
Dr. Stephen Henson
bd923a7bac
file fips-lib.com was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:09 +0000
2004-05-27 10:04:38 +00:00
Richard Levitte
ef16f45081
Since num is now a size_t, it's not necssary to check for less than 0,
...
AND it avoids warnings on certain systems.
2004-05-27 09:20:42 +00:00
Richard Levitte
4d692e1ba0
Synchronise VMS with the Unixly Malefiles.
2004-05-26 17:05:51 +00:00
Andy Polyakov
6577e16920
Documentation note for Win32 glue between BIO layer and compiler run-time.
2004-05-25 20:32:17 +00:00
Andy Polyakov
3fc378aa0b
Framework for glueing BIO layer and Win32 compiler run-time. Goal is to
...
make it possible to produce for a unified binary build, which can be
used with a variety of Win32 compilers.
2004-05-25 20:31:03 +00:00
Richard Levitte
f2bfbcef76
make update
2004-05-25 09:41:00 +00:00
Richard Levitte
6713a4835f
Move some COMP functions to be inside the #ifndef OPENSSL_NO_COMP
...
wrapping preprocessor directive. This also removes a duplicate
declaration.
2004-05-20 23:47:57 +00:00
Andy Polyakov
46ceb15c39
SHA-256/-512 test and benchmark.
2004-05-20 21:49:38 +00:00
Andy Polyakov
109d3123c3
While size_t-fying let's not forget to update documentation:-)
2004-05-20 21:39:50 +00:00
Andy Polyakov
63077bd40c
SHA-256/-512 update. A bug fix, SHA-512 tune-up for AMD64, hook for SSE2
...
code, Makefile update.
2004-05-20 21:24:41 +00:00
Andy Polyakov
df364f1b00
Stress collector/padding function.
2004-05-20 21:20:19 +00:00
Andy Polyakov
bc767216d9
Final API adaptation. Final, "all openssl" performance numbers [not mixture
...
of different implementations]. Real-life performance improvement is rated
at 2-3x, not 6x as preliminary announced.
2004-05-20 21:18:09 +00:00
Dr. Stephen Henson
cacd830f02
Delete unused function from libeay.num, replace with one
...
that does exist.
2004-05-19 17:08:05 +00:00
Dr. Stephen Henson
eda52e175a
Delete obsolete and unimplemented function.
2004-05-19 17:05:02 +00:00
Dr. Stephen Henson
665560e9a4
Add SHA256 and SHA512 algorithms to mkdef.pl.
...
Fix mkdef.pl script to avoid infinite loop when
parsing sha.h.
2004-05-19 17:03:59 +00:00
Richard Levitte
c4fc8b5bf4
X509_policy_lib_init is declared but not defined, so it raises havoc
...
when trying to build a shared library on VMS or Windows...
2004-05-19 14:19:51 +00:00
Geoff Thorpe
9c52d2cc75
After the latest round of header-hacking, regenerate the dependencies in
...
the Makefiles. NB: this commit is probably going to generate a huge posting
and it is highly uninteresting to read.
2004-05-17 19:26:06 +00:00
Geoff Thorpe
0f814687b9
Deprecate the recursive includes of bn.h from various API headers (asn1.h,
...
dh.h, dsa.h, ec.h, ecdh.h, ecdsa.h, rsa.h), as the opaque bignum types are
already declared in ossl_typ.h. Add explicit includes for bn.h in those C
files that need access to structure internals or API functions+macros.
2004-05-17 19:14:22 +00:00
Geoff Thorpe
f0eae953e2
Remove some unnecessary recursive includes from the internal apps.h header,
...
and include bn.h in those C files that need bignum functionality.
2004-05-17 19:05:32 +00:00
Geoff Thorpe
298a2f9e58
Because of recent reductions in header interdependencies, these files need
...
to include crypto.h directly.
2004-05-17 19:01:15 +00:00
Geoff Thorpe
ac0d0a5ecd
I can't verify this directly, but recent changes will probably require that
...
the cryptodev implementation include bn.h directly (when building with
OPENSSL_NO_DEPRECATED that is).
2004-05-17 18:58:47 +00:00
Geoff Thorpe
f15390bdb4
The inclusion of bn.h from the engine.h API header has been deprecated, so
...
the engine implementations need to include bn.h to manipulate bignums.
2004-05-17 18:56:15 +00:00
Geoff Thorpe
d095b68d63
Deprecate quite a few recursive includes from the ssl.h API header and
...
remove some unnecessary includes from the internal header ssl_locl.h. This
then requires adding includes for bn.h in four C files.
2004-05-17 18:53:47 +00:00
Geoff Thorpe
508999fa7d
Deprecate some recursive includes from the store.h API header, and put back
...
required includes back via the internal header and str_lib.c.
2004-05-17 18:49:06 +00:00
Geoff Thorpe
210a21bc8d
Reduce dependencies on crypto.h by moving the opaque definition of
...
CRYPTO_EX_DATA and the new/free/dup callback prototypes to ossl_typ.h.
2004-05-17 18:39:00 +00:00
Geoff Thorpe
678c1e025b
Moving opaque definitions to ossl_typ.h lets us reduce header dependencies.
...
Deprecate inclusion of crypto.h from ui.h.
2004-05-17 18:01:28 +00:00
Andy Polyakov
1ab61a9179
Make reservations for FIPS code in HEAD branch, so that the moment FIPS
...
comes in we have required macros in place.
2004-05-17 15:49:13 +00:00
Geoff Thorpe
d6dda126b7
Make some more API types opaquely available from ossl_typ.h, meaning the
...
corresponding headers are only required for API functions or structure
details. This now includes the bignum types and BUF_MEM. Subsequent commits
will remove various dependencies on bn.h and buffer.h and update the
makefile dependencies.
2004-05-15 18:32:08 +00:00
Geoff Thorpe
7771b6c5b5
This file implements various functions that have since been redefined as
...
macros. I'm removing this from the NO_DEPRECATED build.
2004-05-15 18:26:15 +00:00
Dr. Stephen Henson
4843acc868
Fixes so alerts are sent properly in s3_pkt.c
...
PR: 851
2004-05-15 17:55:07 +00:00
Andy Polyakov
9e0aad9fd6
size_t-fication of message digest APIs. We should size_t-fy more APIs...
2004-05-15 11:29:55 +00:00
Richard Levitte
1c7a0e2856
Reimplement old functions, so older software that link to libcrypto
...
don't crash and burn.
2004-05-14 17:56:30 +00:00
Richard Levitte
abd23881c1
Synchronise o_str.c between 0.9.8-dev and 0.9.7-stable.
2004-05-13 22:39:56 +00:00
Richard Levitte
d1739eb2d6
make update
2004-05-13 21:38:47 +00:00
Richard Levitte
2faa930bb0
Let's make life easier and have the VMS version of the configuration be
...
generated from the Unixly configuration file.
2004-05-13 21:38:26 +00:00
Andy Polyakov
e14f4aab0a
CHANGES to mention improved PowerPC platform support.
2004-05-13 13:58:44 +00:00
Andy Polyakov
c842261b1b
SHA-224/-256/-384/-512 implementation. This is just sheer code commit.
...
Makefile modifications, make test, etc. will appear later...
2004-05-13 13:48:33 +00:00
Dr. Stephen Henson
df368ecce4
Make self signing option of 'x509' use random serial numbers too.
2004-05-12 18:20:37 +00:00
Andy Polyakov
1e6bccc240
SSE2 SHA512_Transform implementation. No, it's not used anywhere yet and
...
is subject to change as C implementation is added...
2004-05-06 10:41:07 +00:00
Andy Polyakov
d3adc3d3ed
SSE2 accelerated bn_mul_add_words. Code is currently disabled till proper
...
config and run-time support is added.
PR: 788
Submitted by: <dean@arctic.org >
Reviewed by: <appro>
Obtained from: http://arctic.org/~dean/crypto/rsa.html
2004-05-06 10:36:49 +00:00
Andy Polyakov
10e7d6d526
Support for IA-32 SSE2 instruction set.
2004-05-06 10:31:09 +00:00
Richard Levitte
8d472bdd84
Remove the creation of $(INSTALL_PREFIX)$(OPENSSLDIR)/lib, since we don't
...
use it.
Notified by Frédéric L. W. Meunier <0@pervalidus.tk > in PR 713
2004-05-06 09:46:41 +00:00
Richard Levitte
430d7afd80
When the pointer 'from' changes, it's stored length needs to change as
...
well.
Notified by Frank Kardel <kardel@acm.org > in PR 879.
2004-05-06 09:33:22 +00:00
Geoff Thorpe
ca982e4870
Fix realloc usage in ec_curve.c
...
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-05-04 20:08:55 +00:00
Bodo Möller
d5f686d808
- update from current 0.9.6-stable CHANGES file
...
- update from current 0.9.7-stable CHANGES file:
Now here we have "CHANGES between 0.9.7e and 0.9.8", and I hope
that all patches mentioned for 0.9.7d and 0.9.7e actually are
in the CVS HEAD, i.e. what is to become 0.9.8.
I have rewritten the 'openssl ca -create_serial' entry (0.9.8)
so that it explains the earlier change that is now listed (0.9.7e).
The ENGINE_set_default typo bug entry has been moved from 0.9.8
to 0.9.7b, which is where it belongs.
2004-05-04 01:15:48 +00:00
Geoff Thorpe
08e1cbc62c
The new BN_CTX code makes this sort of abuse unnecessary.
2004-04-28 18:34:39 +00:00
Andy Polyakov
b6b4fdc9e2
Oops! Typo in ./config...
2004-04-27 22:17:25 +00:00
Andy Polyakov
dd55880644
Improved PowerPC support. Proper ./config support for ppc targets,
...
especially for AIX. But most important BIGNUM assembler implementation
submitted by IBM.
Submitted by: Peter Waltenberg <pwalten@au1.ibm.com >
Reviewed by: appro
2004-04-27 22:05:50 +00:00
Dr. Stephen Henson
bd1640bb01
Make ASN1 code work again...
2004-04-27 18:33:40 +00:00
Geoff Thorpe
081991ac01
With the new dynamic BN_CTX implementation, there should be no need for
...
additional contexts.
2004-04-27 13:24:51 +00:00
Geoff Thorpe
8a85c341fe
The problem of rsa key-generation getting stuck in a loop for (pointlessly)
...
small key sizes seems to result from the code continually regenerating the
same prime value once the range is small enough. From my tests, this change
fixes the problem by setting an escape velocity of 3 repeats for the second
of the two primes.
PR: 874
2004-04-26 15:38:44 +00:00
Geoff Thorpe
bcfea9fb25
Allow RSA key-generation to specify an arbitrary public exponent. Jelte
...
proposed the change and submitted the patch, I jiggled it slightly and
adjusted the other parts of openssl that were affected.
PR: 867
Submitted by: Jelte Jansen
Reviewed by: Geoff Thorpe
2004-04-26 15:31:35 +00:00
Dr. Stephen Henson
f3f52d7f45
More ASN1 reformat/tidy.
2004-04-25 12:46:39 +00:00
Dr. Stephen Henson
8845420f4e
Reformat/tidy some of the ASN1 code.
2004-04-24 17:02:48 +00:00
Dr. Stephen Henson
d735c64905
Fix leak.
...
PR:870
2004-04-22 12:37:16 +00:00
Geoff Thorpe
955d465c2c
As far as I can tell, the bugfix this comment refers to was committed to
...
0.9.7-stable as well as HEAD (and doesn't apply to the 0.9.6-engine
variant).
2004-04-21 15:12:20 +00:00
Geoff Thorpe
8c521c7a34
Extend the index parameter checking from sk_value to sk_set(). Also tidy up
...
some similar code elsewhere.
Thanks to Francesco Petruzzi for bringing this to my attention.
2004-04-21 15:08:56 +00:00
Dr. Stephen Henson
77475142ec
New option to 'x509' -next_serial. This outputs the certificate
...
serial number plus 1 to the output file. Its purpose is to allow
serial number files to be initialized when random serial numbers
are used.
2004-04-21 12:46:20 +00:00
Dr. Stephen Henson
90fac84066
Use X509_get_serialNumber() instead of accessing internals in x509.c
2004-04-21 12:43:21 +00:00
Dr. Stephen Henson
64674bcc8c
Reduce chances of issuer and serial number duplication by use of random
...
initial serial numbers.
PR: 842
2004-04-20 12:05:26 +00:00
Richard Levitte
1dc2d655ad
Whooaaaaa, the BN_CTX_DEBUG macro really produces output these
...
days... A little too much for my tests, currently...
2004-04-20 11:53:33 +00:00
Richard Levitte
863d2b196f
Print the debug thingies on stderr instead of stdout. If for nothing
...
else then at least so bc doesn't have problems parsing the output from
bntest :-).
2004-04-20 10:57:07 +00:00
Geoff Thorpe
c57bc2dc51
make update
2004-04-19 18:33:41 +00:00
Geoff Thorpe
6c0dcdc211
"make update" noticed a new function.
2004-04-19 18:32:19 +00:00
Geoff Thorpe
28ded31b97
More updates for the header cleanups (and apologies, again, for not having
...
consolidated these prior to committing).
2004-04-19 18:30:41 +00:00
Geoff Thorpe
0fc07a0f9c
When generating dependencies in the makefiles, generate the reduced
...
dependencies of the OPENSSL_NO_DEPRECATED mode. This prevents dependencies
being reproduced for "deprecated" header behaviour when a developer doesn't
define the symbol (with the subsequent CVS wars that can ensue).
2004-04-19 18:19:24 +00:00
Geoff Thorpe
823a67b0a9
header cleanup in apps/
2004-04-19 18:13:07 +00:00
Geoff Thorpe
60a938c6bc
(oops) Apologies all, that last header-cleanup commit was from the wrong
...
tree. This further reduces header interdependencies, and makes some
associated cleanups.
2004-04-19 18:09:28 +00:00
Geoff Thorpe
3a87a9b9db
Reduce header interdependencies, initially in engine.h (the rest of the
...
changes are the fallout). As this could break source code that doesn't
directly include headers for interfaces it uses, changes to recursive
includes are covered by the OPENSSL_NO_DEPRECATED symbol. It's better to
define this when building and using openssl, and then adapt code where
necessary - this is how to stay current. However the mechanism exists for
the lethargic.
2004-04-19 17:46:04 +00:00
Dr. Stephen Henson
ae44fc1ec4
Clear error if unique_subject lookup fails.
2004-04-15 00:32:19 +00:00
Dr. Stephen Henson
28722cf212
Add some root CAs.
2004-04-13 17:47:37 +00:00
Geoff Thorpe
2749276b95
Avoid undefined results when the parameter is out of range.
2004-04-02 06:25:11 +00:00
Dr. Stephen Henson
b6a5fdb8a7
Don't use C++ reserved word.
2004-04-01 22:23:46 +00:00
Dr. Stephen Henson
bf5773fa2d
Oops forgot CHANGES entry.
2004-03-31 12:55:33 +00:00
Dr. Stephen Henson
ecf139917d
New function X509_POLICY_NODE_print()
2004-03-31 12:17:24 +00:00
Richard Levitte
ab23d5ffda
Add symbol hacks for some long names.
...
make update
2004-03-29 08:13:49 +00:00
Andy Polyakov
1a979201d5
This is essentially Intel 32-bit compiler tune-up. To start with all
...
available compiler versions generated bogus machine code trying to
compile new crypto/des/cfb_enc.c. Secondly, 8th version defines
__GNUC__ macro, but fails to compile *some* inline assembler correctly.
Note that all versions of icc implement MSC-like _lrot[rl] intrinsic,
which is used now instead of offensive asm. Finally, unnecessary linker
dependencies are eliminated. Most notably dependency from libirc.a
caused trouble at application start-up, if libcrypto.so is linked with
-Bsymbolic (which it is).
2004-03-28 21:27:47 +00:00
Dr. Stephen Henson
216659eb87
Enhance EVP code to generate random symmetric keys of the
...
appropriate form, for example correct DES parity.
Update S/MIME code and EVP_SealInit to use new functions.
PR: 700
2004-03-28 17:38:00 +00:00
Dr. Stephen Henson
5d6383c83f
Make {i2v,v2i}_ASN1_BIT_STRING global.
...
make update
2004-03-28 12:40:11 +00:00
Dr. Stephen Henson
e07d3a021d
Remove obsolete files.
2004-03-28 12:29:05 +00:00
Dr. Stephen Henson
e1a27eb34a
Allow CRLs to be passed into X509_STORE_CTX. This is useful when the
...
verified structure can contain its own CRLs (such as PKCS#7 signedData).
Tidy up some of the verify code.
2004-03-27 22:49:28 +00:00
Dr. Stephen Henson
6446e0c3c8
Extend OID config module format.
2004-03-27 13:30:14 +00:00
Dr. Stephen Henson
beedea2fef
Free up BIO properly when using streaming S/MIME sign.
2004-03-26 00:24:38 +00:00
Dr. Stephen Henson
34be34fdd0
Remove BN_CTX debug from debug-steve
2004-03-25 23:32:06 +00:00
Richard Levitte
0020502a07
SSL_COMP_get_compression_method is a typo (a missing 's' at the end of
...
the symbol name).
2004-03-25 21:32:30 +00:00
Richard Levitte
d530017c00
Move the definition of Win32_rename(), since the macro rename gets undefined
...
in the middle of the code on Windows, and that disrupts operations in functions
later that use rename()...
PR: 853
2004-03-25 20:09:00 +00:00
Richard Levitte
fd9fa844e2
Wrap code starting with a definition.
...
PR: 854
2004-03-25 20:01:01 +00:00
Richard Levitte
c2dc3ee8d9
Change spaces to symbols in names.
...
PR: 856
2004-03-25 19:52:34 +00:00
Richard Levitte
482c2acf02
Make prototypes for some callback pointers.
2004-03-25 16:21:42 +00:00
Richard Levitte
a481b4b52c
A couple more cases where RAND_add() gets an integer instead of a
...
doule as last argument.
2004-03-25 16:04:02 +00:00
Richard Levitte
a87228031f
RAND_add() wants a double as it's last argument.
2004-03-25 15:52:43 +00:00
Dr. Stephen Henson
b79c82eaab
Fix loads of warnings in policy code.
...
I'll remember to try to compile this with warnings enabled next time :-)
2004-03-25 13:45:58 +00:00
Dr. Stephen Henson
69d1d5e6ce
Fix ASN1 warnings.
2004-03-25 13:37:02 +00:00
Geoff Thorpe
c86f2054f3
Adjust various bignum functions to use BN_CTX for variables instead of
...
locally initialising their own.
NB: I've removed the "BN_clear_free()" loops for the exit-paths in some of
these functions, and that may be a major part of the performance
improvements we're seeing. The "free" part can be removed because we're
using BN_CTX. The "clear" part OTOH can be removed because BN_CTX
destruction automatically performs this task, so performing it inside
functions that may be called repeatedly is wasteful. This is currently safe
within openssl due to the fact that BN_CTX objects are never created for
longer than a single high-level operation. However, that is only because
there's currently no mechanism in openssl for thread-local storage. Beyond
that, this might be an issue for applications using the bignum API directly
and caching their own BN_CTX objects. The solution is to introduce a flag
to BN_CTX_start() that allows its variables to be automatically sanitised
on release during BN_CTX_end(). This way any higher-level function (and
perhaps the application) can specify this flag in its own
BN_CTX_start()/BN_CTX_end() pair, and this will cause inner-loop functions
specifying the flag to be ignored so that sanitisation is handled only once
back out at the higher level. I will be implementing this in the near
future.
2004-03-25 04:32:24 +00:00
Geoff Thorpe
5c98b2caf5
Replace the BN_CTX implementation with my current work. I'm leaving the
...
little TODO list in there as well as the debugging code (only enabled if
BN_CTX_DEBUG is defined).
I'd appreciate as much review and testing as can be spared for this. I'll
commit some changes to other parts of the bignum code shortly to make
better use of this implementation (no more fixed size limitations). Note
also that under identical optimisations, I'm seeing a noticable speed
increase over openssl-0.9.7 - so any feedback to confirm/deny this on other
systems would also be most welcome.
2004-03-25 04:16:14 +00:00
Geoff Thorpe
5148710994
Adds warnings about two curves and fixes the "seed" value for two other
...
curves.
Submitted by: Nils Larsch
2004-03-25 03:03:52 +00:00
Geoff Thorpe
ea77fc3380
... and this should likewise fix up those RSA implementations that weren't
...
already built and tested.
2004-03-25 02:55:17 +00:00
Geoff Thorpe
46ef873f0b
By adding a BN_CTX parameter to the 'rsa_mod_exp' callback, private key
...
operations no longer require two distinct BN_CTX structures. This may put
more "strain" on the current BN_CTX implementation (which has a fixed limit
to the number of variables it will hold), but so far this limit is not
triggered by any of the tests pass and I will be changing BN_CTX in the
near future to avoid this problem anyway.
This also changes the default RSA implementation code to use the BN_CTX in
favour of initialising some of its variables locally in each function.
2004-03-25 02:52:04 +00:00
Geoff Thorpe
2d2a5ba32a
Damn, I was a bit hasty with my fix and hadn't spotted the linker
...
dependency from asn1.
2004-03-25 02:41:35 +00:00
Geoff Thorpe
2bd4e3379f
Remove some warnings.
2004-03-25 02:24:38 +00:00
Geoff Thorpe
032c3ecb18
Protect against gcc's "warning: cast does not match function type".
2004-03-25 02:19:42 +00:00
Richard Levitte
e703b46598
Don't define fd for platforms that do not use it, as some may not declare fileno() properly
2004-03-24 10:55:48 +00:00
Richard Levitte
0fa793bc7b
Correct constness problems.
2004-03-24 10:50:42 +00:00
Richard Levitte
ba5477eb1a
Make it easier to buld test applications...
2004-03-24 10:50:25 +00:00
Richard Levitte
5c42f62e48
Only build the PKCS#7 test applications if "pkcs7" is present in
...
SDIRS.
2004-03-24 10:48:50 +00:00
Richard Levitte
a08e05d1be
Add store.h among the exported headers on VMS.
2004-03-24 09:52:16 +00:00
Richard Levitte
d342ec3335
o_str.h isn't a public header file, so make sure it will still be
...
included.
2004-03-24 09:43:03 +00:00
Richard Levitte
3d8b8860cf
o_str.h isn't a public header file.
2004-03-24 09:41:33 +00:00
Richard Levitte
a0b5ebeac6
Typo...
2004-03-24 09:40:59 +00:00
Richard Levitte
8ee18dd520
Make sure toupper() is properly declared.
2004-03-24 09:40:23 +00:00
Richard Levitte
f46e76ef50
Make it clear that for RSA_NO_PADDING, flen must be RSA_size(rsa)
2004-03-23 21:01:34 +00:00
Richard Levitte
e725a9660b
make update
2004-03-23 15:06:33 +00:00
Richard Levitte
d7eed1929b
Sync the VMS build with Unix.
2004-03-23 14:50:16 +00:00
Dr. Stephen Henson
4acc3e907d
Initial support for certificate policy checking and evaluation.
...
This is currently *very* experimental and needs to be more fully integrated
with the main verification code.
2004-03-23 14:14:35 +00:00
Richard Levitte
9449e38504
Correct minor spelling error.
...
PR: 845
2004-03-21 23:03:52 +00:00
Richard Levitte
b8b0b5d856
Change \t to real tab in echo argument.
...
PR: 847
2004-03-21 22:50:20 +00:00
Richard Levitte
ec5d8a54e9
Remove a warning for conversion double->long. This has impacts on Windows.
...
PR: 849
2004-03-21 22:39:52 +00:00
Richard Levitte
18a6333180
Make sure fd is defined where it should.
...
PR: 849
2004-03-21 22:36:27 +00:00
Geoff Thorpe
7f663ce430
Note my bignum hijinx in case app maintainers are using CHANGES for their
...
porting efforts. Also, add Richard's name to the prior change.
2004-03-17 18:30:47 +00:00
Geoff Thorpe
e042540f6b
Variety of belt-tightenings in the bignum code. (Please help test this!)
...
- Remove some unnecessary "+1"-like fudges. Sizes should be handled
exactly, as enlarging size parameters causes needless bloat and may just
make bugs less likely rather than fixing them: bn_expand() macro,
bn_expand_internal(), and BN_sqr().
- Deprecate bn_dup_expand() - it's new since 0.9.7, unused, and not that
useful.
- Remove unnecessary zeroing of unused bytes in bn_expand2().
- Rewrite BN_set_word() - it should be much simpler, the previous
complexities probably date from old mismatched type issues.
- Add missing bn_check_top() macros in bn_word.c
- Improve some degenerate case handling in BN_[add|sub]_word(), add
comments, and avoid a bignum expansion if an overflow isn't possible.
2004-03-17 17:36:54 +00:00
Dr. Stephen Henson
4e8172d6da
Avoid warnings.
2004-03-16 13:51:11 +00:00
Richard Levitte
875a644a90
Constify d2i, s2i, c2i and r2i functions and other associated
...
functions and macros.
This change has associated tags: LEVITTE_before_const and
LEVITTE_after_const. Those will be removed when this change has been
properly reviewed.
2004-03-15 23:15:26 +00:00
Richard Levitte
ec37635c94
It was just pointed out to me that it's better to cast to double...
2004-03-15 23:02:55 +00:00
Richard Levitte
fd836aeee0
Make sure that the last argument to RAND_add() is a float, or some
...
compilers may complain.
2004-03-15 22:37:08 +00:00
Richard Levitte
560f7abb7e
Make sure we use unsigned constants, or come compilers may complain.
2004-03-15 22:33:19 +00:00
Geoff Thorpe
b6358c89a1
Convert openssl code not to assume the deprecated form of BN_zero().
...
Remove certain redundant BN_zero() initialisations, because BN_CTX_get(),
BN_init(), [etc] already initialise to zero.
Correct error checking in bn_sqr.c, and be less wishy-wash about how/why
the result's 'top' value is set (note also, 'max' is always > 0 at this
point).
2004-03-13 23:57:20 +00:00
Geoff Thorpe
5d735465d1
The efforts to eliminate the dual-representation of zero and to ensure
...
bignums are passed in and out of functions and APIs in a consistent form
has highlighted that zero-valued bignums don't need any allocated word
data. The use of BN_set_word() to initialise a bignum to zero causes
needless allocation and gives it a return value that must be checked. This
change converts BN_zero() to a self-contained macro that has no
return/expression value and does not cause any expansion of bignum data.
Note, it would be tempting to rewrite the deprecated version as a
success-valued comma expression, such as;
#define BN_zero(a) ((a)->top = (a)->neg = 0, 1)
However, this evaluates 'a' twice and would confuse initialisation loops
(eg. while(..) { BN_zero(bn++) } ). As such, the deprecated version
continues to use BN_set_word().
2004-03-13 23:04:15 +00:00
Geoff Thorpe
9e051bac13
Document a change I'd already made, and at the same time, correct the
...
change to work properly; BN_zero() should set 'neg' to zero as well as
'top' to match the behaviour of BN_new().
2004-03-13 22:10:15 +00:00
Andy Polyakov
30fbcaa213
IRIX 6.x shared build fix-up.
...
For reference. Note that both cc and gcc support -Wl flag, but we can't
use -Wl,-[not]all with both drivers, because cc rearranges options
passed through -Wl. We can't use -Wl,-all,libcrypto.a,-notall with cc
either, because it refuses to start with "no input" error.
2004-03-12 21:52:54 +00:00
Dr. Stephen Henson
373c88faef
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2004-03-10 09:23:49 +00:00
Dr. Stephen Henson
14813d8123
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2004-03-10 09:23:47 +00:00
Dr. Stephen Henson
92f2437f48
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:15 +0000
2004-03-10 09:23:45 +00:00
Dr. Stephen Henson
da959761ff
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:13 +0000
2004-03-10 09:23:43 +00:00
Dr. Stephen Henson
d8cd25aa0d
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:12 +0000
2004-03-10 09:23:41 +00:00
Dr. Stephen Henson
d63d4f46fc
file Makefile was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:09 +0000
2004-03-10 09:23:39 +00:00
Geoff Thorpe
93825dddad
static
2004-03-10 01:20:26 +00:00
Geoff Thorpe
a8aa764d3c
Minimise the amount of code dependent on BN_DEBUG_RAND. In particular,
...
redefine bn_clear_top2max() to be a NOP in the non-debugging case, and
remove some unnecessary usages in bn_nist.c.
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe, Ulf Möller
2004-03-09 03:53:40 +00:00
Geoff Thorpe
e7716b7a19
More changes coming out of the bignum auditing. BN_CTX_get() should ideally
...
return a "zero" bignum as BN_new() does - so reset 'top'. During
BN_CTX_end(), released bignums should be consistent so enforce this in
debug builds. Also, reduce the number of wasted BN_clear_free() calls from
BN_CTX_end() (typically by 75% or so).
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe, Ulf Möller
2004-03-09 03:47:35 +00:00
Dr. Stephen Henson
a4e3150f00
Fix policy constraints syntax.
2004-03-08 18:15:32 +00:00
Dr. Stephen Henson
edec614efd
Support for inhibitAnyPolicy extension.
2004-03-08 13:56:31 +00:00
Ulf Möller
2457c19df1
typo
2004-03-06 08:43:36 +00:00
Dr. Stephen Henson
5fa5eb71a4
Cleanup ASN1 OID module when it exits.
2004-03-05 23:47:56 +00:00
Dr. Stephen Henson
3f39976da3
Call autoconfig code in pkcs7 utility.
2004-03-05 23:46:29 +00:00
Dr. Stephen Henson
216ad9ef58
Memory leak fix.
2004-03-05 23:39:42 +00:00
Dr. Stephen Henson
bc50157010
Various X509 fixes. Disable broken certificate workarounds
...
when X509_V_FLAG_X509_STRICT is set. Check for CRLSign in
CRL issuer certificates. Reject CRLs with unhandled (any)
critical extensions.
2004-03-05 17:16:35 +00:00
Dr. Stephen Henson
91180d45f9
Typos.
...
Reported by: Jose Castejon-Amenedo <Jose.Castejon-Amenedo@hp.com >
2004-03-04 21:44:39 +00:00
Richard Levitte
d9f40bbe55
Make our page with pointers to binary distributions visible in the FAQ
2004-03-04 07:47:40 +00:00
Dr. Stephen Henson
ec7c9ee8b8
Indent some of the code examples.
2004-03-02 13:39:23 +00:00
Dr. Stephen Henson
f82bb9cb9c
Config docs.
2004-03-02 13:31:32 +00:00
Dr. Stephen Henson
5a8922aed5
Documentation of the KISS autoconfig functions.
2004-03-02 01:01:11 +00:00
Dr. Stephen Henson
f2c1812560
More autoconfig docs.
2004-03-01 19:15:24 +00:00
Richard Levitte
4cfa4ae820
Avoid a memory leak in OCSP_parse_url().
...
Notified by Paul Siegel <psiegel@corestreet.com >
2004-03-01 14:58:22 +00:00
Dr. Stephen Henson
a30af36c77
Initial docs for the OpenSSL library configuration via openssl.cnf
2004-03-01 01:04:40 +00:00
Geoff Thorpe
5075521e75
Add ECDSA documentation.
...
Submitted by: Nils Larsch
2004-02-27 23:03:23 +00:00
Richard Levitte
ee3a47a994
AES is spelled AES, not ASE. Oops...
2004-02-27 02:24:49 +00:00
Richard Levitte
f727266ae8
Make sure the given EVP_PKEY is updated in the PEM_STRING_PKCS8INF case also.
...
PR: 833
2004-02-26 22:07:45 +00:00
Richard Levitte
8bb0c8522a
Document the AES options for 'openssl smime'.
...
PR: 834
2004-02-26 21:44:41 +00:00
Geoff Thorpe
c6700d2746
A cleanup of the ecs_ossl.c code and some (doxygen) comments for ecdsa.h
...
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-02-22 19:32:53 +00:00
Geoff Thorpe
1b06804491
When adding positive elements, we can use BN_uadd() instead of BN_add().
...
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2004-02-22 19:30:41 +00:00
Dr. Stephen Henson
dc90f64d56
Use an OCTET STRING for the encoding of an OCSP nonce value.
...
The old raw format can't be handled by some implementations
and updates to RFC2560 will make this mandatory.
2004-02-19 18:16:38 +00:00
Dr. Stephen Henson
52161e090d
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2004-02-13 21:56:21 +00:00
Geoff Thorpe
6c43032121
minor signed/unsigned warning fixes
2004-02-10 18:46:10 +00:00
Dr. Stephen Henson
37ead9be0b
Fix handling of -offset and -length in asn1parse tool.
...
If -offset exceeds -length of data available exit with an error.
Don't read past end of total data available when -offset supplied.
If -length exceeds total available truncate it.
2004-02-08 13:30:04 +00:00
Andy Polyakov
1751034669
Typo in crypto/bn/asm/x86_64.c, bn_div_words().
...
PR: 821
2004-02-07 09:51:28 +00:00
Dr. Stephen Henson
d4575825f1
Add flag to avoid continuous
...
memory allocate when calling EVP_MD_CTX_copy_ex().
Without this HMAC is several times slower than
< 0.9.7.
2004-02-01 13:39:51 +00:00
Dr. Stephen Henson
9e55e06501
file fips_test_suite.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2004-01-30 19:22:17 +00:00
Andy Polyakov
d04b1b4656
Typo in PA-RISC 2 rules in crypto/bn/Makefile.ssl
2004-01-30 05:41:23 +00:00
Andy Polyakov
1247092776
HP/UX PA-RISC 2 targets update.
2004-01-29 22:16:08 +00:00
Richard Levitte
7e22a1df55
Remove typos
2004-01-29 11:24:32 +00:00
Richard Levitte
bb5810d21d
-Wtraditional was a little too much...
2004-01-29 10:56:18 +00:00
Richard Levitte
61a88c31c0
Typo
2004-01-29 02:55:43 +00:00
Richard Levitte
b86ed8d18f
In the development branch, it feels quite all right to warn on a lot
...
more stuff.
2004-01-29 00:05:09 +00:00
Richard Levitte
e5886a2388
make update
2004-01-28 19:07:41 +00:00
Richard Levitte
8d1ebe0bd1
Add the missing parts for DES CFB1 and CFB8.
...
Add the corresponding AES parts while I'm at it.
make update
2004-01-28 19:05:35 +00:00
Richard Levitte
1fb724449d
make update
2004-01-28 18:38:33 +00:00
Richard Levitte
721a5e83f9
Unsigned vs. signed problem removed
2004-01-28 08:48:11 +00:00
Andy Polyakov
6df617a59d
#undef _POSIX_C_SOURCE in ui_openssl.c ruined IRIX builds. Comment on why
...
_POSIX_C_SOURCE needed in first place.
2004-01-27 22:06:48 +00:00
Andy Polyakov
8c6336b0aa
CFB DES sync-up with FIPS branch.
2004-01-27 21:47:35 +00:00
Richard Levitte
87203dc99a
Avoid signed vs. unsigned warnings (which are treated like errors on
...
Windows).
2004-01-27 01:16:38 +00:00
Richard Levitte
4de65cbc06
S_IFBLK and S_IFCHR may not exist in some places (like Windows), so
...
let's check for those macros, and if they aren't defined, let's assume
there aren't Unixly devices on this platform.
2004-01-26 23:45:32 +00:00
Andy Polyakov
27b2b78f90
Even though C specification explicitly says that constant type "stretches"
...
automatically to accomodate the value, some compilers fail to do so. Most
notably 0x0123456789ABCDEF should come out as long long in 32-bit context,
but HP compiler truncates it to 32-bit value. Which in turn breaks GF(2^m)
arithmetics in hpux-parisc2-cc build. Therefore this fix...
2004-01-25 10:53:43 +00:00
Andy Polyakov
3a160f1dc6
Fix declaration inconsistency in ecparam.c.
2004-01-24 16:51:59 +00:00
Andy Polyakov
7f24b1c3e9
Get rid of bogus warning when compiling with Sun vendor compiler.
2004-01-24 16:31:21 +00:00
Richard Levitte
a5e8bcfb7b
We're passed p, so let's use p instead of making assumptions.
2004-01-24 01:16:02 +00:00
Richard Levitte
9d5c3c1939
Typo...
2004-01-22 22:36:46 +00:00
Dr. Stephen Henson
815d7057be
Replace expired certificate.
2004-01-21 13:08:11 +00:00
Andy Polyakov
30cb9ec715
SHA-1 assembler tune-up for Intel P4
2004-01-21 08:17:08 +00:00
Richard Levitte
af6dab9b00
Adding a slash between the directoryt and the file is a problem with
...
VMS. The C RTL can handle it well if the "directory" is a logical
name with no colon, therefore ending being 'logname/file'. However,
if the given logical names actually has a colon, or if you use a full
VMS-syntax directory, you end up with 'logname:/file' or
'dev:[dir1.dir2]/file', and that isn't handled in any good way.
So, on VMS, we need to check if the directory string ends with a
separator (one of ':', ']' or '>' (< and > can be used instead [ and
])), and handle that by not inserting anything between the directory
spec and the file name. In all other cases, it's assumed the
directory spec is a logical name, so we need to place a colon between
it and the file.
Notified by Kevin Greaney <kevin.greaney@hp.com >.
2004-01-10 18:04:38 +00:00
Lutz Jänicke
cdb42bcf0c
Cover all DSA setups when running tests
...
PR: #748
Submitted by: Kirill Kochetkov <kochet@ixbt.com >
2004-01-08 07:46:37 +00:00
Lutz Jänicke
fc56b52924
Updates to s_time manual page
...
PR: #570
Submitted by: Martin Witzel <MWITZEL@de.ibm.com >
2004-01-08 07:38:15 +00:00
Lutz Jänicke
a32fc687de
Add s_time manual page
...
Submitted by: "Martin Witzel" <MWITZEL@de.ibm.com >
PR: #570
2004-01-04 18:59:14 +00:00
Lutz Jänicke
c0017a5a65
Update URI
...
Submitted by: Gertjan van Oosten <gertjan@West.NL >
PR: #804
2004-01-04 18:05:50 +00:00
Lutz Jänicke
344e86645d
unintptr_t and <inttypes.h> are not strictly portable with respect to
...
ANSI C 89.
Undo change to maintain compatibility.
2004-01-04 17:53:21 +00:00
Richard Levitte
075521725d
Fix Perl problems on sparc64.
...
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 16:13:18 +00:00
Richard Levitte
5fdf06666c
Avoid including cryptlib.h, it's not really needed.
...
Check if IDEA is being built or not.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 16:10:30 +00:00
Richard Levitte
f28e8bd300
Only use environment variables if uid and gid are the same as euid and egid.
...
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 16:07:20 +00:00
Richard Levitte
de02ec2767
Check if a random "file" is really a device file, and treat it
...
specially if it is.
Add a few OpenBSD-specific cases.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 16:02:22 +00:00
Richard Levitte
112341031b
Correct documentation typos.
...
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 15:04:54 +00:00
Richard Levitte
7cf803230b
OpenBSD-internal changes.
...
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 15:02:56 +00:00
Richard Levitte
79b42e7654
Use sh explicitely to run point.sh
...
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 14:59:07 +00:00
Richard Levitte
f0c5db92f7
Include strings.h so strcasecmp() and strncasecmp() get properly declared.
2003-12-27 14:54:48 +00:00
Richard Levitte
d420ac2c7d
Use BUF_strlcpy() instead of strcpy().
...
Use BUF_strlcat() instead of strcat().
Use BIO_snprintf() instead of sprintf().
In some cases, keep better track of buffer lengths.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 14:40:17 +00:00
Richard Levitte
b79aa47a0c
Add a newline at the end of the last line.
...
This is part of a large change submitted by Markus Friedl <markus@openbsd.org >
2003-12-27 14:26:14 +00:00
Dr. Stephen Henson
e88c577738
Typos.
2003-12-20 22:48:21 +00:00
Richard Levitte
a2b0de98af
To figure out if we're going outside the buffer, use the size of the buffer,
...
not the size of the integer used to index in said buffer.
PR: 794
Notified by: Rhett Garber <rhett_garber@hp.com >
2003-12-11 18:01:03 +00:00
Richard Levitte
4775944f81
Document that you need to include x509.h (to get [i2d|d2i]_RSA_PUBKEY()).
...
Correct the typo PUKEY...
2003-12-10 14:31:55 +00:00
Richard Levitte
2abd5b7aa0
Document that you need to include x509.h (to get [i2d|d2i]_DSA_PUBKEY()).
...
Correct the typo PUKEY...
2003-12-10 13:57:51 +00:00
Ulf Möller
380e145daf
Add "dif" variable to clean up the loop implementations.
...
Submitted by: Nils Larsch
2003-12-06 11:55:46 +00:00
Ulf Möller
a9f2330f43
Skip a curve with generator of non-prime order.
...
Submitted by: Nils Larsch
2003-12-06 11:41:22 +00:00
Ulf Möller
ce38bb1a8c
Avoid segfault if ret==0.
...
Submitted by: Nils Larsch
2003-12-06 11:39:37 +00:00
Lutz Jänicke
919f8bcd21
Restructure make targets to allow parallel make.
...
Submitted by: Witold Filipczyk <witekfl@poczta.gazeta.pl >
PR: #513
2003-12-03 16:29:41 +00:00
Geoff Thorpe
2bfd2c74d2
Incremental cleanups to bn_lib.c.
...
- Add missing bn_check_top() calls and relocate some others
- Use BN_is_zero() where appropriate
- Remove assert()s that bn_check_top() is already covering
- Simplify the code in places (esp. bn_expand2())
- Only keep ambiguous zero handling if BN_STRICT isn't defined
- Remove some white-space and make some other aesthetic tweaks
2003-12-02 20:01:30 +00:00
Geoff Thorpe
82b2f57e30
Use the BN_is_odd() macro in place of code that (inconsistently) does much
...
the same thing.
Also, I have some stuff on the back-burner related to some BN_CTX notes
from Peter Gutmann about his cryptlib hacks to the bignum code. The BN_CTX
comments are there to remind me of some relevant points in the code.
2003-12-02 03:28:24 +00:00
Geoff Thorpe
2ae1ea3788
BN_FLG_FREE is of extremely dubious usefulness, and is only referred to
...
once in the source (where it is set for the benefit of no other code
whatsoever). I've deprecated the declaration in the header and likewise
made the use of the flag conditional in bn_lib.c. Note, this change also
NULLs the 'd' pointer in a BIGNUM when it is reset but not deallocated.
2003-12-02 03:16:56 +00:00
Geoff Thorpe
34066d741a
Declare the static BIGNUM "BN_value_one()" more carefully.
2003-12-01 23:13:17 +00:00
Geoff Thorpe
b74cc0776b
Add missing bn_check_top()s to bn_kron.c, remove some miscellaneous
...
white-space, and include extra headers to satisfy debugging builds.
2003-12-01 23:11:45 +00:00
Geoff Thorpe
e7e5fe4705
Add missing bn_check_top()s to bn_gf2m.c and remove some miscellaneous
...
white-space.
2003-12-01 23:10:21 +00:00
Geoff Thorpe
998ae048e7
The bn_set_max() macro is only "used" by the bn_set_[low|high]() macros
...
which, in turn, are used nowhere at all. This is a good thing because
bn_set_max() would currently generate code that wouldn't compile (BIGNUM
has no 'max' element).
The only apparent use for bn_set_[low|high] would be for implementing
windowing algorithms, and all of openssl's seem to use bn_***_words()
helpers instead (including the BN_div() that Nils fixed recently, which had
been using independently-coded versions of what these unused macros are
intended for). I'm therefore consigning these macros to cvs oblivion in the
name of readability.
2003-12-01 22:11:08 +00:00
Geoff Thorpe
e65c2b9872
bn_fix_top() exists for compatibility's sake and is mapped to
...
bn_correct_top() or bn_check_top() depending on debug settings. For
internal source, all bn_fix_top()s should be converted one way or the other
depending on whether the use of bn_correct_top() is justified.
For BN_div_recp(), these cases should not require correction if the other
bignum functions are doing their jobs properly, so convert to
bn_check_top().
2003-12-01 21:59:40 +00:00
Richard Levitte
2fe9ab8e20
It was pointed out to me that if the requested size is 0, we shouldn't
...
ty to allocate anything at all. This will allow eNULL to still work.
PR: 751
Notified by: Lutz Jaenicke
2003-12-01 13:25:37 +00:00
Richard Levitte
1145e03870
Check that OPENSSL_malloc() really returned some memory.
...
PR: 751
Notified by: meder@mcs.anl.gov
Reviewed by: Lutz Jaenicke, Richard Levitte
2003-12-01 12:11:55 +00:00
Richard Levitte
6781efb92f
CRYPTO_malloc(), CRYPTO_realloc() and variants of them should return NULL
...
if the give size is 0.
This is a thought that came up in PR 751.
2003-12-01 12:06:15 +00:00
Lutz Jänicke
0bf1c1d80d
Some more ASFLAGS settings required
...
PR: #735
Submitted by: Tim Rice <tim@multitalents.net >
2003-12-01 08:12:47 +00:00
Geoff Thorpe
6ed474ca66
Add more debugging to my Configure target, and "make update" to incorporate
...
this and a few other changes.
2003-11-30 23:29:27 +00:00
Geoff Thorpe
46cb8d3689
If BN_STRICT is defined, don't accept an ambiguous representation of zero
...
(ie. where top may be zero, or it may be one if the corresponding word is
set to zero). Note, this only affects the macros in bn.h, there are probably
similar corrections required in some c files.
Also, clarify the audit-related macros at the top of the header. Mental
note: I must not forget to clean all this out before 0.9.8 is released ...
2003-11-30 22:23:12 +00:00
Geoff Thorpe
23fc5ac646
Improve a couple of the bignum macros. Note, this doesn't eliminate
...
tolerance of ambiguous zero-representation, it just improves
BN_abs_is_word() and simplifies other macros that depend on it.
2003-11-30 22:02:10 +00:00
Geoff Thorpe
5734bebe05
Make BN_DEBUG_RAND less painfully slow by only consuming one byte of
...
pseudo-random data for each bn_pollute().
2003-11-30 21:21:30 +00:00
Geoff Thorpe
657a919598
This improves the placement of check_top() macros in a couple of bn_lib
...
functions.
2003-11-29 20:34:07 +00:00
Richard Levitte
6859bb1a22
Make sure the documentation matches reality.
...
PR: 755
Notified by: Jakub Bogusz <qboosh@pld-linux.org >
2003-11-29 10:33:25 +00:00
Richard Levitte
3822740ce3
We're getting a clash with C++ because it has a type called 'list'.
...
Therefore, change all instances of the symbol 'list' to something else.
PR: 758
Submitted by: Frédéric Giudicelli <groups@newpki.org >
2003-11-29 10:25:37 +00:00
Richard Levitte
0d78bc3356
Add IPSec/IKE/Oakley curves.
...
PR: 768
Submitted by: Vadim Fedukovich <vf@unity.net >
2003-11-29 09:25:59 +00:00
Richard Levitte
d87b79bf31
Damnit, I'm sick of having to do something special every time a module
...
that gets built before objects barfs all over the place because it
uses a new NID that hasn't had a chance of getting defined yet (in
this case, it was about a couple of new EC curves, and therefore a
couple of new corresponding NIDs).
I'm placing objects first in SDIRS! There.
2003-11-29 09:19:12 +00:00
Richard Levitte
70ef9c5a3d
RSA_size() and DH_size() return the amount of bytes in a key, and we
...
compared it to the amount of bits required...
PR: 770
Submitted by: c zhang <czhang2005@hotmail.com >
2003-11-28 23:03:14 +00:00
Richard Levitte
b727907ae8
1024 is the export key bits limit according to current regulations, not 512.
...
PR: 771
Submitted by: c zhang <czhang2005@hotmail.com >
2003-11-28 22:39:19 +00:00
Geoff Thorpe
444c3a8492
Get rid of some signed/unsigned comparison warnings.
2003-11-28 16:39:16 +00:00
Richard Levitte
0b352c58db
Make a number of changes to the OS/2 build. Submitter's comment below.
...
PR: 732
Submitted by: Ilya Zakharevich <nospam-abuse@ilyaz.org >
Submitter's comment:
This patch:
a) Introduces a new file os2/backwardify.pl.
b) Introduces a new mk1mf.pl variable $preamble. As you can see, it may
be used also to move some OS-specific code to VC-CE too (the the
first chunk of the patch);
c) The DESCRIPTION specifier of the .def file is made more informative:
now it contains the version number too. On OS/2 it is made conformant
to OS/2 conventions; in particular, when one runs the standard command
BLDLEVEL this.DLL
one can see:
Vendor: www.openssl.org/
Revision: 0.9.7c
Description: OpenSSL: implementation of Secure Socket Layer; DLL for library crypto. Build for EMX -Zmtd
[I did not make Win32 descriptions as informative as this - I'm afraid to
break something. Be welcome to fix this.]
d) On OS/2 the generated DLL was hardly usable (it had a shared initialized
data segment).
e) On OS/2 the generated DLLs had names like ssl.dll. However, DLL names on
OS/2 are "global data". It is hard to have several DLLs with the same
name on the system. Thus this precluded coexistence of OpenSSL with DLLs
for other SLL implementations - or other name clashes. I transparently
changed the names of the DLLs to open_ssl.dll and cryptssl.dll.
f) The file added in (a) is used to create "forwarder" DLLs, so the
applications expecting the "old" DLL names may use the new DLLs
transparently. (A presence of these DLLs on the system nullifies (e),
but makes old applications work. This is a stopgap measure until the
old applications are relinked. Systems with no old applications do not
need these DLLs, so may enjoy all the benefits of (e).)
The new DLLs are placed in os2/ and os2/noname subdirectories.
g) The makefiles created with os2/OS2-EMX.cmd did not work (some mysterious
meaningless failures). The change to util/pl/OS2-EMX.pl uses the
variable introduced in (b) to switch the Makefiles to SHELL=sh syntax.
All these backslashes are removed, and the generated Makefiles started to
work.
h) Running os2/OS2-EMX.cmd now prints out what to do next.
2003-11-28 14:51:30 +00:00
Richard Levitte
03ddbdd9b9
Move another common functionality (reproduced so far with cut'n'paste)
...
to apps.c, and give it the hopefully descriptive name parse_yesno().
2003-11-28 14:45:09 +00:00
Richard Levitte
5ebdb39084
Let's use text/plain in the example instead of crapy HTML.
...
PR: 777
Submitted by: Michael Shields <mshields@sunblocksystems.com >
2003-11-28 14:32:31 +00:00
Richard Levitte
d45a098472
Forgot to change the declaration of do_subject() to one of parse_name()...
2003-11-28 14:18:05 +00:00
Richard Levitte
6d5ffb591b
Move do_subject() to apps.c and rename it to parse_name(). The
...
rationale behind the move is that it's use by several applications.
The rationale behind the name change is that it describes what the
function does a bit better.
2003-11-28 14:07:14 +00:00
Richard Levitte
7ce9e425bc
Allow multi-valued rdns in subjects. This adds the -multivalue-rdn option
...
to 'openssl req' and 'openssl ca'.
PR: 779
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de >
Reviewed by: Richard Levitte
(there will be some follow-up changes)
2003-11-28 14:04:09 +00:00
Richard Levitte
4d8743f490
Netware-specific changes,
...
PR: 780
Submitted by: Verdon Walker <VWalker@novell.com >
Reviewed by: Richard Levitte
2003-11-28 13:10:58 +00:00
Richard Levitte
4c8b4f9d03
Change my debugging entries to do fierce BIGNUM debugging.
2003-11-28 12:54:11 +00:00
Geoff Thorpe
81ba5f6713
Due to recent debugging bursts, openssl should be more or less solid
...
against inconsistent BIGNUMs coming out of any of its API functions. So
this change no longer "fixes" the bn_print.c functions, but it makes for
cleaner code. This patch was a part of ticket 697.
PR: 697
Submitted by: Otto Moerbeek
Reviewed by: Geoff Thorpe
2003-11-25 21:07:59 +00:00
Geoff Thorpe
6defae04f3
Fix some handling in bn_word. This also resolves the issues observed in
...
ticket 697 (though uses a different solution than the proposed one). This
problem was initially raised by Otto Moerbeek.
PR: 697
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2003-11-25 20:39:19 +00:00
Geoff Thorpe
e1064adfd3
Some changes for bn_gf2m.c: better error checking plus some minor
...
optimizations.
Submitted by: Nils Larsch
2003-11-25 03:41:20 +00:00
Lutz Jänicke
d7559f16cd
Free "engine" resource in case of failure to prevent memory leak
...
PR: #778
Submitted by: George Mitchell <george@m5p.com >
2003-11-24 16:48:52 +00:00
Geoff Thorpe
9e989810ba
BN_div() cleanup: replace the use of BN_sub and BN_add with bn_sub_words
...
and bn_add_words to avoid using fake bignums to window other bignums that
can lead to corruption. This change allows all bignum tests to pass with
BN_DEBUG and BN_DEBUG_RAND debugging and valgrind. NB: This should be
tested on a few different architectures and configuration targets, as the
bignum code this deals with is quite preprocessor (and assembly) sensitive.
Submitted by: Nils Narsch
Reviewed by: Geoff Thorpe, Ulf Moeller
2003-11-22 20:23:41 +00:00
Geoff Thorpe
ec2179cf81
Fix a small bug in str_copy: if more than one variable is replaced, make
...
sure the current length is used to calculate the new buffer length instead
of using the old length (prior to any variable substitution).
Submitted by: Nils Larsch
2003-11-21 21:42:35 +00:00
Dr. Stephen Henson
a8287a90ea
Give CRLDP its standard name.
...
Max req -x509 use V1 if extensions section absent.
2003-11-20 22:45:06 +00:00
Andy Polyakov
ad5f0ed509
hpux64-parisc2-gcc target added. Once it is verified, ./config should
...
be modified to choose it instead of hpux64-parisc-gcc, which should
then be removed. hpux64-parisc-cc is removed already now as redundant
[in case you wonder, 64-bit HP-UX ABI *implies* PA-RISC2.0].
2003-11-20 19:10:36 +00:00
Andy Polyakov
0a4c8baf5e
./config failed to correctly detect if gcc uses 64-bit ABI on HP-UX.
...
PR: 772
2003-11-20 18:33:20 +00:00
Lutz Jänicke
95de3d204f
Make sure to initialize AES counters to obtain proper results.
...
Submitted by: Kirill Kochetkov <kochet@ixbt.com >
PR: #748
2003-11-18 18:27:12 +00:00
Ulf Möller
31182ad39b
re-enable the test, keeping the original method for RAND_pseudo_bytes
...
which is used by BN_DEBUG_RAND
Submitted by: Nils Larsch
2003-11-16 19:33:31 +00:00
Lutz Jänicke
f35232e6f3
Catch error condition to prevent NULL pointer dereference.
...
Submitted by: Goetz Babin-Ebell <babin-ebell@trustcenter.de >
PR: #766
2003-11-16 16:30:39 +00:00
Lutz Jänicke
fda5e38551
Provide ASFLAGS in the subdirectories handling assembler code.
...
Submitted by: Tim Rice <tim@multitalents.net >
PR: #735 , #765
2003-11-16 14:38:34 +00:00
Ulf Möller
ac9c6e10a4
The x9.62 tests replace the PRNG with specific numbers,
...
so don't run them if BN_DEBUG_RAND is defined.
Also, fix another small bug.
Submitted by: Nils Larsch
2003-11-16 12:24:45 +00:00
Ulf Möller
1a01733047
BN_set_bit() etc should use "unsigned int".
...
Keep it as is to avoid an API change, but check for negativ values.
Submitted by: Nils Larsch
2003-11-15 08:37:50 +00:00
Richard Levitte
d2cd46127c
Less restrictive debugging build.
2003-11-14 14:06:40 +00:00
Geoff Thorpe
9dde17e8b4
This rewrites two "for" loops in BN_rshift() - equality with zero is
...
generally a more efficient comparison than comparing two integers, and the
first of these two loops was off-by-one (copying one too many values). This
change also removes a superfluous assignment that would set an unused word
to zero (and potentially allow an overrun in some cases).
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2003-11-13 15:03:14 +00:00
Geoff Thorpe
37af03d311
General improvements to the ec_asn1.c code. This squashes at least one bug
...
(where it was impossible to create an EC certificate with a compressed
public key), and has some style improvements based on some comments from
Steve Henson about use of the ASN1 macros.
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2003-11-10 18:09:18 +00:00
Geoff Thorpe
f7a397cc8d
Avoid possible memory leaks in error-handling.
...
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
2003-11-10 18:05:22 +00:00
Dr. Stephen Henson
cd2e8a6f2d
Print out GeneralizedTime and UTCTime in ASN1_STRING_print_ex().
2003-11-10 01:37:23 +00:00
Ulf Möller
d18b993c43
Geoff suggested a more succinct description for "top".
2003-11-07 01:33:00 +00:00
Ulf Möller
e6e81c5894
oops... the description of ->top was inaccurate (the example is correct though)
2003-11-07 00:07:28 +00:00
Geoff Thorpe
f75abcefed
This extends the debugging macros to use "pollution" during
...
bn_correct_top(), previously only bn_check_top() did this.
2003-11-06 23:24:44 +00:00
Geoff Thorpe
18f62d4b82
Add debug-screening of input parameters to some functions I'd missed
...
before.
2003-11-06 23:13:04 +00:00
Geoff Thorpe
5c0c22803e
Put more debug screening in BN_div() and correct a comment.
2003-11-06 23:11:07 +00:00
Geoff Thorpe
0ef85c7f45
This is a revert of my previous commit to "improve" the declaration of
...
constant BIGNUMs. It turns out that this trips up different but equally
useful compiler warnings to -Wcast-qual, and so wasn't worth the ugliness
it created. (Thanks to Ulf for the forehead-slap.)
2003-11-05 19:30:29 +00:00
Ulf Möller
078dd1a0f9
typo in comment
2003-11-05 17:28:59 +00:00
Ulf Möller
2b96c95197
cleanup as discussed with Geoff
2003-11-05 17:28:25 +00:00
Ulf Möller
c5f1c7b4d8
Cygwin debugging
2003-11-05 17:27:13 +00:00
Geoff Thorpe
d870740cd7
Put the first stage of my bignum debugging adventures into CVS. This code
...
is itself experimental, and in addition may cause execution to break on
existing openssl "bugs" that previously were harmless or at least
invisible.
2003-11-04 22:54:49 +00:00
Geoff Thorpe
d8ec0dcf45
Avoid some shadowed variable names.
...
Submitted by: Nils Larsch
2003-11-04 00:51:32 +00:00
Geoff Thorpe
c465e7941e
This is the least unacceptable way I've found for declaring the bignum data
...
and structures as constant without having to cast away const at any point.
There is still plenty of other code that makes gcc's "-Wcast-qual" unhappy,
but crypto/bn/ is now ok. Purists are welcome to suggest alternatives.
2003-11-04 00:29:09 +00:00
Richard Levitte
933398f110
Engines are usually binary, and should therefore be in INSTALLTOP
...
rather than OPENSSLDIR.
2003-10-31 10:48:48 +00:00
Richard Levitte
cfd06a6223
Let exit codes propagate from within for loops.
2003-10-31 06:58:24 +00:00
Geoff Thorpe
a9fd78f9da
bn_div() does some pretty nasty things with temporary variables,
...
constructing BIGNUM structures with pointers offset into other bignums
(among other things). This corrects some of it that is too plainly insane,
and tries to ensure that bignums are normalised when passed to other
functions.
2003-10-31 01:35:16 +00:00
Geoff Thorpe
5f747c7f4b
When a BN_CTX is used for temporary workspace, the variables are sometimes
...
left in an inconsistent state when they are released for later reuse. This
change resets the BIGNUMs when they are released back to the context.
2003-10-30 01:07:56 +00:00
Geoff Thorpe
c4db1a8b5c
This fixes a couple of cases where an inconsistent BIGNUM could be passed as
...
input to a function.
2003-10-30 01:03:31 +00:00
Geoff Thorpe
f7939fcd9a
make update
2003-10-29 23:25:52 +00:00
Geoff Thorpe
d531c9014d
Tighten up my compiler settings.
2003-10-29 23:25:34 +00:00
Geoff Thorpe
aca95e0b2f
Remove a line that was causing redundant declarations.
...
Obtained from: Stephen Henson <steve@openssl.org >
2003-10-29 22:55:19 +00:00
Geoff Thorpe
bc3c578208
Copy-n-paste bug (don't mix variable declarations and code). This sets the
...
callback structure just before it is needed.
2003-10-29 22:30:45 +00:00
Geoff Thorpe
06e4024d98
Oops, this file already had the "empty source file" workaround but it
...
requires -DPEDANTIC and was hidden at the bottom of the file. This moves it
to the top and removes the redundant declaration.
2003-10-29 22:25:04 +00:00
Geoff Thorpe
8087d8f7ea
Make md32_common.h friendlier to compiler warnings.
...
Obtained from: Andy Polyakov <appro@openssl.org >
2003-10-29 20:55:03 +00:00
Geoff Thorpe
31166ec8f3
Some provisional bignum debugging has begun to detect inconsistent BIGNUM
...
structures being passed in to or out of API functions, and this corrects a
couple of cases found so far.
Also, lop off a couple of bytes of white-space.
2003-10-29 20:47:49 +00:00
Geoff Thorpe
2754597013
A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.
...
I have tried to convert 'len' type variable declarations to unsigned as a
means to address these warnings when appropriate, but when in doubt I have
used casts in the comparisons instead. The better solution (that would get
us all lynched by API users) would be to go through and convert all the
function prototypes and structure definitions to use unsigned variables
except when signed is necessary. The proliferation of (signed) "int" for
strictly non-negative uses is unfortunate.
2003-10-29 20:24:15 +00:00
Geoff Thorpe
2ce90b9b74
BN_CTX is opaque and the static initialiser BN_CTX_init() is not used
...
except internally to the allocator BN_CTX_new(), as such this deprecates
the use of BN_CTX_init() in the API. Moreover, the structure definition of
BN_CTX is taken out of bn_lcl.h and moved into bn_ctx.c itself.
NDEBUG should probably only be "forced" in the top-level configuration, but
until it is I will avoid removing it from bn_ctx.c which might surprise
people with massive slow-downs in their keygens. So I've left it in
bn_ctx.c but tidied up the preprocessor logic a touch and made it more
tolerant of debugging efforts.
2003-10-29 18:04:37 +00:00
Richard Levitte
4e952ae4fc
Removing those memcpy()s also took away the possibility for in and out to
...
be the same. Therefore, the removed memcpy()s need to be restored.
2003-10-29 06:21:22 +00:00
Geoff Thorpe
db59141467
remove accidentally committed debugging cruft.
2003-10-29 05:35:31 +00:00
Geoff Thorpe
8a66d17899
Remove an unnecessary cast that causes certain compilers (eg. mine) some
...
confusion. Also silence a couple of signed/unsigned warnings.
2003-10-29 05:00:57 +00:00
Geoff Thorpe
2eeaa0261e
Remove redundant declaration.
2003-10-29 04:58:23 +00:00
Geoff Thorpe
8dc344ccbf
Relax some over-zealous constification that gave some lhash-based code no
...
choice but to have to cast away "const" qualifiers from their prototypes.
This does not remove constification restrictions from hash/compare
callbacks, but allows destructor commands to be run over a tables' elements
without bad casts.
2003-10-29 04:57:05 +00:00
Geoff Thorpe
6bcd3f903a
Comments out some unimplemented functions instead of redeclaring them.
2003-10-29 04:42:29 +00:00
Geoff Thorpe
40f935f5b4
Avoid "empty source file" warnings.
2003-10-29 04:41:19 +00:00
Geoff Thorpe
0991f07034
For whatever reason (compiler or header bugs), at least one commonly-used
...
linux system (namely mine) chokes on our definitions and uses of the "HZ"
symbol in crypto/tmdiff.[ch] and apps/speed.c as a "bad function cast"
(when in fact there is no function casting involved at all). In both cases,
it is easily worked around by not defining a cast into the macro and
jiggling the expressions slightly.
In addition - this highlights some cruft in openssl that needs sorting out.
The tmdiff.h header is exported as part of the openssl API despite the fact
that it is ugly as the driven sludge and not used anywhere in the library,
applications, or utilities. More weird still, almost identical code exists
in apps/speed.c though it looks to be slightly tweaked - so either tmdiff
should be updated and used by speed.c, or it should be dumped because it's
obviously not useful enough.
Rather than removing it for now, I've changed the API for tmdiff to at
least make sense. This involves taking the object type (MS_TM) from the
implementation and using it in the header rather than using "char *" in the
API and casting mercilessly in the code (ugh). If someone doesn't like
"MS_TM" and the "ms_time_***" naming, by all means change it. This should
be a harmless improvement, because the existing API is clearly not very
useful (eg. we reimplement it rather than using it in our own utils).
However, someone still needs to take a hack at consolidating speed.c and
tmdiff.[ch] somehow.
2003-10-29 04:40:13 +00:00
Geoff Thorpe
2aaec9cced
Update any code that was using deprecated functions so that everything builds
...
and links with OPENSSL_NO_DEPRECATED defined.
2003-10-29 04:14:08 +00:00
Geoff Thorpe
9d473aa2e4
When OPENSSL_NO_DEPRECATED is defined, deprecated functions are (or should
...
be) precompiled out in the API headers. This change is to ensure that if
it is defined when compiling openssl, the deprecated functions aren't
implemented either.
2003-10-29 04:06:50 +00:00
Geoff Thorpe
6145b0b183
The "cryptodev" engine preprocessor logic used undefined symbols in
...
comparisons. It's better not to allow this, because it gives false
positives when using compiler warnings that detect mistyped symbols.
2003-10-29 04:00:14 +00:00
Geoff Thorpe
2a85f77146
Add my own debug config target.
2003-10-28 22:57:18 +00:00
Geoff Thorpe
66b82f5aad
make update
2003-10-28 22:10:47 +00:00
Geoff Thorpe
12bdceac8a
Ignore derived file.
2003-10-28 17:26:46 +00:00
Geoff Thorpe
aea293e3bc
crypto/evp/evptests.txt is copied to tests/ rather than symlinked because
...
of windows (see checkin 1.75 of crypto/evp/Makefile.ssl), so quiet cvs
noise for the copied version.
2003-10-28 17:24:29 +00:00
Geoff Thorpe
8ad7e3ad2a
Remove duplicate prototypes have already been (correctly) added to rsa.h,
...
as this is already included by x509.h anyway.
2003-10-24 16:17:11 +00:00
Richard Levitte
0b6956b474
Correct serious bug in AES-CBC decryption when the message length isn't
...
a multiple of AES_BLOCK_SIZE.
Optimize decryption of all complete blocks in AES-CBC by removing an
unnecessary memcpy().
The error was notified by James Fernandes <jf210032@exchange.DAYTONOH.NCR.com >.
The unnecessary memcpy() was found as an effect of investigating that error.
2003-10-15 09:00:14 +00:00
Richard Levitte
0bb6187e71
The object file is o_str.o, not o_str.c.
...
Thanks to Peter Sylvester <Peter.Sylvester@EdelWeb.fr > for the notification.
2003-10-13 11:34:40 +00:00
Dr. Stephen Henson
c5a5546389
Add support for digested data PKCS#7 type.
2003-10-11 22:11:45 +00:00
Dr. Stephen Henson
77fe058c10
Simplify cipher and digest lookup in PKCS#7 code.
2003-10-11 16:46:40 +00:00
Dr. Stephen Henson
8d9086dfa2
New function to initialize a PKCS7 structure of type other.
2003-10-10 23:40:47 +00:00
Dr. Stephen Henson
0602abf5bd
Initialize digested data type in PKCS7_set_type().
2003-10-10 23:31:53 +00:00
Dr. Stephen Henson
caf044cb3e
Retrieve correct content to sign when the
...
type is "other".
2003-10-10 23:25:43 +00:00
Dr. Stephen Henson
a08ced78c8
Avoid warnings: add missing prototype, don't shadow.
2003-10-10 23:07:24 +00:00
Richard Levitte
83eb412da8
In realloc, don't destroy the old memory area if a new one couldn't be
...
allocated.
Notified by Daniel Lucq <daniel@lucq.org >
2003-10-07 12:09:39 +00:00
Richard Levitte
4d1c443123
make update
2003-10-06 12:22:42 +00:00
Richard Levitte
f44e184ec6
s_client should inform the user of any compression/expansion methods used.
2003-10-06 12:19:38 +00:00
Richard Levitte
377dcdba44
Add functionality to get information on compression methods (not quite complete).
2003-10-06 12:18:39 +00:00
Richard Levitte
8242354952
Make sure int SSL_COMP_add_compression_method() checks if a certain
...
compression identity is already present among the registered
compression methods, and if so, reject the addition request.
Declare SSL_COMP_get_compression_method() so it can be used properly.
Change ssltest.c so it checks what compression methods are available
and enumerates them. As a side-effect, built-in compression methods
will be automagically loaded that way. Additionally, change the
identities for ZLIB and RLE to be conformant to
draft-ietf-tls-compression-05.txt.
Finally, make update.
Next on my list: have the built-in compression methods added
"automatically" instead of requiring that the author call
SSL_COMP_add_compression_method() or
SSL_COMP_get_compression_methods().
2003-10-06 11:00:15 +00:00
Richard Levitte
c40b9bdefb
Setting the ex_data index is unsafe in a threaded environment, so
...
let's wrap it with a lock.
2003-10-06 09:09:44 +00:00
Richard Levitte
6895cca89d
Remove unused code, don't use zlib functions that are really macros
...
and provide missing prototypes.
2003-10-04 09:09:19 +00:00
Richard Levitte
f82ab534c6
Check for errors from SSL_COMP_add_compression_method().
...
Notified by Andrew Marlow <AMARLOW1@bloomberg.net >
2003-10-02 10:41:48 +00:00
Richard Levitte
f6e8c19ed1
Correct a mixup of return values
2003-10-02 10:38:44 +00:00
Richard Levitte
cf89b40584
Include e_os.h to get a proper definition of memmove on the platforms
...
that do not have it.
2003-10-01 20:43:03 +00:00
Richard Levitte
c076599c18
Corrected misplacement of one of the greps...
2003-10-01 15:06:36 +00:00
Richard Levitte
4d8148fa98
Remove leading and trailing spaces and tabs
2003-10-01 15:04:13 +00:00
Richard Levitte
aed29ce5ea
Avoid 'file names' with spaces
2003-10-01 15:03:15 +00:00
Richard Levitte
9ad82c123a
Use correct case for manual page references
2003-10-01 15:02:45 +00:00
Richard Levitte
eeff6bb6b3
Correct incorrect mode bits change.
2003-09-30 17:31:48 +00:00
Richard Levitte
d90e74c50c
Correct buggy PODs (missing commas and a prepended space).
2003-09-30 17:22:19 +00:00
Dr. Stephen Henson
2990244980
ASN1 parse fix and release file changes.
2003-09-30 16:47:33 +00:00
Richard Levitte
c798868d96
Further VxWorks changes from Bob Bradley <bob@chaoticsoftware.com>, this
...
time involving VxWorks on MIPS
2003-09-28 14:06:57 +00:00
Richard Levitte
057a04398d
Synchronise util/libeay.num with the 0.9.7-stable one.
...
make update
2003-09-28 09:34:50 +00:00
Richard Levitte
7f3ba9428f
Uhmm, It seem to have forgotten one file when I committed the MSDOS
...
change yesterday.
PR: 669
2003-09-28 07:11:33 +00:00
Richard Levitte
3c02e24bb3
Change the indentation from 12 to indent+4.
...
PR: 657
2003-09-27 22:48:33 +00:00
Richard Levitte
1be02dd842
Make MD5 assembler code able to handle messages larger than 2GB on 32-bit
...
systems and above.
PR: 664
2003-09-27 22:14:39 +00:00
Richard Levitte
3d7c4a5a6d
Selected changes for MSDOS, contributed by Gisle Vanem <giva@bgnett.no>.
...
PR: 669
2003-09-27 21:56:08 +00:00
Richard Levitte
11171f3c74
Add reference counting around the thread state hash table.
...
Unfortunately, this means that the dynamic ENGINE version just went up, and
isn't backward compatible.
PR: 678
2003-09-27 20:29:05 +00:00
Dr. Stephen Henson
0b6df67fb1
file fips_dsa_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:16 +0000
2003-09-27 20:07:15 +00:00
Richard Levitte
ba9f80c5d5
Have ssl3_ssl3_send_client_verify() change the state to SSL3_ST_SW_CERT_VRFY_B.
...
PR: 679
2003-09-27 19:32:06 +00:00
Richard Levitte
e59659dc41
Have ssl3_send_certificate_request() change the state to SSL3_ST_SW_CERT_REQ_B.
...
PR: 680
2003-09-27 19:27:06 +00:00
Richard Levitte
253e893c2b
Include the instance in the Kerberos ticket information.
...
In s_server, print the received Kerberos information.
PR: 693
2003-09-27 17:55:13 +00:00
Dr. Stephen Henson
bf087e1ea1
file fips_rsa_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2003-09-27 15:54:41 +00:00
Richard Levitte
0ad2c4f85b
Correct small documentation error.
...
PR: 698
2003-09-27 10:39:16 +00:00
Richard Levitte
0e6c20da46
Free the Kerberos context upon freeing the SSL.
...
Contributed by Andrew Mann <amann@tccgi.com >
2003-09-27 07:35:07 +00:00
Richard Levitte
f6b659cba4
Add necessary changes to be able to build on VxWorks for PPC860.
...
Contributed by Bob Bradley <bob@chaoticsoftware.com >
2003-09-27 07:34:49 +00:00
Ralf S. Engelschall
6bd27f8644
Fix prime generation loop in crypto/bn/bn_prime.pl by making
...
sure the loop does correctly stop and breaking ("division by zero")
modulus operations are not performed. The (pre-generated) prime
table crypto/bn/bn_prime.h was already correct, but it could not be
re-generated on some platforms because of the "division by zero"
situation in the script.
2003-09-25 13:57:58 +00:00
Dr. Stephen Henson
dfe399e7d9
Add -passin support to rsautl
2003-09-21 02:20:02 +00:00
Dr. Stephen Henson
7068c8b1a6
In order to get the expected self signed error when
...
calling X509_verify_cert() in x509.c the cert should
not be added to the trusted store.
2003-09-21 02:18:15 +00:00
Dr. Stephen Henson
885818fb7c
file fips_locl.h was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2003-09-14 13:01:52 +00:00
Dr. Stephen Henson
2f370048cb
file testfipsssl was added on branch OpenSSL_0_9_8-stable on 2008-09-17 16:27:50 +0000
2003-09-13 17:03:56 +00:00
Dr. Stephen Henson
28dc02a9d8
file fips_rsa_gen.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2003-09-11 21:36:59 +00:00
Dr. Stephen Henson
54ebaca535
file fips_rsa_eay.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:21 +0000
2003-09-11 21:36:57 +00:00
Dr. Stephen Henson
82384690e2
Typos.
2003-09-09 23:44:39 +00:00
Richard Levitte
e6fa67fa93
Generalise the definition of strcasecmp() and strncasecmp() for
...
platforms that don't (necessarely) have it. In the case of VMS, this
means moving a couple of functions from apps/ to crypto/ and make them
general (although only used privately).
2003-09-09 14:48:36 +00:00
Geoff Thorpe
9ea72d3705
These should be write-locks, not read-locks.
2003-09-08 15:47:55 +00:00
Dr. Stephen Henson
4fedc91a4a
file openssl_fips_fingerprint was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:10 +0000
2003-09-07 11:13:52 +00:00
Dr. Stephen Henson
f734aaa413
file fips_des_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:13 +0000
2003-09-04 16:46:43 +00:00
Dr. Stephen Henson
a575d4b9ee
file fips_aes_selftest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:12 +0000
2003-09-04 16:46:40 +00:00
Bodo Möller
a907751350
certain changes have to be listed twice in this file because OpenSSL
...
0.9.6h forked into 0.9.6i and 0.9.7 ...
2003-09-04 12:52:56 +00:00
Dr. Stephen Henson
560dfd2a02
New -ignore_err option in ocsp application to stop the server
...
exiting on the first error in a request.
2003-09-03 23:56:01 +00:00
Dr. Stephen Henson
14f3d7c5cc
Only accept a client certificate if the server requests
...
one, as required by SSL/TLS specs.
2003-09-03 23:47:34 +00:00
Dr. Stephen Henson
77a87ded3a
file fips_dsa_gen.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:15 +0000
2003-09-03 14:11:31 +00:00
Dr. Stephen Henson
b958d2c298
file fips_dssvs.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:16 +0000
2003-09-03 14:11:29 +00:00
Dr. Stephen Henson
510dc1ecd0
outlen should be int * in out_utf8.
2003-08-21 12:32:12 +00:00
Bodo Möller
563c05e2dc
fix out-of-bounds check in lock_dbg_cb (was too lose to detect all
...
invalid cases)
PR: 674
2003-08-14 10:33:56 +00:00
Bodo Möller
643ecd2ed6
make sure no error is left in the queue that is intentionally ignored
2003-08-11 18:56:22 +00:00
Richard Levitte
88401ed449
Correct two problems, found by Martin Kochanski <cardbox@easynet.co.uk>:
...
1. CreateToolhelp32Snapshot returns INVALID_HANDLE_VALUE, not NULL, on error.
2. On Windows CE, a snapshot handle is closed with CloseToolhelp32Snapshot,
not CloseHandle.
2003-08-07 11:57:42 +00:00
Bodo Möller
3aa8d3a7f1
add OpenSSL license
...
fix typo
2003-08-06 10:36:25 +00:00
Richard Levitte
5b6e7c8c65
Inclusion of openssl/engine.h should always be wrapped with a check that
...
OPENSSL_NO_ENGINE is not defined.
2003-08-04 10:12:36 +00:00
Dr. Stephen Henson
dc72a195c2
file fips_desmovs.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:13 +0000
2003-07-30 18:30:14 +00:00
Dr. Stephen Henson
e2812ff61f
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:13 +0000
2003-07-30 18:30:12 +00:00
Dr. Stephen Henson
8c2e34e27f
file fips_randtest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2003-07-27 17:00:49 +00:00
Dr. Stephen Henson
31f3950fbf
file fips_rand.h was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2003-07-27 17:00:47 +00:00
Dr. Stephen Henson
75b3654d18
file fips_rand.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2003-07-27 17:00:45 +00:00
Dr. Stephen Henson
418f9ac5e3
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:18 +0000
2003-07-27 17:00:43 +00:00
Dr. Stephen Henson
ad4afe4edf
file fips_dsa_ossl.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:15 +0000
2003-07-27 17:00:41 +00:00
Dr. Stephen Henson
c844b971cb
file fips_dsatest.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:16 +0000
2003-07-27 17:00:39 +00:00
Dr. Stephen Henson
ca9b1c47af
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:15 +0000
2003-07-27 17:00:37 +00:00
Dr. Stephen Henson
86039d2751
file fips_aesavs.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:12 +0000
2003-07-27 17:00:35 +00:00
Dr. Stephen Henson
420a692f04
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:12 +0000
2003-07-27 17:00:33 +00:00
Dr. Stephen Henson
1d2a464fe0
file fips.h was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:09 +0000
2003-07-27 17:00:31 +00:00
Dr. Stephen Henson
7735dd0750
file fips.c was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:09 +0000
2003-07-27 17:00:29 +00:00
Dr. Stephen Henson
bf7b075f0c
file .cvsignore was added on branch OpenSSL_0_9_8-stable on 2008-09-16 10:12:09 +0000
2003-07-27 17:00:27 +00:00
Dr. Stephen Henson
f96d1af449
Avoid clashes with Win32 names in WinCrypt.h
2003-07-23 00:10:43 +00:00
Bodo Möller
968766cad8
updates for draft-ietf-tls-ecc-03.txt
...
Submitted by: Douglas Stebila
Reviewed by: Bodo Moeller
2003-07-22 12:34:21 +00:00
Bodo Möller
652ae06bad
add test for secp160r1
...
add code for kP+lQ timings
Submitted by: Douglas Stebila <douglas.stebila@sun.com >
Reviewed by: Bodo Moeller
2003-07-22 10:39:10 +00:00
Bodo Möller
ddc38679ce
tolerate extra data at end of client hello for SSL 3.0
...
PR: 659
2003-07-21 15:17:46 +00:00
Bodo Möller
02e0559477
fix: 0.9.7 is based on 0.9.6h, not on 0.9.6k
...
typo in 0.9.6k section
2003-07-21 15:08:01 +00:00
Bodo Möller
ada0e717fa
new function EC_GROUP_cmp() (used by EVP_PKEY_cmp())
...
Submitted by: Nils Larsch
2003-07-21 13:43:28 +00:00
Bodo Möller
2c789c82be
manpages for 'openssl ec' and 'openssl ecparam'
...
Submitted by: Nils Larsch
2003-07-21 13:40:02 +00:00
Richard Levitte
d143dce03c
A document that has a very rough description of the X509
...
functionality. This is mostly so there's a way to get from the
crypto.html page to the function descriptions.
2003-07-10 08:49:03 +00:00
Richard Levitte
f9d183c209
Replace CCITT with ITU-T. Keep CCITT around as an alias.
...
make update
PR: 80
2003-07-04 15:45:04 +00:00
Richard Levitte
182cd19dea
Make sure openssl.pc is readable by everyone.
...
PR: 654
2003-07-04 11:41:13 +00:00
Richard Levitte
61f00386ab
The counter is big-endian. Since it comes as an array of char,
...
there's absolutely no need to special-case it on little-endian
machines.
Notified by Thierry Boivin <Thierry.Boivin@celsecat.com >
2003-07-04 11:37:50 +00:00
Richard Levitte
2ae0352b0f
Oops, I forgot to replace 'counter' with 'ivec' when used...
2003-07-03 20:50:44 +00:00
Richard Levitte
94805c84d1
Add -issuer_hash and make -subject_hash the default way to get the
...
subject hash, with -hash a synonym kept around for backward
compatibility reasons.
PR: 650
2003-07-03 20:45:09 +00:00
Richard Levitte
6f2f534b58
The convenience argumetn for -nameopt and -certopt is ca_default, not
...
default_ca.
PR: 653
2003-07-03 07:46:52 +00:00
Richard Levitte
da6c44fc97
The 'counter' is really the IV.
2003-07-03 06:42:43 +00:00
Richard Levitte
da0d33560f
Change AES-CTR to increment the IV by 1 instead of 2^64.
2003-07-03 06:41:30 +00:00
Lutz Jänicke
9d19fbc4fc
Clarify wording of verify_callback() behaviour.
2003-06-26 14:03:03 +00:00
Richard Levitte
aa5ae4841e
Only remove old files if they exist. [Maing32].
...
Notified by Michael Gerdau <mgd@technosis.de >
2003-06-26 11:58:02 +00:00
Richard Levitte
eb3d68c454
Nils Larsch told me I could remove that variable entirely.
2003-06-26 11:52:23 +00:00
Richard Levitte
c89f31def0
make update
2003-06-26 10:27:11 +00:00
Richard Levitte
ed5fae580e
Implement missing functions.
...
Have the f parameter to _ctrl functions have the prototype (*)(void)
rather than (*)(), for the sake of C++ compilers.
Disable unimplemented functionality.
2003-06-26 10:26:42 +00:00
Richard Levitte
d55141ed7a
"Remove" unused variable
2003-06-26 10:23:00 +00:00
Richard Levitte
a99ce1a574
Conform with the standard prototype for engine control functions.
2003-06-26 07:10:10 +00:00
Richard Levitte
c687a3d5d5
Scan through the engines directory as well.
2003-06-26 07:05:19 +00:00
Richard Levitte
dfc3151925
The definition of dynamic_ctrl() should change along with the
...
declaration :-).
2003-06-26 07:03:49 +00:00
Bodo Möller
0fbffe7a71
implement PKCS #8 / SEC1 private key format for ECC
...
Submitted by: Nils Larsch
2003-06-25 21:35:05 +00:00
Dr. Stephen Henson
037f6e73f1
Return EOF when an S/MIME part have been read.
2003-06-24 17:11:44 +00:00
Richard Levitte
cf82439de8
Make sure the compiler knows we run with pedantic settings.
2003-06-20 00:57:18 +00:00
Richard Levitte
37fcd48f86
make update
2003-06-19 23:00:50 +00:00
Richard Levitte
cf9a88cad7
Document the last change.
...
PR: 587
2003-06-19 19:04:13 +00:00
Richard Levitte
4f1cd8324c
Prepare for changes in the 0.9.6 branch
2003-06-19 19:01:05 +00:00
Richard Levitte
ed7f1d0bc6
Prepare for changes in the 0.9.6 branch
2003-06-19 18:59:27 +00:00
Richard Levitte
f6b9cd7f82
We set the export flag for 512 *bit* keys, not 512 *byte* ones.
...
PR: 587
2003-06-19 18:55:50 +00:00
Richard Levitte
8fbb2af392
Add documentation for the new crlnumber configuration option.
2003-06-19 17:52:57 +00:00
Richard Levitte
c5aba56c5b
Typo.
2003-06-19 17:50:37 +00:00
Richard Levitte
fd4ef69913
Implement CRL numbers.
...
Contributed in whole by Laurent Genier <Laurent.Genier@intrinsec.com >
PR: 644
2003-06-19 17:40:16 +00:00
Richard Levitte
834ac33a37
dynamic_ctrl() didn't have exactly the same prototype as defined by
...
ENGINE_CTRL_FUNC_PTR.
2003-06-19 16:57:38 +00:00
Richard Levitte
4e9023f4d2
Unsigned vs. signed fixed.
2003-06-19 16:56:48 +00:00
Richard Levitte
d3a28e8b8d
EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() will
...
take care of returning if necessary.
2003-06-19 16:56:19 +00:00
Richard Levitte
0bd71d3b7e
Add the application data type to the README.
2003-06-18 07:14:52 +00:00
Richard Levitte
d97322f0e6
Missing string and potential memory leaks.
...
Notified by Goetz Babin-Ebell <goetz@shomitefo.de >
2003-06-18 07:12:28 +00:00
Richard Levitte
b52d512dfa
Slightly better check of attributes. Now, mem_list_next can actually stop when the searched for key doesn't have it's attributes within the range of the checked key.
2003-06-12 21:32:54 +00:00
Richard Levitte
a3a2ff4cd9
Beautify
2003-06-12 18:13:27 +00:00
Richard Levitte
5a1fd87ec1
Typo.
...
PR: 584
2003-06-12 01:04:05 +00:00
Richard Levitte
8645c415cf
Do not try to use non-existent gmtime_r() on SunOS4.
...
PR: 585
2003-06-12 00:57:25 +00:00
Richard Levitte
700d86ea18
Make sure ssize_t is defined on SunOS4.
...
PR: 585
2003-06-12 00:56:27 +00:00
Richard Levitte
54bbde3c3f
Make sure DSO-dlfcn works properly on SunOS4.
...
PR: 585
2003-06-12 00:51:54 +00:00
Richard Levitte
c14b337570
Typo.
...
PR: 593
2003-06-11 22:45:53 +00:00
Richard Levitte
e666c4599f
Add the possibility to have symbols loaded globally with DSO.
2003-06-11 22:42:28 +00:00
Richard Levitte
98cec7fc7b
make update
2003-06-11 22:27:19 +00:00
Richard Levitte
fadd2246a0
Avoid warnings saying that the format takes a void*.
2003-06-11 22:26:02 +00:00
Richard Levitte
c78b4f1d3d
Remove unused variable
2003-06-11 21:47:21 +00:00
Richard Levitte
33862b90bb
Add an entry for X509_TRUST_OBJECT_SIGN in trstandard[].
...
PR: 617
2003-06-11 21:22:30 +00:00
Richard Levitte
36bad5cdfd
Add documentation for ERR_set_mark() and ERR_pop_to_mark().
2003-06-11 20:51:49 +00:00
Richard Levitte
54f6451670
Add functionality to set marks on the error stack and to pop all errors to the next mark.
2003-06-11 20:49:58 +00:00
Richard Levitte
490967195a
Handle des_modes.pod properly.
...
PR: 634
2003-06-11 19:44:37 +00:00
Richard Levitte
606c8048a0
Make sure to NUL-terminate the string on end-of-file (and error)
...
PR: 643
2003-06-11 18:43:45 +00:00
Richard Levitte
e66d863cd0
Add crypto/store to the directories to look through.
2003-06-11 04:46:08 +00:00
Richard Levitte
a069460015
Document the AES_cbc_encrypt() change
2003-06-10 04:42:38 +00:00
Richard Levitte
55b12f8641
The output from AES_cbc_encrypt() should be exact multiple blocks when encrypting
2003-06-10 04:11:42 +00:00
Richard Levitte
40e5b9abeb
Typo
2003-06-09 07:56:18 +00:00
Geoff Thorpe
dcfb57c736
This memset() in the ubsec ENGINE is a bug. Zeroing out the result array
...
should not be necessary in any case, but more importantly the result and
input BIGNUMs could be the same, in which case this is clearly a problem.
Submitted by: Jonathan Hersch
Reviewed by: Joe Orton
Approved by: Geoff Thorpe
2003-06-06 17:51:34 +00:00
Richard Levitte
2ee67f1dad
Make sure the sigaction structure and fileno function are properly declared with an ANSI compiler on Solaris (and possibly others).
2003-06-04 09:13:19 +00:00
Richard Levitte
4af3184662
Remove extra ;
2003-06-04 09:11:44 +00:00
Richard Levitte
e31047744a
Make sure the function definitions match their declaration.
2003-06-04 09:11:15 +00:00
Richard Levitte
f6eba601b0
Make sure that size_t matches size_t.
2003-06-04 09:10:43 +00:00
Richard Levitte
f796dc5c06
Make sure debug-solaris-sparcv9-gcc is consistent with solaris-sparcv9-gcc.
2003-06-04 09:10:11 +00:00
Dr. Stephen Henson
50078051bd
Really get X509_CRL_CHECK_ALL right this time...
2003-06-04 00:40:05 +00:00
Lutz Jänicke
db01746978
Clarify return value of SSL_connect() and SSL_accept() in case of the
...
WANT_READ and WANT_WRITE conditions.
2003-06-03 09:59:44 +00:00
Dr. Stephen Henson
63b815583b
Update CHANGES to reflect base64 fix added to 0.9.7
2003-06-03 00:16:47 +00:00
Dr. Stephen Henson
ca82ac1fee
Only count 'LF' as EOL in pk7_mime.c, this avoids incorrect
...
results if CR+LF straddles the line buffer.
2003-06-02 17:53:42 +00:00
Dr. Stephen Henson
aff0542844
Stop checking for CRLF when start of buffer is reached.
...
Add rest of long line fix which got missed before
2003-06-02 01:12:01 +00:00
Dr. Stephen Henson
beab098d53
Various S/MIME bug and compatibility fixes.
2003-06-01 20:51:58 +00:00
Lutz Jänicke
02b95b7499
Clarify ordering of certificates when using certificate chains
2003-05-30 07:45:07 +00:00
Richard Levitte
c4d471552f
Include openssl/e_os.h so OPENSSL_SYSNAME_ULTRASPARC and other configuration
...
macros get properly defined.
2003-05-29 22:22:30 +00:00
Richard Levitte
01fc834bc9
Have ASFLAGS be defined the same way as CFLAGS
2003-05-29 22:20:47 +00:00
Richard Levitte
f7f8d82aaa
PR: 630
...
Avoid looking outside the key_data array.
2003-05-29 20:59:38 +00:00
Lutz Jänicke
4f17dfcd75
Add minimum POP3 STLS hack to s_client.c (as was provided for STARTTLS before)
...
Submitted by: dg@sunet.ru (Daniel Ginsburg)
PR: #613
2003-05-28 20:24:57 +00:00
Lutz Jänicke
83b4f49c0a
Move header file inclusion to prevent irritation of users forgetting to
...
call "make depend" after enabling or disabling ciphers...
Submitted by: Tal Mozes <talm@cyber-ark.com >
PR: #628
2003-05-28 19:56:46 +00:00
Dr. Stephen Henson
60790aff6f
PR: 627
...
Allocate certificatePolicies correctly if CPS field is absent.
Fix various memory leaks in certificatePolicies.
2003-05-28 17:28:11 +00:00
Dr. Stephen Henson
e19d0ef068
PR: 631
...
Submitted by: Doug Sauder <dws+001@hunnysoft.com >
Fix bug in X509V3_get_d2i() when idx in not NULL.
2003-05-28 16:57:08 +00:00
Richard Levitte
f5f7dffdd1
Make sure to compare unsigned against unsigned.
2003-05-28 10:34:29 +00:00
Richard Levitte
edd55d08f5
Brackets are now allowed, after a small hack in the processing of the
...
docs-on-web.
2003-05-23 09:08:59 +00:00
Richard Levitte
83743ad039
Fix sign bugs.
...
PR: 621
2003-05-21 14:29:13 +00:00
Richard Levitte
163f5b236c
Correct signedness
2003-05-21 14:21:26 +00:00
Richard Levitte
513c01a591
Make sure EC_window_bits_for_scalar_size() returns a size_t
2003-05-21 08:40:06 +00:00
Richard Levitte
d9a2a89a17
I have no idea how I cut away that piece of text...
2003-05-21 06:50:51 +00:00
Richard Levitte
31939f1544
I don't remember what my thinking was with str_compat.h. Maybe it'll
...
come back to me...
2003-05-20 09:00:59 +00:00
Richard Levitte
11ce33a71d
make update
2003-05-20 08:59:37 +00:00
Richard Levitte
9acef3bbd7
Misspelled functions.
2003-05-20 08:50:18 +00:00
Richard Levitte
164bc7dae8
Some misspelled function names.
2003-05-20 08:49:12 +00:00
Richard Levitte
f59c941950
Make the function STORE_new_engine() public.
2003-05-19 23:06:09 +00:00
Richard Levitte
0239876511
Remove certain functions
2003-05-19 23:03:43 +00:00
Dr. Stephen Henson
93c929e411
The square brackets in BIO_s_bio.pod for some
...
reason cause wml to bomb out with the error
message:
** Slice:Error: Some slices were not closed:
** WML:Break: Error in Pass 9 (rc=1).
** WMK:Error: Error in WML (rc=256)
As a workaround delete them for now.
2003-05-19 21:28:49 +00:00
Dr. Stephen Henson
c2dac35a02
Fix docs.
2003-05-18 23:10:46 +00:00
Dr. Stephen Henson
727ef76ebd
Add correct DN entry for serialNumber.
2003-05-07 23:20:58 +00:00
Richard Levitte
bca52f7d4e
Define the two authentication parameter types for passphrase and
...
Kerberos 5 authentications.
2003-05-07 21:17:30 +00:00
Richard Levitte
48c36fdb2a
Add the possibility to hand execution parameters (for example
...
authentication material) to the STORE functions.
Suggested by Götz Babin-Ebell <babin-ebell@trustcenter.de >.
2003-05-07 21:06:15 +00:00
Richard Levitte
9b2042fac3
/usr/lib/pkgconfig/openssl.pc was never installed in the RPM.
...
Notified by Bennett Todd <bet@rahul.net >.
2003-05-07 12:02:31 +00:00
Richard Levitte
816d785721
DO NOT constify RSA* in RSA_sign() and RSA_verify(), since there are function
...
called downstream that need it to be non-const. The fact that the RSA_METHOD
functions take the RSA* as a const doesn't matter, it just expresses that
*they* won't touch it.
PR: 602
2003-05-07 11:38:10 +00:00
Richard Levitte
742b139f54
Add the possibility to store arbitrary data in a STORE.
...
Suggested by Götz Babin-Ebell <babin-ebell@trustcenter.de >.
2003-05-06 08:02:14 +00:00
Richard Levitte
3b30121bd9
Constify RSA_sign() and RSA_verify().
...
PR: 602
2003-05-05 13:55:18 +00:00
Richard Levitte
9ee789e6c3
Yeah, right, an object file ending with .c, that'll work!
2003-05-03 06:58:08 +00:00
Dr. Stephen Henson
b9d2d20086
Make DER option work again.
...
Fix typo.
2003-05-02 11:41:40 +00:00
Richard Levitte
b9d7ca9748
It's usually best if the function name matches everywhere...
2003-05-02 07:25:54 +00:00
Richard Levitte
5b194dfbd5
STORE was created 2003, darnit!
2003-05-01 20:44:20 +00:00
Richard Levitte
7f6af7d9db
Get the year right...
2003-05-01 20:15:35 +00:00
Richard Levitte
42b2b6a2d5
Provide some extra comments about the STORE_Memory STORE method.
2003-05-01 04:31:12 +00:00
Richard Levitte
d1465bac90
make update
2003-05-01 04:10:32 +00:00
Richard Levitte
3bbb0212f3
Add STORE support in ENGINE.
2003-05-01 03:57:46 +00:00
Richard Levitte
a5db6fa576
Define a STORE type. For documentation, read the entry in CHANGES,
...
crypto/store/README, crypto/store/store.h and crypto/store/str_locl.h.
2003-05-01 03:53:12 +00:00
Richard Levitte
9236b5b013
Define a STORE lock (the STORE type will be committed later).
2003-05-01 03:46:10 +00:00
Richard Levitte
535fba4907
Define the OPENSSL_ITEM structure.
2003-05-01 03:45:18 +00:00
Richard Levitte
7e4140f73f
make update
2003-04-29 22:24:17 +00:00
Richard Levitte
1ae0a83bdd
Add BUF_strndup() and BUF_memdup(). Not currently used, but I've code
...
that uses them that I'll commit in a few days.
2003-04-29 22:08:57 +00:00
Richard Levitte
7ae46c6761
make update
2003-04-29 21:35:28 +00:00
Richard Levitte
d584fd6b66
Include objects.h to get a correct declaration of OBJ_bsearch_ex(),
...
not to mention the OBJ_BSEARCH_* macros.
2003-04-29 20:46:32 +00:00
Richard Levitte
54dbdd9837
Some variables were uninitialised...
2003-04-29 20:45:36 +00:00
Richard Levitte
9d6c32d6d1
Correct documentation. sk_find_ex() doesn't return a pointer, it
...
returns an index.
2003-04-29 20:31:58 +00:00
Richard Levitte
26851b6b42
Add an extended variant of sk_find() which returns a non-NULL pointer
...
even if an exact match wasn't found.
2003-04-29 20:30:55 +00:00
Richard Levitte
ea5240a5ed
Add an extended variant of OBJ_bsearch() that can be given a few
...
flags.
2003-04-29 20:25:21 +00:00
Bodo Möller
eec7968f18
fix typo
...
Submitted by: Nils Larsch
2003-04-22 08:29:21 +00:00
Richard Levitte
1cc087fe4f
Make it possible to affect the extension of man pages.
...
PR: 578
2003-04-21 22:00:36 +00:00
Richard Levitte
040c687ce4
Memory leak fix: RSA_blinding_on() didn't free Ai under certain circumstances.
...
Memory leak fix: RSA_blinding_on() would leave a dangling pointer in
rsa->blinding under certain circumstances.
Double definition fix: RSA_FLAG_NO_BLINDING was defined twice.
2003-04-16 06:25:21 +00:00
Richard Levitte
cd1226bc6a
Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
2003-04-15 13:01:37 +00:00
Bodo Möller
7a04fdd87f
include 'Changes between 0.9.6i and 0.9.6j'
2003-04-11 15:03:12 +00:00
Richard Levitte
138f970e6e
Add the 0.9.6j news.
2003-04-10 20:38:24 +00:00
Richard Levitte
1a0c1f9052
make update
2003-04-10 20:11:09 +00:00
Richard Levitte
1774e22d6f
New NEWS
2003-04-10 19:33:09 +00:00
Richard Levitte
26abc8f01a
Remove all those infernal stupid CR characters
2003-04-10 19:11:32 +00:00
Richard Levitte
5924c21608
There's a problem building shared libraries on the sco5-gcc target. However,
...
it's time for a release, so I'm just adding an enty in PROBLEMS, and will
hopefully solve this for a later release
2003-04-10 18:36:31 +00:00
Richard Levitte
c93fbfaebc
Explicitely tell the compiler we're mips3 for the target irix-mips3-cc.
2003-04-10 05:46:51 +00:00
Dr. Stephen Henson
0b1c00abeb
Typo.
2003-04-10 00:04:02 +00:00
Richard Levitte
721688c2f8
Include rand.h, so RAND_status() and friends get properly declared.
2003-04-08 11:07:05 +00:00
Richard Levitte
a109220107
Correct a few typos.
...
It seems that svr3 and svr5 differ, after all.
2003-04-08 09:27:43 +00:00
Richard Levitte
4a4a04622e
A single quote too many.
2003-04-08 08:58:56 +00:00
Richard Levitte
d6fd88fffd
I forgot to continuation mark.
2003-04-08 08:57:23 +00:00
Richard Levitte
e96133e4cf
It seems like OpenUnix's ld uses LD_LIBRARY_PATH to search for
...
libraries. What's worse, the directories given in LD_LIBRARY_PATH are
checked first! Therefore, we need a hack to prepend all the
directories we give with -L to the current value of LD_LIBRARY_PATH,
thereby temporarly forming a hacked value.
Only copy LIBEXTRAS if they are given.
Svr5 doesn't use -z allextract...
2003-04-08 08:36:20 +00:00
Lutz Jänicke
f65a75786b
Fix ordering of compare functions: strncmp() must be used first, a
...
the cipher name in the list is not guaranteed to be at least "buflen"
long.
PR: 567
Submitted by: "Matt Harren" <matth@cs.berkeley.edu >
2003-04-08 06:31:36 +00:00
Richard Levitte
0b55368306
We seem to carry some rests of the 0.9.6 [engine] ENGINE framework, here in
...
form of unneeded direct calls through the engine pointer..
2003-04-08 06:01:55 +00:00
Richard Levitte
43eb3b0130
We seem to carry some rests of the 0.9.6 [engine] ENGINE framework in form
...
of unneeded includes of openssl/engine.h.
2003-04-08 06:00:05 +00:00
Richard Levitte
0a861ab7f3
RSA_FLAG_SIGN_VER indicates the special rsa_sign and rsa_verify function
...
pointers should be used. It doesn't necessarely mean it should go through
the ENGINE framework.
2003-04-07 19:15:25 +00:00
Richard Levitte
7b36590b17
What was I smoking? EVP_PKEY_cmp() should return with 0 if
...
EVP_PKEY_cmp_parameters() returned 0, otherwise it should
go on processing the public key component. Thia has nothing
to do with the proper handling of EC parameters or not.
2003-04-07 10:15:32 +00:00
Richard Levitte
a8b728445c
Correct a typo.
...
Have EVP_PKEY_cmp() call EVP_PKEY_cmp_parameters(), and make a note
about the lack of parameter comparison for EC.
2003-04-07 10:09:44 +00:00
Richard Levitte
af0f0f3e8f
Constify
2003-04-06 15:31:18 +00:00
Richard Levitte
8d570498a2
Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.
...
PR: 564
2003-04-05 21:21:26 +00:00
Richard Levitte
4c771796d5
Convert save_serial() to work like save_index(), and add a
...
rotate_serial() that works like rotate_index().
2003-04-04 15:10:35 +00:00
Richard Levitte
d6df2b281f
Add documentation on the added functionality in 'openssl ca'.
2003-04-04 14:39:44 +00:00
Richard Levitte
6fcf735497
make update
2003-04-04 14:19:15 +00:00
Richard Levitte
b5f96e8818
There's no need to check for __attribute__ with ANSI functions, since
...
we only check to the opening parenthesis anyway...
2003-04-04 14:19:00 +00:00
Richard Levitte
3ae70939ba
Correct a lot of printing calls. Remove extra arguments...
2003-04-03 23:39:48 +00:00
Richard Levitte
c433d72593
Make %p and %# work properly, at least with pointers and floats.
2003-04-03 23:35:14 +00:00
Richard Levitte
68b42986cb
Add GCC attributes when compiled with gcc. This helps find out if
...
we're using the printing functions correctly or not.
I used the corresponding attributes found in the header files of my
Linux installation.
2003-04-03 23:06:05 +00:00
Richard Levitte
57544ee224
Counter for GCC attributes.
2003-04-03 23:04:48 +00:00
Richard Levitte
83b23ed967
One more debug line to conditionalise.
2003-04-03 23:01:20 +00:00
Richard Levitte
4342c5c1a0
Add a CA section, to make sure the test will work with the changes in
...
CA.sh.
2003-04-03 22:38:31 +00:00
Richard Levitte
16b1b03543
Implement self-signing in 'openssl ca'. This makes it easier to have
...
the CA certificate part of the CA database, and combined with
'unique_subject=no', it should make operations like CA certificate
roll-over easier.
2003-04-03 22:33:59 +00:00
Richard Levitte
e6526fbf4d
Add functionality to help making self-signed certificate.
2003-04-03 22:27:24 +00:00
Richard Levitte
8152d88799
It's recommended to use req rather than x509 to create self-signed certificates
2003-04-03 22:12:48 +00:00
Richard Levitte
4ce4884a5b
Typo correction
2003-04-03 21:55:55 +00:00
Richard Levitte
db598fbce2
Don't try to free NULL values...
2003-04-03 20:03:23 +00:00
Richard Levitte
8382ec5d37
Reindent for readability.
2003-04-03 19:10:32 +00:00
Richard Levitte
0998cfaadd
Remove unused variable.
2003-04-03 19:07:27 +00:00
Richard Levitte
c4448f60d6
Reset the version number of the issuer certificate? I believe this
...
hasn't been tested in a long while...
2003-04-03 18:50:15 +00:00
Richard Levitte
63b6fe2bf6
Conditionalise all debug strings.
2003-04-03 18:07:39 +00:00
Richard Levitte
f85b68cd49
Make it possible to have multiple active certificates with the same
...
subject.
2003-04-03 16:33:03 +00:00
Bodo Möller
5679bcce07
make RSA blinding thread-safe
2003-04-02 09:50:22 +00:00
Richard Levitte
24692fc5d7
It seems like gcc-drivven shared library building on OpenUnix 8 requires
...
-shared rather than -G.
2003-04-01 10:59:15 +00:00
Dr. Stephen Henson
4390d66179
Update from stable branch.
2003-03-31 22:29:25 +00:00
Richard Levitte
d678cc07ed
No need to test -setalias twice.
...
PR: 556
2003-03-31 13:56:52 +00:00
Richard Levitte
6dd6da6005
Don't feil when indent is 0.
...
PR: 559
2003-03-31 13:24:02 +00:00
Richard Levitte
03eeb07152
Add usage string for -fingerprint.
...
PR: 560
2003-03-31 13:06:24 +00:00
Dr. Stephen Henson
1a15c89988
Multi valued AVA support.
2003-03-30 01:51:16 +00:00
Richard Levitte
d0a4bd00b6
OpenUNIX 8 has some problems using -G with gcc. Maybe using gnu-shared works better (will be tested tonight).
2003-03-28 08:57:04 +00:00
Lutz Jänicke
423b1a840c
Add warning about unwanted side effect when calling SSL_CTX_free():
...
sessions in the external session cache might be removed.
Submitted by: "Nadav Har'El" <nyh@math.technion.ac.il >
PR: 547
2003-03-27 22:04:05 +00:00
Richard Levitte
a47789e849
Update VMS building system
2003-03-26 14:34:38 +00:00
Dr. Stephen Henson
e5b0508a14
Update ocsp usage message and docs.
2003-03-26 00:46:47 +00:00
Richard Levitte
c4d00669a0
Let's limit the extent of the definition of _XOPEN_SOURCE.
2003-03-25 21:17:28 +00:00
Richard Levitte
d6cab100fa
Missed a few dollars.
...
PR: 528
2003-03-25 20:56:06 +00:00
Dr. Stephen Henson
81bd0446a9
make update
2003-03-24 17:06:25 +00:00
Dr. Stephen Henson
520b76ffd9
Support for name constraints.
2003-03-24 17:04:44 +00:00
Dr. Stephen Henson
1c2d141238
Name Constraints OID.
2003-03-24 00:56:09 +00:00
Lutz Jänicke
32e75dd3f0
Add SCO5 shared library scripts.
...
Upate SVR5 scripts for the upcoming 0.9.7b.
Submitted by: Boyd Lynn Gerber <gerberb@zenez.com >
2003-03-23 10:18:05 +00:00
Richard Levitte
abfc6a3a9b
To define OPENSSL_NO_FP_API for all MSDOS type targets was unfair
...
against DJGPP, and much more restricted than previous definitions.
2003-03-22 22:33:52 +00:00
Dr. Stephen Henson
5cc5ec1bba
make update
2003-03-21 16:28:29 +00:00
Dr. Stephen Henson
f80153e20b
Support for policy constraints.
2003-03-21 16:26:20 +00:00
Bodo Möller
33b34a9d8f
remove patch ID (which is supposed to appear in patched variants of
...
old OpenSSL releases, but not in new releases)
2003-03-21 13:11:14 +00:00
Richard Levitte
9b94f215b1
Define COMP method function prototypes properly.
2003-03-21 00:05:14 +00:00
Richard Levitte
8b5bcef798
Make sure to declare mem*() properly.
2003-03-21 00:04:14 +00:00
Richard Levitte
ea17e1f00f
make update
2003-03-20 23:54:33 +00:00
Richard Levitte
543105ac17
Don't put configuration macro definitions on the command line, we're
...
just fooling ourselves and then screwing up for other applications.
2003-03-20 23:52:41 +00:00
Richard Levitte
3789284807
Sometimes, we have partial comments on the same line as other stuff we
...
parse. Make sure to read in the whole comment, so it can be entirely
removed.
2003-03-20 23:51:35 +00:00
Richard Levitte
be9bec9bc7
Make sure we get the definition of OPENSSL_NO_RSA.
2003-03-20 23:34:28 +00:00
Richard Levitte
9c35452842
Make sure we get the definition of OPENSSL_NO_HMAC and OPENSSL_NO_SHA.
2003-03-20 23:34:08 +00:00
Richard Levitte
69104cdf34
Make sure we get the definition of OPENSSL_NO_SHA.
2003-03-20 23:32:16 +00:00
Richard Levitte
dfefdb41f7
Make sure we get the definition of OPENSSL_NO_RIPEMD.
2003-03-20 23:31:56 +00:00
Richard Levitte
cd6ab56da0
Make sure we get the definition of OPENSSL_NO_MDC2.
2003-03-20 23:31:44 +00:00
Richard Levitte
c988c9b839
Make sure we get the definition of OPENSSL_NO_MD5.
2003-03-20 23:31:34 +00:00
Richard Levitte
bff8e1dddb
Make sure we get the definition of OPENSSL_NO_MD4.
2003-03-20 23:31:24 +00:00
Richard Levitte
641e6ef2cb
Make sure we get the definition of OPENSSL_NO_MD2.
2003-03-20 23:30:04 +00:00
Richard Levitte
9e9e8cb6a8
Make sure we get the definition of OPENSSL_NO_DES.
2003-03-20 23:29:38 +00:00
Richard Levitte
f118514501
Make sure we get the definition of OPENSSL_NO_RC5.
2003-03-20 23:29:26 +00:00
Richard Levitte
39c4b7092c
Make sure we get the definition of OPENSSL_NO_RC4.
2003-03-20 23:29:17 +00:00
Richard Levitte
c7e7fc3ee4
Make sure we get the definition of OPENSSL_NO_RC2.
2003-03-20 23:29:06 +00:00
Richard Levitte
786b0075d5
Make sure we get the definition of OPENSSL_NO_IDEA.
2003-03-20 23:28:55 +00:00
Richard Levitte
fb10590910
Make sure we get the definition of OPENSSL_NO_CAST.
2003-03-20 23:28:27 +00:00
Richard Levitte
abf21308d2
Make sure we get the definition of OPENSSL_NO_BF.
2003-03-20 23:28:16 +00:00
Richard Levitte
8c84b677e2
Make sure we get the definition of OPENSSL_NO_AES.
2003-03-20 23:28:03 +00:00
Richard Levitte
d5ef144222
Make sure we get the definition of a number of OPENSSL_NO_* macros.
2003-03-20 23:27:17 +00:00
Richard Levitte
741dae576f
Make sure we get the definition of OPENSSL_NO_BIO.
2003-03-20 23:26:46 +00:00
Richard Levitte
59ade20500
Include e_os.h correctly.
2003-03-20 23:26:32 +00:00
Richard Levitte
c11b9af75e
Make sure we get the definition of OPENSSL_NO_MD2.
2003-03-20 23:24:59 +00:00
Richard Levitte
08a54f6e6a
Make sure we get the definition of OPENSSL_NO_FP_API.
2003-03-20 23:24:47 +00:00
Richard Levitte
8305477157
Make sure we get the definition of OPENSSL_NO_IDEA and IDEA_INT.
2003-03-20 23:24:32 +00:00
Richard Levitte
e8cc7de4f4
Make sure we get the definition of OPENSSL_NO_HMAC.
2003-03-20 23:23:43 +00:00
Richard Levitte
3b6aa36c77
Make sure we get the definition of OPENSSL_NO_ECDSA.
2003-03-20 23:22:31 +00:00
Richard Levitte
03829b2b47
Make sure we get the definition of OPENSSL_NO_ECDH.
2003-03-20 23:22:17 +00:00
Richard Levitte
87c9c659de
Make sure we get the definition of OPENSSL_NO_EC.
2003-03-20 23:22:06 +00:00
Richard Levitte
751ff1d376
Make sure we get the definition of OPENSSL_NO_DSA and OPENSSL_NO_SHA.
2003-03-20 23:21:51 +00:00
Richard Levitte
d3ae5b1c8a
Make sure we get the definition of OPENSSL_NO_DH.
2003-03-20 23:21:27 +00:00
Richard Levitte
0f3879455b
Make sure we get the definition of OPENSSL_EXTERN, OPENSSL_NO_DES,
...
DES_LONG and OPENSSL_NO_DESCBCM.
2003-03-20 23:21:10 +00:00
Richard Levitte
0c7d61ee0e
Make sure we get the definition of OPENSSL_NO_CAST.
2003-03-20 23:20:15 +00:00
Richard Levitte
78951e7711
Make sure we get the definition of OPENSSL_NO_ERR.
2003-03-20 23:19:41 +00:00
Richard Levitte
9ba4cc007b
Make sure we get the definition of OPENSSL_NO_SOCK.
2003-03-20 23:18:32 +00:00
Richard Levitte
7b5a6c7a62
Make sure we get the definition of OPENSSL_NO_FP_API.
2003-03-20 23:17:23 +00:00
Richard Levitte
44deca977d
Make sure we get the definition of OPENSSL_NO_BF.
2003-03-20 23:17:04 +00:00
Richard Levitte
536b73e78e
Make sure we get the definition of OPENSSL_NO_BIO and OPENSSL_NO_RSA.
2003-03-20 23:16:45 +00:00
Richard Levitte
940767b03f
Make sure we get the definition of OPENSSL_NO_AES.
2003-03-20 23:15:51 +00:00
Richard Levitte
d4a47a5778
Because it may be needed in public header files, move the definition
...
of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
2003-03-20 23:14:49 +00:00
Dr. Stephen Henson
b24668626e
make update
2003-03-20 17:59:39 +00:00
Dr. Stephen Henson
ea3675b5b6
New ASN1 macros to just implement and declare the new and free functions
...
and changes to mkdef.pl so it recognises them.
Use these in policyMappings extension.
2003-03-20 17:58:33 +00:00
Bodo Möller
c554155b58
make sure RSA blinding works when the PRNG is not properly seeded;
...
enable it automatically for the built-in engine
2003-03-20 17:31:30 +00:00
Dr. Stephen Henson
a1d12daed2
Support for policyMappings
2003-03-20 17:26:44 +00:00
Dr. Stephen Henson
6f528cac5a
Typo: OID should be policyMappings
2003-03-20 17:14:27 +00:00
Dr. Stephen Henson
10a66ad389
Avoid warning.
2003-03-20 17:09:46 +00:00
Richard Levitte
e986704d24
Add documentation for -starttls (s_client) and -id_prefix (s_server).
...
PR: 542
2003-03-20 16:34:27 +00:00
Dr. Stephen Henson
ce06265a37
make update
2003-03-20 14:21:36 +00:00
Richard Levitte
439909a068
Some shells (ksh in this case) don't say 'command not found'.
...
PR: 540
2003-03-20 11:44:28 +00:00
Richard Levitte
d177e6180d
Spelling errors.
...
PR: 538
2003-03-20 11:41:59 +00:00
Richard Levitte
48f1fa7482
Make sure that all the library paths are modified in prepend mode, not
...
replace mode.
PR: 528
2003-03-20 11:37:47 +00:00
Richard Levitte
aa9d896b0d
hinv may generate more than one line (1 line per CPU).
...
PR: 520
2003-03-20 11:15:12 +00:00
Richard Levitte
42a559163d
Shut up an ANSI compiler about uninitialised variables.
...
PR: 517
2003-03-20 10:57:09 +00:00
Richard Levitte
3285eb336c
Add the target linux-ia64-ecc, suggested by Keith Thompson <kst@sdsc.edu>.
...
PR: 516
2003-03-20 10:50:36 +00:00
Bodo Möller
02da5bcd83
countermeasure against new Klima-Pokorny-Rosa atack
2003-03-19 19:19:53 +00:00
Dr. Stephen Henson
9ed1fa4813
Fix Certificate and CRL adding in X509_load_cert_crl_file:
...
an X509_INFO structure can contain more than one object,
for example a certififcate and a CRL.
2003-03-19 13:55:48 +00:00
Bodo Möller
500df82a96
fix formatting
2003-03-18 12:52:02 +00:00
Dr. Stephen Henson
e8e0e3716a
Fix for no-ec on Windows.
2003-03-15 01:28:55 +00:00
Dr. Stephen Henson
bc441b739b
Don't give an error if response reason absent in OCSP HTTP.
2003-03-14 23:38:34 +00:00
Dr. Stephen Henson
e6539fe22d
Add entry for domainComponent so it is treated correctly.
...
Add table order test to end of a_strnid.c
2003-03-14 01:44:42 +00:00
Dr. Stephen Henson
ba5df66a8b
Add some OIDs.
2003-03-13 23:37:55 +00:00
Dr. Stephen Henson
12d4e7b8c8
Fix PEDANTIC stuff...
2003-03-13 21:28:03 +00:00
Geoff Thorpe
bba2cb3ada
Fix a bone-head bug. This warrants a CHANGES entry because it could affect
...
applications if they were passing a bogus 'flags' parameter yet having
things work as they wanted anyway.
2003-03-13 20:28:42 +00:00
Dr. Stephen Henson
52c4c51f02
Return an error if gmtime returns NULL.
2003-03-13 14:13:53 +00:00
Dr. Stephen Henson
767712fa62
Avoid warnings for no-engine and PEDANTIC
2003-03-12 02:38:57 +00:00
Dr. Stephen Henson
90e8a3102b
Fixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE.
2003-03-12 02:31:40 +00:00
Geoff Thorpe
879650b866
The default implementation of DSA_METHOD has an interdependence on the
...
dsa_mod_exp() and bn_mod_exp() handlers from dsa_do_verify() and
dsa_sign_setup(). When another DSA_METHOD implementation does not define
these lower-level handlers, it becomes impossible to do a fallback to
software on errors using a simple DSA_OpenSSL()->fn(key).
This change allows the default DSA_METHOD to function in such circumstances
by only using dsa_mod_exp() and bn_mod_exp() handlers if they exist,
otherwise using BIGNUM implementations directly (which is what those
handlers did before this change). There should be no noticable difference
for the software case, or indeed any custom case that didn't already
segfault, except perhaps that there is now one less level of indirection in
all cases.
PR: 507
2003-03-11 01:49:21 +00:00
Bodo Möller
176f31ddec
- new ECDH_compute_key interface (KDF is no longer a fixed built-in)
...
- bugfix: in ECDH_compute_key, pad x coordinate with leading zeros if necessary
2003-02-28 15:37:10 +00:00
Bodo Möller
fe14ee96db
memset problem has been handled
...
PR: 343
2003-02-28 15:17:45 +00:00
Bodo Möller
57376542a0
use tabs for indentation, not spaces
2003-02-28 15:07:10 +00:00
Dr. Stephen Henson
b8dc9693a7
Encryption BIOs misbehave when used with non blocking I/O.
...
Two fixes:
1. If BIO_write() fails inside enc_write() it should return the
total number of bytes successfully written.
2. If BIO_write() fails during BIO_flush() it should return immediately
with the error code: previously it would fall through to the final
encrypt, corrupting the buffer.
2003-02-27 14:07:59 +00:00
Dr. Stephen Henson
6ac26a5ce5
Typo.
2003-02-27 13:02:46 +00:00
Bodo Möller
155bd1137e
add Certicom licensing e-mail address
2003-02-27 12:25:35 +00:00
Dr. Stephen Henson
f0dc08e656
Support for dirName from config files in GeneralName extensions.
2003-02-27 01:54:11 +00:00
Dr. Stephen Henson
e9ec63961b
Fix indefinite length encoding so EOC correctly updates
...
the buffer pointer.
Rename PKCS7_PARTSIGN to PKCS7_STREAM.
Guess what that's for :-)
2003-02-25 19:03:31 +00:00
Bodo Möller
0185803cc2
year 2003
2003-02-24 17:18:01 +00:00
Bodo Möller
5c9a9c9c33
include OpenSSL license (in addition to EAY license)
2003-02-24 17:15:28 +00:00
Ulf Möller
63ff3e83fc
Add instructions for building the MinGW target in Cygwin, and
...
rearrange some of the other text for better readability.
2003-02-22 23:03:42 +00:00
Ulf Möller
b4f43344d5
Copy rather than symlink the test data.
...
This is needed because Windows doesn't support symlinks.
The Cygwin/MinGW build now passes "make test".
2003-02-22 22:19:48 +00:00
Ulf Möller
c8c5cec1f9
remove some more useless code. The mingw target can now be built
...
under cygwin.
2003-02-22 22:15:31 +00:00
Ulf Möller
66ecdf3bfb
more mingw related cleanups.
2003-02-22 18:00:14 +00:00
Richard Levitte
7841edc9c1
Remove duplication and have clean depend on libclean
2003-02-22 15:04:03 +00:00
Richard Levitte
132eaa59da
Allow building applications against static libraries with Makefile.shared.
2003-02-22 14:41:34 +00:00
Dr. Stephen Henson
5562cfaca4
Base64 bio fixes. The base64 bio was seriously broken
...
when reading from a non blocking BIO.
It would incorrectly interpret retries as EOF, incorrectly
buffer initial data and have no buffering at all after initial
data (data would be sent one byte at a time to EVP_DecodeUpdate).
2003-02-22 02:12:52 +00:00
Ulf Möller
c8252b71b5
add test
2003-02-22 01:20:55 +00:00
Ulf Möller
94949a50aa
avoid duplicate definiton of bn_sub_part_words
2003-02-21 23:19:50 +00:00
Ulf Möller
0214893e6a
clean up MinGW build. MinGW make now supports the Windows path name
...
conventions.
2003-02-21 22:59:20 +00:00
Ulf Möller
5be4a42e99
update mingw info
2003-02-21 22:09:52 +00:00
Bodo Möller
f2aa055ec6
treat 'out' like i2d functions do; cf. asn1_item_flags_i2d (crypto/asn/tasn_enc.c)
2003-02-21 16:06:39 +00:00
Bodo Möller
62e3163b1b
ECPublicKey_set_octet_string and ECPublicKey_get_octet_string
...
behaviour was not quite consistent with the conventions
for d2i and i2d functions as far as handling of the 'out'
or 'in' pointer is concerned.
This patch changes this behaviour, and renames the functions to
o2i_ECPublicKey and i2o_ECPublicKey (not 'd2i' and 'i2d' because the
external encoding is just a raw object string without any DER icing).
Submitted by: Nils Larsch
2003-02-21 13:58:23 +00:00
Dr. Stephen Henson
8214e74f76
Ooops forgot to recognise V_ASN1_GENERALSTRING.
2003-02-20 17:13:21 +00:00
Dr. Stephen Henson
542a1b1a2e
Re enable the read side non blocking test BIO code.
...
For some reason it was disabled...
2003-02-20 13:39:30 +00:00
Dr. Stephen Henson
5672e3a321
Fix bug in base64 bios during write an non blocking I/O:
...
if the write fails when flushing the buffer return the
value to the application so it can retry.
2003-02-20 13:37:48 +00:00
Bodo Möller
fbbfd86b67
typo
...
PR: 511
Submitted by: Eric Cronin
2003-02-19 16:29:47 +00:00
Richard Levitte
d8cbc93585
Update release information
2003-02-19 14:02:37 +00:00
Richard Levitte
5b0b0e98ce
Security fix: Vaudenay timing attack on CBC.
...
An advisory will be posted to the web. Expect a release within the hour.
2003-02-19 12:03:59 +00:00
Richard Levitte
d5234c7b3a
Make sure the memory allocation routines check for negative sizes
2003-02-19 11:54:42 +00:00
Richard Levitte
77e270d10e
Borland C++ Builder 5 complains about unreachable statements.
2003-02-19 11:22:15 +00:00
Dr. Stephen Henson
c893bffae7
Update debub-steve* entries.
2003-02-19 01:04:34 +00:00
Dr. Stephen Henson
988e8458ad
Typo.
2003-02-18 12:46:47 +00:00
Richard Levitte
758f942b88
Make the no-err option work properly
2003-02-18 12:14:57 +00:00
Bodo Möller
26e9724458
Remove "+Olibcalls" option from HPUX targets.
...
Reportedly this option is deprecated, and on some systems
"make test" fails if it is included.
PR: 495
2003-02-16 20:10:23 +00:00
Geoff Thorpe
4879ec7bf3
Session cache implementations shouldn't have to access SSL_SESSION
...
elements directly, so this missing functionality is required.
PR: 276
2003-02-15 20:38:57 +00:00
Geoff Thorpe
b653327d47
Declare prototypes for function pointer types, even if they are likely to
...
be cast later on.
2003-02-15 20:32:13 +00:00
Dr. Stephen Henson
4cadedef57
Update docs.
2003-02-15 01:09:55 +00:00
Dr. Stephen Henson
27068df7e0
Single pass processing to cleartext S/MIME signing.
2003-02-15 00:50:55 +00:00
Geoff Thorpe
b12753dffc
We cache a montgomery form for 'n' if the PUBLIC flag is set, not PRIVATE.
...
Also, I've added handling for other mod_exp calls that were not using any
cached montgomery forms. These cases matter only for special RSA keys (eg.
ones that are missing information) so are unlikely to be used in normal
circumstances.
2003-02-15 00:18:38 +00:00
Geoff Thorpe
79221bc265
David Brumley <dbrumley@stanford.edu> noted and corrected a case in the
...
verification step of CRT private key operations in the RSA code -
previously no montgomery form was checked or used for 'n', and so it would
be generated on the fly each time. As a result, private key operations are
now a percent or two faster.
Rather than adding this as another repetition of the nearly-identical
montgomery "check for first-use" initialisation code blocks, I've taken
this chance to create a helper function and macro-wrapper to replace them.
PR: 475
2003-02-14 23:21:19 +00:00
Bodo Möller
ffa49dc3d9
make update
2003-02-14 14:21:58 +00:00
Richard Levitte
b7bbac72c4
Add support for IA64.
...
PR: 454
2003-02-14 13:30:35 +00:00
Richard Levitte
c1269c81fd
Handle krb5 libraries separately and make sure only libssl.so depends
...
on it.
2003-02-14 13:12:00 +00:00
Richard Levitte
794a386af3
Update linux-mips and linux-mipsel to support threads and shared libraries.
...
I also updated the bn_ops field with values taken from OpenBSD-mips.
PR: 498
2003-02-14 08:56:21 +00:00
Richard Levitte
e270cf9c5e
Pay attention to disabled SSL versions.
...
PR: 500
2003-02-14 05:24:22 +00:00
Richard Levitte
7e38616d1f
Change no_rmd160 to no_ripemd for consistency.
...
PR: 500
2003-02-14 05:20:25 +00:00
Richard Levitte
85d686e723
Make it possible to disable OCSP, the speed application, and the use of sockets.
...
PR: 358
2003-02-14 01:02:58 +00:00
Richard Levitte
2d3de726c5
Add full support for -rpath/-R, both in shared libraries and
...
applications, at least on the platforms where it's known how
to do it.
Note: this has only been tested on GNU-based platforms (Linux), and
needs to be tested on all others. Additionally, it's not yet
supported on the following platforms, for lack of information:
Darwin (MacOS X)
Cygwin
OSF1/Alpha
SVR3
ReliantUNIX
Please help out with testing and the platforms we don't yet know well
enough.
2003-02-13 23:52:54 +00:00
Richard Levitte
4989f0599f
Another long name to deal with
2003-02-13 13:21:13 +00:00
Richard Levitte
e4b52ac353
Oh, the destest program did look at the return value...
2003-02-13 08:53:40 +00:00
Bodo Möller
abd22c9c46
new lock for EC_PRE_COMP structures
...
Submitted by: Nils Larsch
2003-02-12 22:01:12 +00:00
Bodo Möller
ba729265a8
Allow EC_GROUP objects to share precomputation for improved memory
...
efficiency (EC_PRE_COMP objects are now constant once completed).
Extend 'extra_data' API to support arbitrarily many slots (although we
need only one at the moment).
Modify EC internal 'extra_data' API: EC_GROUP_[clear_]free_extra_data
now frees only a single slot (the previous functions are available as
EC_GROUP_[clear_]free_all_extra_data).
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2003-02-12 18:30:16 +00:00
Richard Levitte
9ec1d35f29
Adjust DES_cbc_cksum() so the returned value is the same as MIT's
...
mit_des_cbc_cksum(). The difference was first observed, then verified by
looking at the MIT source.
2003-02-12 17:20:39 +00:00
Dr. Stephen Henson
cf56663fb7
Option to disable SSL auto chain build
2003-02-12 17:06:02 +00:00
Bodo Möller
ea513641d0
comments
2003-02-12 14:17:41 +00:00
Bodo Möller
8537943e8b
first section is now "Changes between 0.9.7a and 0.9.8", not "... 0.9.7 and 0.9.8"
2003-02-11 16:42:30 +00:00
Dr. Stephen Henson
a8f5b2ed50
GeneralString support in mini-ASN1 compiler
2003-02-11 14:06:27 +00:00
Dr. Stephen Henson
33075f229e
Typo.
2003-02-10 17:52:10 +00:00
Richard Levitte
28f573a28d
Make sure memcpy() is properly declared by including string.h.
2003-02-10 11:14:35 +00:00
Bodo Möller
e2c9c91b5b
fix EC_GROUP_copy for EC_GFp_nist_method()
...
Submitted by: Nils Larsch
2003-02-08 19:51:37 +00:00
Bodo Möller
d42d2d1ab6
avoid coredump
...
Submitted by: Nils Larsch
2003-02-08 19:49:16 +00:00
Bodo Möller
65b254e8c0
remove debugging leftovers
2003-02-08 15:56:05 +00:00
Bodo Möller
82871eaa17
comment
2003-02-07 11:54:57 +00:00
Bodo Möller
24893ca999
typo
2003-02-06 19:32:06 +00:00
Richard Levitte
27a9bf17c7
PKCS#1 has a new RFC, which we do implement
2003-02-06 19:30:06 +00:00
Bodo Möller
37c660ff9b
implement fast point multiplication with precomputation
...
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2003-02-06 19:25:12 +00:00
Bodo Möller
772ec4135c
typo in WIN16 section
...
Submitted by: Toni Andjelkovic <toni@soth.at >
2003-02-05 16:54:10 +00:00
Bodo Möller
0e9035ac98
SSL_add_dir_cert_subjects_to_stack now exists for WIN32
2003-02-05 16:40:29 +00:00
Dr. Stephen Henson
4e5d3a7f98
IPv6 display and input support for extensions usingh GeneralName.
2003-02-05 00:34:31 +00:00
Bodo Möller
379e568950
typo
2003-02-04 12:57:34 +00:00
Bodo Möller
c09a297892
Update PRNG entry:
...
- OpenSSL version differences
- Sun /dev/urandom patch information
2003-02-04 12:28:11 +00:00
Ben Laurie
2619676256
Old-style callbacks can be NULL!
2003-02-01 20:58:59 +00:00
Ben Laurie
33cc07f79a
Fix warning.
2003-02-01 20:55:29 +00:00
Richard Levitte
c029841e36
We can't say in advance what the argument to BIO_socket_ioctl() should be, so
...
let's make that a void *. Also, BIO_socket_nbio() should send it an int
argument, not a long.
PR: 457
2003-01-31 12:20:35 +00:00
Richard Levitte
bfa3555081
Document -engine where missing.
...
PR: 424
2003-01-30 22:02:27 +00:00
Richard Levitte
5d780babe3
A few small bugs with BIO popping.
...
PR: 364
2003-01-30 21:49:12 +00:00
Richard Levitte
5cd48abf9f
The util scripts need to handled no-hw.
...
PR: 327
2003-01-30 20:03:45 +00:00
Richard Levitte
db5006df04
The MASM situation is more difficult than described so far. It is part of VC++ 7.
...
PR: 327
2003-01-30 19:05:25 +00:00
Richard Levitte
3d6a84c42a
For VC++7 and up, the file is VSVARS32.BAT.
...
PR: 327
2003-01-30 19:01:56 +00:00
Richard Levitte
5fe11c7533
The OPENSSL_NO_ENGINE has small problem: it changes certain structures. That's
...
bad, so let's not check OPENSSL_NO_ENGINE in those places. Fortunately, all
the header files where the problem existed include ossl_typ.h, which makes
a 'forward declaration' of the ENGINE type.
2003-01-30 18:52:46 +00:00
Richard Levitte
a1d57849b3
make update
2003-01-30 17:53:02 +00:00
Richard Levitte
0b13e9f055
Add the possibility to build without the ENGINE framework.
...
PR: 287
2003-01-30 17:39:26 +00:00
Geoff Thorpe
96f7065f63
Summarise the last couple of commits.
2003-01-30 15:52:40 +00:00
Geoff Thorpe
f3c22ef10d
This glues the GMP wrapper ENGINE into OpenSSL if it is being built (ie. if
...
the OPENSSL_USE_GMP symbol is defined). Also, I've re-ordered the listing
of other builtin ENGINEs to be alphabetical (though "dynamic" will still
come first).
2003-01-30 15:49:03 +00:00
Geoff Thorpe
a85bef1899
Commit a slightly modified version of an old experiment to do RSA private
...
key operations using the GMP library. The default is not to build (or use)
this code unless OPENSSL_USE_GMP is defined (because it will impose header
and linker dependencies that might need specifying too).
2003-01-30 15:43:07 +00:00
Geoff Thorpe
bb3e67f315
"openssl engine" will not display ENGINE/DSO load failure errors when
...
testing availability of engines with "-t" - the old behaviour of is
produced by increasing the feature's verbosity with "-tt".
2003-01-30 14:58:44 +00:00
Richard Levitte
c0a93e31ab
Small typo, OENSSL should really be spelled OPENSSL.
...
PR: 476
2003-01-30 11:08:44 +00:00
Richard Levitte
2e60ea7634
Fix a memory leak in SSL.
...
PR: 477
2003-01-30 11:00:34 +00:00
Richard Levitte
4e78074b39
cert_sk isn't always allocated, so freeing it may cause a crash.
...
PR: 481
2003-01-30 10:27:43 +00:00
Richard Levitte
b637670f03
DVCS (see RFC 3029) was missing among the possible purposes.
...
Notified privately to me by Peter Sylvester <Peter.Sylvester@EdelWeb.fr >,
one of the authors of said RFC
2003-01-29 15:06:35 +00:00
Bodo Möller
bd1217a176
simplify
...
Submitted by: Nils Larsch
2003-01-28 13:08:21 +00:00
Dr. Stephen Henson
da45180de4
Correct EVP_SealInit() documentation, iv is an output
...
parameter.
2003-01-26 13:38:56 +00:00
Bodo Möller
82516e3baf
cofactor is optional in parameter encodings
...
Submitted by: Nils Larsch
2003-01-25 15:28:49 +00:00
Bodo Möller
c1862f9136
consistency
2003-01-24 22:28:32 +00:00
Bodo Möller
9048c7245b
For ecdsa-with-SHA1, as for id-dsa-with-sha1, omit 'parameters'
...
in AlgorithmIdentifier
Submitted by: Nils Larsch
2003-01-24 21:43:08 +00:00
Andy Polyakov
02bf9a151a
Provide "dummy" &main::picmeup even in Windows perlasm modules.
2003-01-24 09:39:31 +00:00
Dr. Stephen Henson
d3b5cb5343
Check return value of gmtime() and add error codes
...
where it fails in ASN1_TIME_set().
Edit asn1.h so the new error code is the same in 0.9.7
and 0.9.8, rebuild new error codes.
Clear error queue in req.c if *_min or *_max is absent.
2003-01-24 01:12:01 +00:00
Andy Polyakov
97e6bf6b22
Workaround for lame compiler bug introduced in "CPU pack" for MSVC6SP5.
2003-01-23 10:05:39 +00:00
Andy Polyakov
04da4558dd
The patch speaks for itself.
2003-01-23 09:52:34 +00:00
Richard Levitte
0c3426da86
Missing 0 broke FreeBSD build.
...
PR: 470
2003-01-23 08:10:04 +00:00
Bodo Möller
9b3f03d5a2
fix warnings
...
Submitted by: Nils Larsch
2003-01-21 09:53:14 +00:00
Andy Polyakov
9abff96b2f
Suggestion was to change ${MACHINE} to i586 in lines in question. Well,
...
"whatever" doesn't the same (avoids 386 being passed to ./Configure),
consistent with other elder SCO targets and denotes that we probably
shouldn't care much about every out-of-date platform.
2003-01-19 21:47:06 +00:00
Andy Polyakov
722d17cbac
This is an *initial* tune-up. This update puts Itanium2 back on par with
...
Itanium. I mean if overall performance improvement over C version was X
for Itanium, it's X even for Itanium2.
2003-01-19 21:29:59 +00:00
Andy Polyakov
59b846c515
Oops! Missed closing quote... Didn't have time to verify before a snapshot
...
was cut...
2003-01-19 11:39:19 +00:00
Andy Polyakov
42bf2a5cdc
SCO target missed .so suffix.
2003-01-18 21:57:30 +00:00
Andy Polyakov
80bcbaa02f
-lresolv is not present on SCO Unix, RT#460.
2003-01-18 18:12:23 +00:00
Andy Polyakov
7c4e24af38
Caldera/SCO targets erroneously limit themselves to 386. See RT#464.
2003-01-18 15:17:26 +00:00
Andy Polyakov
726c223143
Fix for AIX shared build, see RT#463.
2003-01-18 15:13:03 +00:00
Dr. Stephen Henson
59ae8c9419
EVP_DecryptInit() should call EVP_CipherInit() not EVP_CipherInit_ex().
2003-01-17 00:48:47 +00:00
Richard Levitte
0bdd2da5d2
Ingore the correct flag file.
2003-01-16 21:36:17 +00:00
Richard Levitte
2f09524501
A few more files to ignore
2003-01-16 21:32:56 +00:00
Richard Levitte
06492aef01
make update
2003-01-16 21:20:30 +00:00
Richard Levitte
c00cee00fd
FreeBSD has /dev/crypto as well.
...
PR: 462
2003-01-16 18:29:30 +00:00
Richard Levitte
8228f302dd
Add some debugging output.
2003-01-16 17:28:46 +00:00
Lutz Jänicke
018c56fdca
Armor against systems without ranlib...
...
Submitted by: Thierry Lelegard <thierry.lelegard@canal-plus.fr >
PR: 461
2003-01-16 17:22:30 +00:00
Bodo Möller
d745af4b0c
avoid potential confusion about curves (prime192v1 and prime256v1 are
...
also known as secp192r1 and secp256r1, respectively)
Submitted by: Nils Larsch, Bodo Moeller
2003-01-16 16:05:23 +00:00
Richard Levitte
44ea41cfff
make update
2003-01-16 13:01:36 +00:00
Lutz Jänicke
acad5755a2
ncr-scde target needs -lc89 for strcasecmp() and ftime() (Tim Rice, Martin
...
Megele).
PR: 450
2003-01-16 07:54:52 +00:00
Richard Levitte
28b958f732
Fix possible NULL dereferencial.
...
Notified by Verdon Walker <VWalker@novell.com >
2003-01-16 06:00:55 +00:00
Richard Levitte
4e59cd3bb6
Add verbosity
2003-01-15 17:23:16 +00:00
Lutz Jänicke
a74333f905
Fix initialization sequence to prevent freeing of unitialized objects.
...
Submitted by: Nils Larsch <nla@trustcenter.de >
PR: 459
2003-01-15 14:54:59 +00:00
Bodo Möller
365e14622a
update error library for EC... changes
...
Submitted by: Nils Larsch
2003-01-15 11:47:28 +00:00
Lutz Jänicke
8ec16ce711
Really fix SSLv2 session ID handling
...
PR: 377
2003-01-15 09:51:22 +00:00
Geoff Thorpe
0e4aa0d2d2
As with RSA, which was modified recently, this change makes it possible to
...
override key-generation implementations by placing handlers in the methods
for DSA and DH. Also, parameter generation for DSA and DH is possible by
another new handler for each method.
2003-01-15 02:01:55 +00:00
Dr. Stephen Henson
08cb96bba2
Set EXPORT_VAR_AS_FN for BC-32 to work around a compiler bug,
2003-01-14 20:54:18 +00:00
Richard Levitte
cdc5b4a41e
Extend the HOWTO on creating certificates, and add a HOWTO in creating keys.
...
PR: 422
2003-01-14 15:42:16 +00:00
Lutz Jänicke
52e5e5c2ba
Document hpux-parisc2-cc problems, probably due to optimizer bug.
...
PR: 426
2003-01-14 13:57:06 +00:00
Richard Levitte
c653b56937
Correct an example that has a few typos.
...
PR: 458
2003-01-14 13:56:38 +00:00
Richard Levitte
04aff67de4
Merge from 0.9.7-stable.
2003-01-13 17:16:25 +00:00
Andy Polyakov
1a6356b2ca
Minor FAQ update
2003-01-13 16:34:05 +00:00
Bodo Möller
b05645902a
"!Cname surname" has now become redundant ...
2003-01-13 15:57:33 +00:00
Bodo Möller
54d4f8c320
undo part of a recent change: it's "surname", not "surName"
...
(see X.520 aka ISO/IEC 9594-6)
2003-01-13 15:52:04 +00:00
Richard Levitte
c76153f31d
Make sure not to declare a clashing read() for DJGPP.
...
PR: 440
2003-01-13 15:35:22 +00:00
Richard Levitte
8cbb91c857
DJGPP doesn't have DLLs, so skip adding to %PATH% in that environment.
...
PR: 453
2003-01-13 15:16:40 +00:00
Bodo Möller
aaae0aa48b
add something to the '$no_shared_warn' text
2003-01-13 14:58:49 +00:00
Richard Levitte
0535d3b25f
Correct a misleading comment.
...
PR: 456
2003-01-13 14:53:43 +00:00
Richard Levitte
62be003150
Revert: the names of the cygwin distribution will not be named openssl2-*.
...
Requested by Corinna Vinschen <vinschen@redhat.com >
2003-01-13 14:47:52 +00:00
Richard Levitte
364c7cd621
UI_UTIL_read_pw() misinterpreted the values returned from UI functions.
...
PR: 456
2003-01-13 14:17:43 +00:00
Bodo Möller
9d5390a049
document BN_GENCB API by adding an example
2003-01-13 13:44:20 +00:00
Bodo Möller
bda2fa364d
Typo.
...
NB: This and other manual pages should be updated for the new
BN_GENCB interface.
2003-01-13 13:18:22 +00:00
Richard Levitte
caa7b2ad4f
tty_in will never be stderr, so it will always be closed, which means stdin
...
might get closed...
Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au >
2003-01-13 13:15:16 +00:00
Bodo Möller
c14b4d6b38
typo
2003-01-13 12:52:33 +00:00
Andy Polyakov
0382c95e4d
OpenBSD FAQ update. Apparently gas from binutils-2.x makes it impossible to
...
use gcc -fPIC ... on OpenBSD-i386. Alternative solution is provided.
2003-01-12 21:39:13 +00:00
Andy Polyakov
fda20f08d0
Just an extra comment.
2003-01-12 15:50:59 +00:00
Richard Levitte
afd41c9fc7
Add better support for FreeBSD on non-x86 machines.
...
Add specific support for FreeBSD on sparc64.
PR: 427
2003-01-12 04:43:44 +00:00
Richard Levitte
2964ba8c6a
If the user said 'shared' and we haven't included support for shared libraries,
...
warn him or her.
Reminder by Andrew Marlow <apm35@student.open.ac.uk >
2003-01-11 11:40:39 +00:00
Richard Levitte
c0cc5c3059
Double the dollars that are intended for the command line.
...
PR: 423
2003-01-10 16:32:32 +00:00
Richard Levitte
e68cb95d84
Add documentation on how to handle the shared libaries.
...
PR: 423
2003-01-10 16:14:32 +00:00
Richard Levitte
448666239c
Name the flag file correctly
2003-01-10 16:04:07 +00:00
Richard Levitte
c0ac323360
CFLAG, not CFLAGS
2003-01-10 11:30:44 +00:00
Richard Levitte
a0cd3ca62b
It's recommended to do 'make clean' after having prepared a new build tree.
...
PR: 437
2003-01-10 11:00:50 +00:00
Richard Levitte
4a9476dd8d
When preparing a separate build tree, don't make softlinks to softlinks.
...
Add instructions in INSTALL, for easy access.
PR: 437
2003-01-10 10:56:14 +00:00
Richard Levitte
8d2511688d
Force the removal.
...
PR: 437
2003-01-10 10:54:59 +00:00
Richard Levitte
969511d2cb
Certain files must be removed before generating them, in case they point
...
into a read-only source tree.
PR: 437
2003-01-10 10:54:18 +00:00
Andy Polyakov
989f48d8c1
Avoid unnecessary pollution of object module name table. Cygwin shared
...
build workaround (DJGPP swallows it too). One probably should do same
as with ELF calling it COFF, but I'm very short in COFF platforms, so
I just go for easy ad-hoc solution. I'll take care of merge to 0.9.7
later.
2003-01-10 10:16:39 +00:00
Richard Levitte
f8ea5cb579
Make sure everything that may be freed is allocated or initiated.
...
PR: 446
2003-01-10 08:59:46 +00:00
Richard Levitte
360e506710
Typos corrected.
...
PR: 445
2003-01-10 08:54:01 +00:00
Dr. Stephen Henson
09ad2458b8
Typo.
2003-01-09 16:54:21 +00:00
Richard Levitte
ad200a864e
The naming scheme wasn't quite correct for Cygwin
2003-01-09 16:15:46 +00:00
Andy Polyakov
9d1b5614f9
At least OpenBSD implements PIC in the same way ELF does.
2003-01-09 16:06:09 +00:00
Richard Levitte
416b19c6fc
gcc wants character constants to be correct. Before this change, the
...
following would happen on Solaris:
m4 -B 8192 asm/des_enc.m4 > asm/des_enc-sparc.S
gcc -DOPENSSL_SYSNAME_ULTRASPARC -DOPENSSL_NO_STATIC_ENGINE -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c -o asm/des_enc-sparc.o asm/des_enc-sparc.S
asm/des_enc-sparc.S:2007: unterminated character constant
asm/des_enc-sparc.S:2008: unterminated character constant
2003-01-09 13:25:14 +00:00
Dr. Stephen Henson
5b7249f302
NULL tofree when it is freed to avoid double free.
...
Make sure key is not NULL before freeing it.
2003-01-09 13:06:49 +00:00
Andy Polyakov
699543e4a2
Finalizing asm support for UnixWare, SCO, OpenUnix... Note that I've
...
replaced #if logic around bn_sub_part_words in bn_mul.c. I rely upon
OPENSSL_BN_ASM_PART_WORDS being added by ./Configure script. Would it
still work on non-Unix platforms?
2003-01-09 08:42:04 +00:00
Lutz Jänicke
4309c4ad46
Third argument to shl_load() is "long address", not a pointer.
...
(Didn't influence functionality, as on HP-UX 32bit the NULL pointer
is a 32bit 0-value and thus is identical to the required 0L.)
PR: 443
2003-01-08 08:27:50 +00:00
Geoff Thorpe
4ebb5293fc
RSA_METHOD now supports key-generation, but (for now) none of these
...
ENGINEs implement it.
2003-01-07 05:53:58 +00:00
Geoff Thorpe
2814c62915
This is the first step in allowing RSA_METHODs to implement their own key
...
generation. This prototype matches the new API function
RSA_generate_key_ex(), though both may be subject to change during
development before 0.9.8.
2003-01-07 05:51:39 +00:00
Dr. Stephen Henson
876e96fdbf
Fix leak.
2003-01-04 18:25:24 +00:00
Andy Polyakov
f68843e3d7
Fix a typo.
2003-01-04 15:18:00 +00:00
Andy Polyakov
19a97a1df0
Another GAS fix-up and some commentary...
2003-01-04 14:41:09 +00:00
Andy Polyakov
72997517b0
GAS can't stand stub, which is stb's synonym.
2003-01-04 12:49:38 +00:00
Andy Polyakov
2a9fca82d2
Oops! I've toasted Cygwin! Fixed now.
2003-01-03 21:49:49 +00:00
Andy Polyakov
55b1516770
Redundant now as it's moved to ./Makefile.org.
2003-01-03 20:45:59 +00:00
Andy Polyakov
3cc9a89dda
Unified targets for ELF assembler modules. Tested on Linux, Solaris and
...
FreeBSD. Goal is to extend support even to SCO5, UnixWare/OpenUnix...
2003-01-03 17:37:53 +00:00
Andy Polyakov
46a0d4fbcb
Support for ILP32 on HPUX-IA64.
2003-01-03 15:10:46 +00:00
Andy Polyakov
04945fda66
pa-risc2.s was not PIC, see RT#426. I strip call to fprintf as it's
...
never called anyway (it's a debugging assertion). If pa-risc2W.s is
PIC remains to be seen...
2003-01-03 10:52:40 +00:00
Andy Polyakov
97e2e71ef9
HP/UX 11i make gets upset by this line containing nothing but a Tab
2003-01-03 10:32:04 +00:00
Richard Levitte
c8a647846c
Rijndael should be called AES everywhere
2003-01-03 08:51:45 +00:00
Andy Polyakov
90ce14cd84
Support for Intel compiler. More details will be provided in closing note
...
for RT#17 as snapshot becomes available for download.
2003-01-02 23:32:24 +00:00
Andy Polyakov
28e276f139
Complete integration of SPARC assembler DES implementation. Tested on Solaris
...
only. I'll keep my eyes open for Linux and OpenBSD targets.
2003-01-02 23:26:46 +00:00
Andy Polyakov
f22e1e4dd2
UltraSPARC assembler DES implementation tune-up. The code can be
...
compiled for any SPARC CPU (UltraSPARC performance is *not* affected),
can be compiled for 64-bit ABI and is position-independent.
2003-01-02 17:40:33 +00:00
Andy Polyakov
e0d769caa2
Very old submission (from 2000) of UltraSPARC assembler DES implementation.
...
It was not accepted because code is not PIC, too UltraSPARC-specific when
it doesn't have to and 32-bit only. I'm committing the original version
mostly for reference purposes. 64, PIC, blended CPU tune-up follows shortly.
Obtained from: http://inet.uni2.dk/~svolaf/des.htm
2003-01-02 17:36:26 +00:00
Andy Polyakov
4a37c48789
I implemented this when troubleshooting performance problem on SPARC Solaris.
...
As there is an apparent interest for optimization for footprint, I figured
that this can eventually become useful.
2003-01-02 17:19:05 +00:00
Richard Levitte
ad492c3601
Link engines against libcrypto, even when a TCP/IP implementation is
...
specified...
2003-01-02 00:26:01 +00:00
Richard Levitte
0c055b201e
Adjust the parameter lists in some not commonly used files.
...
PR: 428
2003-01-01 23:41:46 +00:00
Richard Levitte
7eed0fc041
Make sure the last character of the ASN.1 time string (the 'Z') is copied.
...
PR: 429
2003-01-01 03:40:59 +00:00
Richard Levitte
7a1c6aa2a3
It's rather silly to believe we'd release 0.9.7a in 2002 :-).
...
It's even more silly to pretend we know which year 0.9.8 will be
released.
2002-12-31 01:00:06 +00:00
Richard Levitte
948dcdb81b
Merge in changes from 0.9.7-stable.
2002-12-31 00:02:10 +00:00
Richard Levitte
08101d72ce
Merge in changes from 0.9.7-stable.
2002-12-30 23:56:09 +00:00
Andy Polyakov
75c4028585
My English is definitely not good as my assembly skills:-) And it looks like
...
titles can't be multi-line...
2002-12-30 20:17:20 +00:00
Andy Polyakov
85f258d1c2
It probably belongs in PROBLEMS, but it's more likely to be a FAQ.
2002-12-30 11:10:03 +00:00
Richard Levitte
49be7042dc
Since we're including Kerberos 5 headers in our exported header files (when
...
OpenSSL is configured to use Kerberos), we'd better tell pkg-config users
where they can be found.
PR: 421
2002-12-29 23:03:12 +00:00
Lutz Jänicke
44fcd3ef3e
Add information about AES cipher suites to ciphers manual page.
...
If no authentication method is mentioned in the cipher suite name (e.g.
AES128-SHA), RSA authentication is used (PR #396 ).
2002-12-29 21:24:50 +00:00
Lutz Jänicke
21cde7a41c
Fix wrong handling of session ID in SSLv2 client code.
...
PR: 377
2002-12-29 20:59:35 +00:00
Ben Laurie
8598289936
Correct asm exclusions.
2002-12-29 17:57:09 +00:00
Richard Levitte
35dde7480f
OS/2 does binary by default, apparently.
...
Reported by Brian Havard <brianh@kheldar.apana.org.au >.
2002-12-29 10:19:58 +00:00
Richard Levitte
5e42f9ab46
make update
2002-12-29 01:38:15 +00:00
Richard Levitte
7acf00a633
Finally get rid of all the algorithm inclusions that were done from
...
evp.h.
Application authors BEWARE! If you have had the habit to count on
evp.h to provide all those lower-level algorithm functions, you need
to think again! Please change your programs NOW, or you will be sorry
when 0.9.8 gets release (it's quite some time away...).
2002-12-29 01:37:35 +00:00
Richard Levitte
69339d254b
make update
2002-12-28 02:42:05 +00:00
Richard Levitte
ec517d25e8
Merge from 0.9.7-stable.
2002-12-28 02:41:17 +00:00
Andy Polyakov
ce9b1b0573
I can't confirm the claim being removed and nobody seems to speak up for it.
2002-12-27 15:04:45 +00:00
Andy Polyakov
0a2407a851
UltraSPARC performance "tune-up."
2002-12-27 14:51:49 +00:00
Andy Polyakov
76a03d568e
FAQ addenum as discussed in RT#417.
2002-12-27 14:27:48 +00:00
Richard Levitte
7c03f26393
Kenneth R. Robinette just told me the latest snapshot works well with
...
MIT Kerberos.
2002-12-27 14:01:40 +00:00
Richard Levitte
9ff9e406ea
Can't find the referense to errors on XP with Kerberos
2002-12-27 08:09:08 +00:00
Richard Levitte
b5beb13abb
Add SPKM among the related stanrds.
2002-12-26 22:35:04 +00:00
Richard Levitte
ceb12d3074
Updates
2002-12-26 22:25:02 +00:00
Richard Levitte
59c0dd56ab
Update our list of implemented and related standards.
2002-12-26 00:21:53 +00:00
Richard Levitte
dcf19c173c
Update our list of implemented and related standards.
2002-12-26 00:17:46 +00:00
Richard Levitte
e235000169
Spelling error.
...
This patch was taken from the OpenBSD copy of OpenSSL 0.9.7 beta3 with patches
2002-12-25 22:16:56 +00:00
Richard Levitte
821951b851
Avoid double definition of config.
...
PR: 420
2002-12-24 23:53:46 +00:00
Richard Levitte
35ba1f17dc
Updates
2002-12-24 23:52:07 +00:00
Lutz Jänicke
ea8e0cc7c2
Some more adjustments
...
Submitted by: Jeffrey Altman <jaltman@columbia.edu >, "Kenneth R. Robinette" <support@securenetterm.com >
2002-12-24 21:55:57 +00:00
Richard Levitte
cb661c56b0
Cygwin needs the library locatin for .DLLs to be set in PATH. Unfortunately,
...
the conditional was set to add the library directory to PATH when the
platform is NOT Cygwin. Corrected.
PR: 404
2002-12-24 10:50:11 +00:00
Richard Levitte
e904bd0ddc
All VMS-specific problems have been solved.
...
Confirmed by Mark Daniel <Mark.Daniel@wasd.vsm.com.au >
2002-12-24 10:38:05 +00:00
Richard Levitte
e9883d285d
Finally, a bn_div_words() in VAX assembler that goes through all tests.
...
PR: 413
2002-12-23 11:25:51 +00:00
Richard Levitte
8d6ad9e39d
Stop a possible memory leak.
...
(I wonder why s2_connect() handles the initial buffer allocation slightly
differently...)
PR: 416
2002-12-21 23:49:21 +00:00
Richard Levitte
aa18245f7e
Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants.
...
PR: 411
2002-12-20 18:21:35 +00:00
Andy Polyakov
316bfb77b5
Fix for "shift count too large" when compiling for hpux-parisc2 and
...
irix-mips. The bug was introduced with accelerated support for x86_64.
My fault! Fixed now.
2002-12-20 18:11:30 +00:00
Richard Levitte
9b58214e4a
More accurate comments.
2002-12-20 16:38:36 +00:00
Richard Levitte
3c801fa460
A little debugging.
2002-12-20 16:38:06 +00:00
Richard Levitte
1c9202004b
Propagate MAKEDEPPROG to the subdirs under crypto/.
2002-12-20 15:28:42 +00:00
Lutz Jänicke
1004c99c29
Fix Kerberos5/SSL interaction
...
Submitted by: "Kenneth R. Robinette" <support@securenetterm.com >
Reviewed by:
PR:
2002-12-20 12:48:00 +00:00
Richard Levitte
c9ecb1edd8
Keep the internal lowercase 'surname', for programmer's sake.
2002-12-20 09:39:34 +00:00
Richard Levitte
8baf5fdca0
Be consistent with capitalisation of object names.
2002-12-20 09:24:17 +00:00
Richard Levitte
aafafa314d
Be consistent with capitalisation of object names.
2002-12-20 09:18:18 +00:00
Richard Levitte
49e42a1f60
There was a mixup between INSTALLTOP and OPENSSLDIR...
2002-12-20 07:51:03 +00:00
Richard Levitte
9cd16b1dea
We stupidly had a separate LIBKRB5 variable for KRB5 library dependencies,
...
and then didn't support it very well. And that when there already is a
useful variable for exactly this kind of thing; EX_LIBS...
2002-12-19 22:10:12 +00:00
Richard Levitte
12cd28258d
Because the contents of openssl.pc may have to change when a configuration
...
has been performed (and possibly changed), have it depend on Makefile.ssl.
2002-12-19 21:56:40 +00:00
Richard Levitte
9564997222
Small tweaks for code consistency.
2002-12-19 21:55:48 +00:00
Richard Levitte
f968059c67
To avoid any future programming glitches, let's make each and every
...
assignment (modulo those I missed) individual statements.
2002-12-19 21:13:29 +00:00
Richard Levitte
0b900a5e93
I have no idea what possesed me to compile s_socket.c as POSIXly code.
...
Incidently, it now compiles so much better without _POSIX_C_SOURCE.
2002-12-19 19:42:53 +00:00
Richard Levitte
09867a47a4
If _XOPEN_SOURCE_EXTENDED or _XOPEN_SOURCE are defined, _POSIX_C_SOURCE gets
...
defined in DECC$TYPES.H. If _POSIX_C_SOURCE is defined, certain types do
not get defined (u_char, u_int, ...). DECC.H gets included by assert.h
and others. Now, in6.h uses the types u_char, u_int and so on, and gets
included as part of other header inclusions, and will of course fail because
of the missing types.
On the other hand, _XOPEN_SOURCE_EXTENDED is needed to get gethostname()
properly declared...
Solution: define _XOPEN_SOURCE_EXTENDED much later, so DECC$TYPES.H has
a chance to be included *first*, so the otherwise missing types get defined
properly.
Personal: *mumble* *mumble*
2002-12-19 19:39:30 +00:00
Richard Levitte
9d5c42b61b
It was pointed out to me that .pc files are normally stored in
...
${prefix}/lib/pkgconfig, not ${prefix}/lib/pkginfo.
2002-12-19 17:44:42 +00:00
Richard Levitte
8e7a8b68d2
It was pointed out to me that .pc files are normally stored in
...
${prefix}/lib/pkgconfig, not ${prefix}/lib/pkginfo.
2002-12-19 17:42:23 +00:00
Richard Levitte
4d625031a5
Update the current status
2002-12-18 10:24:02 +00:00
Andy Polyakov
26a60b2eb0
Better wording?
2002-12-18 09:42:51 +00:00
Andy Polyakov
07d09fdb66
Fix for RT#405, Solaris refuses to invoke preprocessor if egrep returns 1.
...
Linux for example doesn't exhibit this behaviour, but I add "exit 0" to all
potentially affected rules, just to be on the safe side.
2002-12-18 09:03:48 +00:00
Andy Polyakov
4553ed276b
Make "perl des-586.pl a.out" work, see RT#402
2002-12-17 08:05:49 +00:00
Andy Polyakov
62966f3829
'a=b c=$a; echo $c' doesn't necessarily prints "b", '' vs. "", $s in
...
Makefiles... I suppose it wasn't tested very much...
2002-12-16 23:35:17 +00:00
Richard Levitte
c445142505
Transfer the Solaris shared library building changes from
...
0.9.7-stable.
2002-12-16 20:33:38 +00:00
Richard Levitte
f70ddce761
Protect loading routines with a lock.
...
PR: 373
2002-12-16 06:06:03 +00:00
Richard Levitte
e29246cb17
Synchronise with Makefiles.
2002-12-15 20:59:24 +00:00
Andy Polyakov
146e6776f5
Always forget this one...
2002-12-15 16:01:21 +00:00
Andy Polyakov
a45051fbfc
DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macro
...
is not expanded if prepended with a $-sign.
2002-12-15 10:06:27 +00:00
Richard Levitte
ec9f67f610
Make sure manual pages are properly linked to on systems that have case
...
insensitive file names, as well as those that do not have symlinks.
Incidently, both these cases apply on DOS/Windows...
2002-12-15 06:45:43 +00:00
Richard Levitte
30c08f2e3d
Update the make system for installations:
...
- define a HERE variable to indicate where the source tree is (used
very little right now)
- make more use of copying and making attribute changes to {file}.new,
and then move it to {file}
- use 'mv -f' to avoid all those questions to the user when the file
in question doesn't have write attributes for that user.
2002-12-15 05:59:13 +00:00
Richard Levitte
9f100cf344
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
2002-12-15 05:54:56 +00:00
Richard Levitte
a5a01e9051
Bring des_locl.h at the same level as in the 0.9.7 branch.
...
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
2002-12-15 05:54:26 +00:00
Andy Polyakov
6be4688bdc
Ooops! No ROTATE on some platforms after x86_64 performance patch...
2002-12-15 00:47:47 +00:00
Andy Polyakov
717c5cdcc7
As you might have noticed I tried to change for . prefix, because it's
...
the one to be used to denote local labels in single function scope.
Problem is that SHA uses same label set across functions, therefore I
have to switch back to $ prefix.
2002-12-14 23:14:00 +00:00
Andy Polyakov
0654bba39f
Solaris shared build fix-ups. See RT#238,239 for details.
2002-12-14 21:46:46 +00:00
Andy Polyakov
4d77d5b316
New DETECT_GNU_LD procedure.
2002-12-14 20:52:19 +00:00
Andy Polyakov
2f98abbcb6
x86_64 performance patch.
2002-12-14 20:42:05 +00:00
Andy Polyakov
270fa8aeda
DES PIC-ification. Windows companion.
2002-12-14 17:54:30 +00:00
Geoff Thorpe
4329db3726
The ampersand is not required in these constructs, and was giving AIX
...
warnings.
Reported by: Bernhard Simon.
2002-12-13 22:01:46 +00:00
Andy Polyakov
6f7ac8e1b0
IA-32 assembler modules (primarily DES) PIC-ification. Idea is to keep
...
shared libraries shared.
2002-12-13 17:56:14 +00:00
Richard Levitte
a1457874c6
OK, there's at least one application author who has provided dynamic locking
...
callbacks
2002-12-13 07:30:53 +00:00
Richard Levitte
18be6c4116
BIO_new_bio_pair() was unnecessarily described in it's own page as well as in
...
BIO_s_bio.pod. The most logical is to move everything needed from
BIO_new_bio_pair.pod to BIO_s_bio.pod (including the nice example)
and toss BIO_new_bio_pair.pod. I hope I got all the info over properly.
PR: 370
2002-12-12 22:12:02 +00:00
Richard Levitte
dad1535f7a
BIO_set_nbio() is enumerated, but not explained. Remove it from enumeration
...
since it's both enumerated and explained in BIO_s_connect.pod.
PR: 370
2002-12-12 22:08:49 +00:00
Richard Levitte
f60e6604b8
I forgot one item I intend to work on.
2002-12-12 19:40:55 +00:00
Richard Levitte
0d3f2ccb62
Skip DH-specific tests when no-dh has been configured.
...
PR: 353
2002-12-12 18:43:10 +00:00
Richard Levitte
14676ffcd6
Document the modifications in 0.9.7 that will make the hw_ncipher.c
...
engine work properly even in bad situations.
2002-12-12 17:40:15 +00:00
Geoff Thorpe
e5a08ce44d
Make 'tunala' link with zlib if possible (so it works if openssl was
...
configured with zlib support).
2002-12-11 19:07:03 +00:00
Richard Levitte
b9b6e14b4a
In CRYPTO_lock(), check that the application cares about locking (provided
...
callbacks) before attempting to lock.
2002-12-11 08:56:35 +00:00
Richard Levitte
442d42300b
sk_*_push() returns the number of items on the stack, not the index of the
...
pushed item. The index is the number of items - 1. And if a NULL item was
found, actually use it.
Finally, provide a little bit of safety in CRYPTO_lock() by asserting the a
requested dynamic lock really must exist, instead of just being silent about it
2002-12-11 08:33:31 +00:00
Richard Levitte
75e1c74724
Let's not forget the other places where HEADER_DES_H and HEADER_DES_OLD_H
...
were defined.
2002-12-11 07:37:54 +00:00
Richard Levitte
5db2b5e573
Let's not forget the other places where HEADER_DES_H and HEADER_DES_OLD_H
...
were defined.
2002-12-11 07:24:43 +00:00
Richard Levitte
005ef84c5d
Since HEADER_DES_H has been the protector of des.h since libdes
...
(before SSLeay, maybe?), it's better to have that macro protect
the compatibility header des_old.h. In the new des.h, let's use
a slightly different protecting macro.
The rationale is that there are application that might include (via
other header files, perhaps) both an old libdes des.h and OpenSSL's
des.h. Whichever comes first would overshadow the other because of
the clash in protecting macro. This fix solves that problem.
2002-12-11 06:59:16 +00:00
Geoff Thorpe
f92570f00a
This stops a compiler warning from -Wmissing-prototypes.
...
(Noticed by Nils Larsch)
2002-12-11 03:34:26 +00:00
Lutz Jänicke
9314e366c8
Update -Olimit setting.
...
Submitted by: Bernhard Simon <simon@zid.tuwien.ac.at >
Reviewed by:
PR:
2002-12-10 18:48:14 +00:00
Ralf S. Engelschall
b22c7a1cfb
test commit (just removing tailing blanks) #2 after migration
2002-12-10 12:01:39 +00:00
Ralf S. Engelschall
99efc0f50f
test commit (removing trailing blanks) after migration
2002-12-10 10:51:18 +00:00
Ralf S. Engelschall
d979d09ccc
test blank-line commit after migration -- just ignore
2002-12-10 10:49:22 +00:00
Richard Levitte
c17810b087
A memset() too many got converted into a OPENSSL_cleanse().
...
PR: 393
2002-12-10 08:26:05 +00:00
Andy Polyakov
e0b2073fd4
BN_sqr test failure entry.
2002-12-09 13:43:38 +00:00
Lutz Jänicke
123e5dfc3a
Fix wrong URI.
...
Submitted by: assar@kth.se
Reviewed by:
PR: 390
2002-12-09 08:49:58 +00:00
Richard Levitte
0edad88a31
make update
2002-12-09 02:19:27 +00:00
Richard Levitte
4ccfe5f49b
Hmm, Geoff's change made things quite interesting. We can now give
...
users the option of disabling deprecated functions, which should of
course be reflected in libeay.num and .def files. Quite nice,
actually.
2002-12-09 02:18:16 +00:00
Geoff Thorpe
e189872486
Nils Larsch submitted;
...
- a patch to fix a memory leak in rsa_gen.c
- a note about compiler warnings with unions
- a note about improving structure element names
This applies his patch and implements a solution to the notes.
2002-12-08 16:45:26 +00:00
Richard Levitte
fdaea9ed2e
Since it's defined in draft-ietf-tls-compression-04.txt, let's make
...
ZLIB a known compression method, with the identity 1.
2002-12-08 09:31:41 +00:00
Geoff Thorpe
5daec7ea0e
Undefine OPENSSL_NO_DEPRECATED inside openssl application code if we are
...
being built with it defined - it is not a symbol to affect how openssl
itself builds, but to alter the way openssl headers can be used from an API
point of view. The "deprecated" function wrappers will always remain inside
OpenSSL at least as long as they're still being used internally. :-)
The exception is dsaparam which has been updated to the BN_GENCB-based
functions to test the new functionality. If GENCB_TEST is defined, dsaparam
will support a "-timebomb <n>" switch to cancel parameter-generation if it
gets as far as 'n' seconds without completion.
2002-12-08 05:38:44 +00:00
Geoff Thorpe
e9224c7177
This is a first-cut at improving the callback mechanisms used in
...
key-generation and prime-checking functions. Rather than explicitly passing
callback functions and caller-defined context data for the callbacks, a new
structure BN_GENCB is defined that encapsulates this; a pointer to the
structure is passed to all such functions instead.
This wrapper structure allows the encapsulation of "old" and "new" style
callbacks - "new" callbacks return a boolean result on the understanding
that returning FALSE should terminate keygen/primality processing. The
BN_GENCB abstraction will allow future callback modifications without
needing to break binary compatibility nor change the API function
prototypes. The new API functions have been given names ending in "_ex" and
the old functions are implemented as wrappers to the new ones. The
OPENSSL_NO_DEPRECATED symbol has been introduced so that, if defined,
declaration of the older functions will be skipped. NB: Some
openssl-internal code will stick with the older callbacks for now, so
appropriate "#undef" logic will be put in place - this is in case the user
is *building* openssl (rather than *including* its headers) with this
symbol defined.
There is another change in the new _ex functions; the key-generation
functions do not return key structures but operate on structures passed by
the caller, the return value is a boolean. This will allow for a smoother
transition to having key-generation as "virtual function" in the various
***_METHOD tables.
2002-12-08 05:24:31 +00:00
Geoff Thorpe
e90e719739
Fix a warning, and do some constification as a lucky side-effect :-)
2002-12-08 05:19:43 +00:00
Richard Levitte
7ba666fa0e
Since it's defined in draft-ietf-tls-compression-04.txt, let's make
...
ZLIB a known compression method, with the identity 1.
2002-12-08 02:41:11 +00:00
Richard Levitte
86a62cf15c
Implement a stateful variant if the ZLIB compression method. The old
...
stateless variant is kept, but isn't used anywhere.
2002-12-08 02:39:38 +00:00
Richard Levitte
b11405723d
Forgot one.
2002-12-07 20:03:42 +00:00
Richard Levitte
4c3a2b4f8a
Add a few items I intend to work on for 0.9.8 and on.
2002-12-07 20:02:20 +00:00
Andy Polyakov
bbf8198feb
Workaround for GCC-ia64 compiler bug.
...
Submitted by: <appro>
Reviewed by:
PR:
2002-12-06 17:18:10 +00:00
Richard Levitte
3dda0dd2a2
Some compilers are quite picky about non-void functions that don't return
...
anything.
2002-12-06 08:50:06 +00:00
Richard Levitte
fa63a98ad8
Apparently, bash is more forgiving than sh. To be backward
...
compatible, don't use ==, use = instead...
2002-12-06 08:43:41 +00:00
Richard Levitte
1fc73fef48
Keep NEWS in HEAD up to date.
2002-12-06 00:39:03 +00:00
Richard Levitte
90543bd07a
Keep STATUS in HEAD up to date.
2002-12-05 23:01:17 +00:00
Richard Levitte
43ecece595
Merge in relevant changes from the OpenSSL 0.9.6h release.
2002-12-05 21:50:13 +00:00
Richard Levitte
4ba8cabf62
SSL_CERT_FILE should be used in place of the system default file, not as
...
a first alternative to try
2002-12-05 21:07:26 +00:00
Richard Levitte
f68bb3c51f
Corrected DJGPP patch
2002-12-05 20:50:25 +00:00
Andy Polyakov
6d4ac67ac1
linux64-sparcv9 support finally debugged and tested.
...
Submitted by:
Reviewed by:
PR:
2002-12-05 13:17:52 +00:00
Richard Levitte
b84d5b72f1
Make sure to implement the cryptodev engine only when /dev/crypto exists.
2002-12-05 10:16:28 +00:00
Richard Levitte
8cbccedf7c
make update
2002-12-05 01:55:48 +00:00
Richard Levitte
1c24347062
Declare another general file.
2002-12-05 01:42:14 +00:00
Richard Levitte
9ef888130d
Allow users to modify /MD to /MT.
...
PR: 380
2002-12-05 01:35:04 +00:00
Richard Levitte
4387f47832
Make sure using SSL_CERT_FILE actually works, and has priority over system defaults.
...
PR: 376
2002-12-05 01:20:47 +00:00
Richard Levitte
38d6e4bb50
If an application supports static locks, it MUST support dynamic locks as
...
well to be able to use the CHIL engine.
PR: 281
2002-12-05 00:56:58 +00:00
Richard Levitte
ced621e3c2
PR: 381
2002-12-05 00:05:48 +00:00
Richard Levitte
85940ea8ea
Only check for a result buffer if the allocated string is a prompt string.
...
PR: 381
2002-12-05 00:04:30 +00:00
Richard Levitte
439ae4d398
Do not implement RC4 stuff if RC4 is disabled. Concequently, apply the same
...
rule for SHA stuff.
PR: 381
2002-12-04 22:54:02 +00:00
Richard Levitte
4fbe40c54f
gethostname() is more a BSD feature than an XOPEN one.
...
PR: 379
2002-12-04 22:48:01 +00:00
Richard Levitte
578ca7e4cd
Correct a few typos that I introduced after applying DJGPP patches.
2002-12-04 19:13:43 +00:00
Bodo Möller
7e8c30b589
In ECPKParameters_print, output the private key length correctly
...
(length of the order of the group, not length of the actual key, which
will be shorter in some cases).
Submitted by: Nils Larsch
2002-12-04 17:43:01 +00:00
Bodo Möller
2b32b28191
Don't compute timings here, we can do this elsewhere.
...
Include X9.62 signature examples.
Submitted by: Nils Larsch
2002-12-04 17:38:40 +00:00
Lutz Jänicke
532215f2db
Missing ")"
...
Submitted by: Christian Hohnstaedt <chohnstaedt@innominate.com >
Reviewed by:
PR:
2002-12-04 13:30:58 +00:00
Richard Levitte
5319be4438
DJGPP patches.
...
PR: 347
2002-12-04 09:54:10 +00:00
Richard Levitte
f7a3e73ef6
Add support for x86_64.
...
PR: 348
2002-12-04 09:17:43 +00:00
Richard Levitte
ff3345cb72
A gcc 3.0 bug is triggered by our code. Add a section about it in PROBLEMS.
...
PR: 375
2002-12-04 08:24:18 +00:00
Dr. Stephen Henson
716b2079dc
Make ASN1_TYPE_get() work for V_ASN1_NULL type.
2002-12-04 00:49:46 +00:00
Dr. Stephen Henson
e7b6228fd3
Typo in X509v3_get_ext_by_critical
2002-12-04 00:16:00 +00:00
Dr. Stephen Henson
2053c43de2
In asn1_d2i_read_bio, don't assume BIO_read will
...
return the requested number of bytes when reading
content.
2002-12-03 23:50:59 +00:00
Richard Levitte
1c3e4a3660
EXIT() may mean return(). That's confusing, so let's have it really mean
...
exit() in whatever way works for the intended platform, and define
OPENSSL_EXIT() to have the old meaning (the name is of course because
it's only used in the openssl program)
2002-12-03 16:33:03 +00:00
Richard Levitte
4707991520
Make CRYPTO_cleanse() independent of endianness.
2002-12-03 16:06:40 +00:00
Richard Levitte
7a1f92fdc3
Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>
2002-12-03 14:20:44 +00:00
Richard Levitte
e7a285694e
define USE_SOCKETS so sys/param.h gets included (and thusly, MAXHOSTNAMELEN
...
gets defined).
PR: 371
2002-12-02 22:49:02 +00:00
Richard Levitte
6ab285bf4c
I think I got it now. Apparently, the case of having to shift down
...
the divisor was a bit more complex than I first saw. The lost bit
can't just be discarded, as there are cases where it is important.
For example, look at dividing 320000 with 80000 vs. 80001 (all
decimals), the difference is crucial. The trick here is to check if
that lost bit was 1, and in that case, do the following:
1. subtract the quotient from the remainder
2. as long as the remainder is negative, add the divisor (the whole
divisor, not the shofted down copy) to it, and decrease the
quotient by one.
There's probably a nice mathematical proof for this already, but I
won't bother with that, unless someone requests it from me.
2002-12-02 21:31:45 +00:00
Richard Levitte
1d3159bcca
Make some names consistent.
2002-12-02 02:40:27 +00:00
Richard Levitte
f60ceb54eb
Through some experimentation and thinking, I think I finally got the
...
proper implementation of bn_div_words() for VAX.
If the tests go through well, the next step will be to test on Alpha.
2002-12-02 02:28:27 +00:00
Richard Levitte
0f995b2f40
Small bugfix: even when r == d, we need to adjust r and q.
...
PR: 366
2002-12-01 02:17:23 +00:00
Richard Levitte
848f735ae4
EXIT() needs to be in a function that returns int.
2002-12-01 01:23:35 +00:00
Richard Levitte
a678430602
Redo the VAX assembler version of bn_div_words().
...
PR: 366
2002-12-01 00:49:36 +00:00
Richard Levitte
e9b553dac1
Remove incorrect assert.
...
PR: 360
2002-11-29 15:18:22 +00:00
Richard Levitte
db3758923b
Make it so all names mentioned in the NAME section of each manpage becomes a
...
symlink to said manpage.
PR: 242
2002-11-29 15:00:58 +00:00
Richard Levitte
5e4a75e79f
Correct some names.
2002-11-29 14:21:54 +00:00
Richard Levitte
43d601641f
A few more memset()s converted to OPENSSL_cleanse().
...
I *think* I got them all covered by now, bu please, if you find any more,
tell me and I'll correct it.
PR: 343
2002-11-29 11:30:45 +00:00
Richard Levitte
55f78baf32
Have all tests use EXIT() to exit rather than exit(), since the latter doesn't
...
always give the expected result on some platforms.
2002-11-28 18:54:30 +00:00
Richard Levitte
6c359479d7
Make sure EXIT() can always be used as one statement.
2002-11-28 18:52:14 +00:00
Richard Levitte
4579924b7e
Cleanse memory using the new OPENSSL_cleanse() function.
...
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-28 08:04:36 +00:00
Richard Levitte
2047bda6fb
Unused variable removed.
2002-11-27 13:40:41 +00:00
Richard Levitte
406c6f6962
Extra ; removed.
2002-11-27 13:40:11 +00:00
Richard Levitte
df29cc8f77
Add OPENSSL_cleanse() to help cleanse memory and avoid certain compiler
...
and linker optimizations.
PR: 343
2002-11-27 12:24:05 +00:00
Richard Levitte
ec7164133d
I forgot that @ in strings must be escaped in Perl
2002-11-26 15:27:05 +00:00
Richard Levitte
ba8ad07490
The logic in the main signing and verifying functions to check lengths was
...
incorrect. Fortunately, there is a second check that's correct, when adding
the pads.
PR: 355
2002-11-26 11:14:32 +00:00
Richard Levitte
17582ccf21
Heimdal isn't really supported right now. Say so, and offer a possibility
...
to force the use of Heimdal, and warn if that's used.
PR: 346
2002-11-26 10:11:58 +00:00
Richard Levitte
31be2daa06
Small bugfixes to the KSSL implementation.
...
PR: 349
2002-11-26 10:09:36 +00:00
Richard Levitte
de868e0b94
Heimdal isn't really supported right now. Say so, and offer a possibility
...
to force the use of Heimdal, and warn if that's used.
PR: 346
2002-11-26 09:19:17 +00:00
Bodo Möller
15994b034a
rename some functions to improve consistency
...
Submitted by: Sheueling Chang
2002-11-23 18:16:09 +00:00
Bodo Möller
922fa76e26
add a comment
2002-11-22 09:25:35 +00:00
Richard Levitte
19aa370573
Disable this module if OPENSSL_NO_SOCK is defined.
2002-11-22 08:45:20 +00:00
Richard Levitte
d020e701bb
Typo. OPENSSL_NO_ECDH, not NO_OPENSSL_ECDH
2002-11-22 08:40:34 +00:00
Richard Levitte
364ff369d1
Mention a current showstopper
2002-11-21 22:39:08 +00:00
Bodo Möller
8a09b3866a
avoid uninitialized memory read
...
Submitted by: Nils Larsch
2002-11-20 10:55:27 +00:00
Bodo Möller
137445140b
Make ec_GFp_simple_point_get_affine_coordinates() faster
...
for Montgomery representations.
Submitted by: Sheueling Chang, Bodo Moeller
2002-11-20 10:53:33 +00:00
Lutz Jänicke
6a8afe2201
Fix bug introduced by the attempt to fix client side external session
...
caching (#288 ): now internal caching failed (#351 ):
Make sure, that cipher_id is set before comparing.
Submitted by:
Reviewed by:
PR: 288 (and 351)
2002-11-20 10:48:58 +00:00
Bodo Möller
1e3a9b650f
allocate bio_err before memory debugging is enabled to avoid memory leaks
...
(we can't release it before the CRYPTO_mem_leaks() call!)
Submitted by: Nils Larsch
2002-11-19 11:56:05 +00:00
Richard Levitte
229dc0ee31
It works on my laptop :-).
2002-11-19 11:52:24 +00:00
Richard Levitte
fcc764639d
make update
2002-11-19 11:40:14 +00:00
Richard Levitte
821385ad00
Fix an unsigned/signed mismatch.
2002-11-19 11:28:28 +00:00
Richard Levitte
25ff76d565
Update STATUS
2002-11-19 09:34:34 +00:00
Richard Levitte
9801fb61d0
Add news items for 0.9.6h and expand on the 0.9.7 news as well.
2002-11-18 23:58:24 +00:00
Richard Levitte
20199ca809
Document the addition of certificate pairs.
2002-11-18 23:56:15 +00:00
Richard Levitte
711f1a3c26
Add the ASN.1 structures and functions for CertificatePair, which is
...
defined as follows (according to X.509_4thEditionDraftV6.pdf):
CertificatePair ::= SEQUENCE {
forward [0] Certificate OPTIONAL,
reverse [1] Certificate OPTIONAL,
-- at least one of the pair shall be present -- }
The only thing I'm not sure about is if it's implicit or explicit tags
that I should count on. For now, I'm thinking explicit, but will
gladly stand corrected.
Also implement the PEM functions to read and write certificate pairs,
and defined the PEM tag as "CERTIFICATE PAIR".
This needed to be defined, mostly for the sake of the LDAP attribute
crossCertificatePair, but may prove useful elsewhere as well.
2002-11-18 23:54:27 +00:00
Richard Levitte
a1d85309ee
Determine HZ exactly as in apps/speed.c.
2002-11-18 23:06:36 +00:00
Richard Levitte
450cee5c3a
Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).
2002-11-18 23:05:39 +00:00
Bodo Möller
a2dbcf3644
remove redundant functions
2002-11-18 14:37:35 +00:00
Bodo Möller
4663355496
use consistent order of function definitions
2002-11-18 14:33:39 +00:00
Bodo Möller
9dc610495c
fix memory leak in memory debuggin code ...
...
Submitted by: Nils Larsch
2002-11-18 14:00:42 +00:00
Bodo Möller
055076cd4f
allocate bio_err before memory debugging is enabled to avoid memory leaks
...
(we can't release it before the CRYPTO_mem_leaks() call!)
Submitted by: Nils Larsch
2002-11-18 13:37:40 +00:00
Richard Levitte
527497a722
A variable of type time_t is supposed to be a time measurement starting at
...
Epoch. offset isn't such a measurement, so let's stop pretend it is.
2002-11-18 13:04:08 +00:00
Lutz Jänicke
32d21c1ef6
Better workaround to the "=head1 NAME OPTIONS" pod2latex problem:
...
NAME OPTIONS are a subset of OPTIONS, so just make it =head2!
Submitted by:
Reviewed by:
PR: 333
2002-11-18 08:15:45 +00:00
Richard Levitte
629b58b7fb
Make it possible to build for more than one CPU.
...
Clarify what the CE tests do.
2002-11-17 19:48:19 +00:00
Richard Levitte
7fa2a81d34
Ignore openssl.pc. This way, there's no risk that I'll add it again :-).
2002-11-17 08:07:08 +00:00
Richard Levitte
7f66ab4783
Adding openssl.pc to the repository was a mistake,
...
since it's generated.
2002-11-17 08:05:38 +00:00
Richard Levitte
95189389b0
Add the file openssl.pc that I forgot a while ago.
2002-11-17 08:03:24 +00:00
Richard Levitte
b4b82ab465
I forgot this is compiled in test/, not crypto/ec/...
2002-11-16 10:10:39 +00:00
Richard Levitte
89618e7a0d
We don't want TARGETCPU expanded here.
2002-11-16 09:42:04 +00:00
Richard Levitte
b87e2576b5
Mention ActiveState Perl much earlier in INSTALL.WCE.
2002-11-15 22:54:13 +00:00
Richard Levitte
0bf23d9b20
WinCE patches
2002-11-15 22:37:18 +00:00
Lutz Jänicke
813f256783
Fix buggy #! magic and update ssleay->openssl
...
Submitted by:
Reviewed by:
PR: 305
2002-11-15 21:26:42 +00:00
Richard Levitte
bfa96bc20e
Add the INHIBIT_SYMLINKS flag variable to help Cygwin.
...
Add missing semicolons.
Add a comment explaining a bunch of targets without any action lines.
2002-11-15 16:56:36 +00:00
Richard Levitte
6f17f16fd5
Changes to make shared library building and use work better with Cygwin
2002-11-15 16:48:38 +00:00
Richard Levitte
84034f7aec
Document the change to remove the 'done' flag variable in the
...
OpenSSL_add_all_*() routines
2002-11-15 13:58:11 +00:00
Bodo Möller
acce40c585
this method does not need field_data1
2002-11-15 12:43:15 +00:00
Richard Levitte
6dc78bf7e8
make update
2002-11-15 11:20:43 +00:00
Richard Levitte
ce4f169ff9
A few more Microsoft OIDs added
2002-11-15 11:17:50 +00:00
Lutz Jänicke
c566205319
The pointer to the cipher object is not yet set, when session was reloaded
...
from external cache (using d2i_SSL_SESSION). Perform comparison based on
the cipher's id instead.
Submitted by: Steve Haslam <araqnid@innocent.com >
Reviewed by:
PR: 288
2002-11-15 10:53:33 +00:00
Richard Levitte
eaf6c61c9f
The architecture name is i486, not just 486
2002-11-15 10:28:28 +00:00
Richard Levitte
4c53d11d7f
-Wid-clash-n isn't support in gcc 3, and I get better result from continuously
...
rebuilding on a VMS box.
2002-11-15 10:19:23 +00:00
Richard Levitte
1d647444e3
I know ANSI C doesn't like 'long long', and I don't want to see it
2002-11-15 10:15:56 +00:00
Richard Levitte
c1eeb6078f
Spell prototypes correctly :-).
2002-11-15 09:56:01 +00:00
Richard Levitte
953db08416
Add -Wstrict-prototype and -Wmissing-prototype to my debugging targets
2002-11-15 09:53:46 +00:00
Richard Levitte
0a5942093e
We need to read one more byte of the REQUEST-CERTIFICATE message.
...
PR: 300
2002-11-15 09:15:55 +00:00
Dr. Stephen Henson
d78254aa28
Add SETWRAP modifier to ASN1 generate.
2002-11-15 00:26:07 +00:00
Richard Levitte
af67804bef
make update
2002-11-14 23:56:12 +00:00
Richard Levitte
35a6db8640
Close the implicitely opened registry key.
...
PR: 264
2002-11-14 23:33:28 +00:00
Lutz Jänicke
56dc24d483
Use =back to finish =over (found using pod2latex).
...
Submitted by:
Reviewed by:
PR:
2002-11-14 21:50:30 +00:00
Lutz Jänicke
84d828ab70
No such reference to link to (found running pod2latex).
...
Submitted by:
Reviewed by:
PR:
2002-11-14 21:41:54 +00:00
Dr. Stephen Henson
cfae3d94e9
Fix documentation of i2d_X509_fp and i2d_X509_bio.
2002-11-14 18:15:52 +00:00
Richard Levitte
b9c23cca01
Add Tandem OSS target.
...
PR: 192
2002-11-14 16:30:11 +00:00
Richard Levitte
c863201780
Remove warnings.
2002-11-14 15:57:38 +00:00
Richard Levitte
cb21d001c9
DCL logic bugs fixed.
...
(I really need to review my knowledge of the language)
2002-11-14 15:38:47 +00:00
Richard Levitte
c7faede37b
It seems like gcc 2.9aix5.1 doesn't do will with optimization level 3.
...
PR: 115
2002-11-14 14:07:48 +00:00
Richard Levitte
d4e573f305
Add a FAQ on how to check the authenticity of the openSSL distribution.
...
PR: 292
2002-11-14 13:00:59 +00:00
Richard Levitte
e20afbb340
Cygwin fixes
2002-11-14 12:39:39 +00:00
Bodo Möller
2b2ab52354
harmonize with 0.9.7 tree
2002-11-14 12:17:47 +00:00
Richard Levitte
8d6e60486f
Fix to build better with DJGPP.
...
PR: 338
Here's the description, submitted by Gisle Vanem <giva@bgnett.no >:
1. sock_init() renamed to ssl_sock_init() in ./apps/s_socket.c due
to name-clash with Watt-32.
2. rand() renamed to Rand() in ./crypto/bn/divtest.c due to name-clash
with <stdlib.h>
3. Added calls to dbug_init()/sock_init() in some demo programs.
4. Changed cflags/lflags in configure. Watt-32 install root now taken
from $WATT_ROOT.
2002-11-14 11:22:01 +00:00
Lutz Jänicke
1f30946481
Don't declare 2 WARNINGS sections
...
Submitted by:
Reviewed by:
PR:
2002-11-14 11:13:01 +00:00
Lutz Jänicke
b1697f189b
Opportunistic change to work around pod2latex bug: rename NAME OPTIONS
...
section to SUBJECT AND ISSUER NAME OPTIONS
Submitted by:
Reviewed by:
PR: 333
2002-11-14 11:09:07 +00:00
Lutz Jänicke
17a202add7
Correct reference to section name.
...
Submitted by:
Reviewed by:
PR:
2002-11-14 11:03:30 +00:00
Bodo Möller
3bd16a8902
fix output
...
Submitted by: Nils Larsch
2002-11-14 10:57:45 +00:00
Bodo Möller
555d75252a
use new BIO_indent() function here as well
...
Submitted by: Nils Larsch
2002-11-14 10:56:59 +00:00
Lutz Jänicke
eaad02a747
Missing =back
...
Submitted by:
Reviewed by:
PR:
2002-11-14 10:51:54 +00:00
Richard Levitte
97101fafd5
The directory 'rijndael' doesn't exist any more, let's check the aes
...
directory instead (this should have been done long ago...).
2002-11-14 08:23:32 +00:00
Richard Levitte
403f1bdc70
When AES is skipped because the option 'no-rijndael' was given,
...
make sure it's skipped from SDIRS as well.
2002-11-14 08:20:40 +00:00
Richard Levitte
d574d83993
Make the Windows test scripts consistent in their echoing
2002-11-14 08:08:55 +00:00
Richard Levitte
83411793b6
Handle last lines that aren't properly terminated.
...
PR: 308
2002-11-14 06:51:18 +00:00
Dr. Stephen Henson
65caee44ff
Fix get_email: 0 is a valid return value
2002-11-14 00:46:11 +00:00
Richard Levitte
738554331b
Constification needed.
...
PR: 241
2002-11-13 23:47:31 +00:00
Richard Levitte
3f083ef0eb
free() -> OPENSSL_free()
2002-11-13 20:25:47 +00:00
Richard Levitte
17ed6c06a7
Merge from 0.9.7-stable.
2002-11-13 18:10:30 +00:00
Richard Levitte
c112323dd5
This didn't get to the 0.9.8-dev thread...
2002-11-13 18:09:27 +00:00
Richard Levitte
0709385d3c
Correct support for SunOS 4.1.3_U1.
...
PR: 227
2002-11-13 16:11:14 +00:00
Ben Laurie
54a656ef08
Security fixes brought forward from 0.9.7.
2002-11-13 15:43:43 +00:00
Richard Levitte
8f797f14b8
When build as dynamic engines, the loading functions should be defined
...
static.
2002-11-13 15:30:25 +00:00
Richard Levitte
c0d64de660
Make internal functions static.
2002-11-13 14:34:53 +00:00
Richard Levitte
c1ce8cf3b8
Name the flag files correctly.
2002-11-13 14:31:34 +00:00
Dr. Stephen Henson
2d780dfd81
Typo
2002-11-13 14:07:37 +00:00
Bodo Möller
b6fee5c2fb
disable weird assert()s
2002-11-13 14:01:34 +00:00
Bodo Möller
10fa047622
remove unused old directory crypto/rijndael (superseded by crypto/aes)
2002-11-13 13:55:41 +00:00
Dr. Stephen Henson
04f0a6ba39
Update docs
2002-11-13 13:18:14 +00:00
Ben Laurie
eb43641dd3
Fix warnings, makefile cockup.
2002-11-13 11:59:48 +00:00
Dr. Stephen Henson
d479dc1d02
Put NAME in right place, fix typo
2002-11-13 01:20:43 +00:00
Dr. Stephen Henson
7fb8d254fe
Only accept exact match for modifier or tag name
2002-11-13 00:57:41 +00:00
Dr. Stephen Henson
c99935e32c
Add header ctype.h
2002-11-13 00:42:11 +00:00
Dr. Stephen Henson
2232e262bf
Fix memory leak in s2i_ASN_INTEGER and return an error
...
if any invalid characters are present.
2002-11-13 00:40:51 +00:00
Dr. Stephen Henson
137e7e3aa1
Update docs
2002-11-13 00:14:15 +00:00
Dr. Stephen Henson
ba36b61d3d
Initial ASN1 generation documentation.
2002-11-12 18:20:28 +00:00
Richard Levitte
ccb13ded84
Synchronise...
2002-11-12 13:55:20 +00:00
Dr. Stephen Henson
9ea1b87862
Initial ASN1 generation code. This can construct
...
arbitrary encodings from strings and config files.
Documentation to follow...
2002-11-12 13:34:51 +00:00
Richard Levitte
688cf84d1f
Make it possible to run individual tests even when linked with libcrypto.so and libssl.so
2002-11-12 11:25:23 +00:00
Richard Levitte
69ce48c307
Make the CBC mode od AES accept lengths that aren't multiples of 16.
...
PR: 330
2002-11-12 11:00:25 +00:00
Richard Levitte
06b7c8d5ba
Variables on the stack must be initialized or we can't depend on any
...
initial value. For errline/errorline, we did depend on that, erroneously
2002-11-11 21:34:21 +00:00
Richard Levitte
6722b62b36
Make the programs link against the static library on MacOS X.
...
PR: 335
2002-11-11 20:46:52 +00:00
Lutz Jänicke
7d80b27949
Typo.
...
Submitted by: assar <assar@kth.se >
Reviewed by:
PR:
2002-11-11 11:19:15 +00:00
Bodo Möller
d742bd882e
do tests with all built-in curves
...
Submitted by: Nils Larsch
2002-11-11 10:25:12 +00:00
Bodo Möller
97a06ad9ef
corrections to built-in curves
...
Submitted by: Nils Larsch
2002-11-11 10:24:52 +00:00
Lutz Jänicke
756b9a0046
Make sure permissions are friendly when building release tar file.
...
Submitted by:
Reviewed by:
PR: 171
2002-11-11 08:57:04 +00:00
Lutz Jänicke
96c930dd2f
More information to the important issue of seeding the PRNG
...
Submitted by:
Reviewed by:
PR: 285
2002-11-11 08:33:10 +00:00
Richard Levitte
c81a15099a
X509_NAME_cmp() now compares PrintableString and emailAddress with a value of type
...
ia5String correctly.
PR: 244
2002-11-09 21:52:20 +00:00
Dr. Stephen Henson
a8c125550c
Typo
2002-11-09 18:05:33 +00:00
Richard Levitte
3782350c14
-CAserial does take a filename argument.
...
PR: 332
2002-11-08 21:53:54 +00:00
Richard Levitte
d6257073aa
-CAcreateserial doesn't take a filename argument.
...
PR: 332
2002-11-08 21:51:09 +00:00
Richard Levitte
ddff68bee7
Windows doesn't know sys/file.h
2002-11-07 21:40:06 +00:00
Dr. Stephen Henson
491659c436
Typo in OCSP ASN1 module
2002-11-07 17:42:59 +00:00
Richard Levitte
8d6fc30bc7
Keep on using ${CC}, since gcc may act in disguise.
2002-11-06 23:39:03 +00:00
Richard Levitte
56824b9658
Generate openssl.pc so pkg-config can return proper data.
...
PR: 163
2002-11-06 23:35:00 +00:00
Richard Levitte
892e9625d3
Stupid bug fixes. I've forgotten my DCL...
2002-11-06 17:27:11 +00:00
Bodo Möller
e2916b2540
print less output (no details unless a test failed)
...
Submitted by: Nils Larsch
2002-11-06 11:48:09 +00:00
Richard Levitte
1810d2088e
some people just can't read the instructions
2002-11-06 06:02:05 +00:00
Dr. Stephen Henson
d618f703ec
CRL reason code docs.
2002-11-06 01:28:55 +00:00
Bodo Möller
896e4fef30
avoid Purify warnings
...
Submitted by: Nils Larsch
2002-11-05 13:54:41 +00:00
Dr. Stephen Henson
38c7271a39
Check for NULL ASN1_ITEM when initializeing
...
boolean option in ASN1_TYPE.
2002-11-05 13:48:33 +00:00
Bodo Möller
5e3247d8bc
fix typo
2002-11-05 10:54:40 +00:00
Bodo Möller
b53e44e572
implement and use new macros BN_get_sign(), BN_set_sign()
...
Submitted by: Nils Larsch
2002-11-04 13:17:22 +00:00
Richard Levitte
e5f4d8279d
Off-by-one-error corrected.
...
PR: 235
2002-11-04 11:30:47 +00:00
Richard Levitte
86e8b56ac4
Cosmetic change
2002-11-04 06:26:37 +00:00
Richard Levitte
bff1567623
Since we're currently assuming VMS can deal with dynamic engines,
...
don't include the static engine entry points in libcrypto.exe.
2002-11-04 00:29:26 +00:00
Richard Levitte
db199abd9e
Depend on OPENSSL_NO_STATIC_ENGINE rather than OPENSSL_NO_DYNAMIC_ENGINE.
...
Make sure to include openssl/opensslconf.h to make sure we get the
definition of those macros.
2002-11-01 12:37:22 +00:00
Richard Levitte
b6d0defb98
Remove all referenses to RSAref, since that's been gone for more than
...
a year.
2002-10-31 16:46:52 +00:00
Richard Levitte
ad22b914d6
Add all that is needed to build external engines on VMS.
...
Currently, we simply assume that they shall always be built as
shareable images.
2002-10-31 15:43:38 +00:00
Richard Levitte
f216fae545
Add the command procedure to build external engines on VMS.
...
Currently, we simply assume that they shall always be built as
shareable images.
2002-10-31 15:43:00 +00:00
Richard Levitte
242823c9bc
New files have appeared, tell VMS.
2002-10-30 09:46:21 +00:00
Richard Levitte
40efa67248
Plug potential memory leak.
...
Identified by Goetz Babin-Ebell <babinebell@trustcenter.de >
2002-10-30 09:42:42 +00:00
Geoff Thorpe
769fedc3ad
Add a HISTORY section to the man page to mention the new flags.
2002-10-29 18:05:16 +00:00
Geoff Thorpe
9c3db400dc
The recent CHANGES note between 0.9.6g and 0.9.6h needs copying into the
...
other branches.
2002-10-29 18:01:08 +00:00
Geoff Thorpe
d9ec9d990f
The last character of inconsistency in my recent commits is hereby
...
squashed.
2002-10-29 17:51:32 +00:00
Richard Levitte
b5148cf1f7
synchronise util/libeay.num with the 0.9.7-stable variant (guys, this
...
is something we really need to keep track of!).
make update
2002-10-29 14:48:57 +00:00
Bodo Möller
90a617e050
avoid warnings ('index' shadows global declaration)
...
Submitted by: Nils Larsch
2002-10-29 11:50:20 +00:00
Bodo Möller
259cdf2af9
Sun has agreed to removing the covenant language from most files.
...
Submitted by: Sheueling Chang <Sheueling.Chang@Sun.COM >
2002-10-29 10:59:32 +00:00
Bodo Möller
6c950e0dc9
'covenant HOWTO' (what to do about the Sun covenant if you modify the code)
...
Submitted by: Bodo Moeller
2002-10-29 10:58:07 +00:00
Richard Levitte
62dd6f161a
The #else part of the conditionals have two statements, so they need
...
to be surrounded with braces, or the surrounding if..else will fail
miserably in case the #else part is compiled.
2002-10-29 09:42:59 +00:00
Richard Levitte
6aba658cd8
Revert, that was an incorrect change.
...
PR: 156
2002-10-29 04:34:43 +00:00
Richard Levitte
accb0c6edb
A small detail: since 0.9.7, DH_new_method() and DSA_new_method()
...
don't take an ENGINE* as parameter any more.
PR: 156
2002-10-29 04:31:46 +00:00
Geoff Thorpe
e0db2eed8d
Correct and enhance the behaviour of "internal" session caching as it
...
relates to SSL_CTX flags and the use of "external" session caching. The
existing flag, "SSL_SESS_CACHE_NO_INTERNAL_LOOKUP" remains but is
supplemented with a complimentary flag, "SSL_SESS_CACHE_NO_INTERNAL_STORE".
The bitwise OR of the two flags is also defined as
"SSL_SESS_CACHE_NO_INTERNAL" and is the flag that should be used by most
applications wanting to implement session caching *entirely* by its own
provided callbacks. As the documented behaviour contradicted actual
behaviour up until recently, and since that point behaviour has itself been
inconsistent anyway, this change should not introduce any compatibility
problems. I've adjusted the relevant documentation to elaborate about how
this works.
Kudos to "Nadav Har'El" <nyh@math.technion.ac.il > for diagnosing these
anomalies and testing this patch for correctness.
PR: 311
2002-10-29 00:33:04 +00:00
Bodo Möller
00a357ab20
increase permissible message length so that we can handle
...
CertificateVerify for 4096 bit RSA signatures
2002-10-28 15:45:51 +00:00
Bodo Möller
8ee4845b65
'broken' PKCS #8 format does not apply to ECDSA
...
Submitted by: Nils Larsch
2002-10-28 14:13:38 +00:00
Bodo Möller
19b8d06a79
clean up new code for NIST primes
...
create new lock CRYPTO_LOCK_BN to avoid race condition
2002-10-28 14:02:19 +00:00
Bodo Möller
5c6bf03117
fast reduction for NIST curves
...
Submitted by: Nils Larsch
2002-10-28 13:23:24 +00:00
Bodo Möller
f72ed6153b
remove superfluous code
...
Submitted by: Nils Larsch
2002-10-28 13:19:08 +00:00
Richard Levitte
d652a0957f
Make sure toupper() is declared
2002-10-25 09:51:45 +00:00
Richard Levitte
fbcd27907b
External engines aren't in crypto/engine/ any more, so don't try to
...
build them there.
A command procedure to build the external engines is on it's way.
2002-10-24 19:15:30 +00:00
Richard Levitte
a551bea52e
make update
2002-10-24 19:12:10 +00:00
Richard Levitte
6cb686208e
For the mkdef.pl to recognise if the "external" engines are inserted
...
into libcrypto, we need the "algorithm" STATIC_ENGINE.
2002-10-24 19:09:03 +00:00
Richard Levitte
bd1fb77245
There's a name clash between OpenSSL and RSAref. Since this engine handles
...
RSAref data, pretend we don't care for OpenSSL's MD2 and MD5 structures or
implementation.
Remove all kinds of silly warning
2002-10-24 17:02:27 +00:00
Richard Levitte
d610d27f30
On certain platforms, we redefine certain symbols using macros in
...
apps.h. For those, it's better to include apps.h after the system
headers where those symbols may be defined, since there's otherwise a
chance that the C compiler will barf when it sees something that looks
like this after expansion:
int VMS_strcasecmp((str1),(str2))(const char *, const char *);
2002-10-24 10:03:55 +00:00
Richard Levitte
96b35c9e26
Signal an error if the entered output password didn't match itself.
...
PR: 314
2002-10-23 15:07:09 +00:00
Bodo Möller
907a8f1e6e
fix warnings, and harmonize indentation
2002-10-23 13:11:38 +00:00
Bodo Möller
e1c191fe44
I don't like c-tab-always-indent ...
2002-10-23 13:09:19 +00:00
Dr. Stephen Henson
5aa3429c5d
Typo: v3 is represented by 2.
2002-10-21 00:10:10 +00:00
Richard Levitte
ffd418f217
In my extreme debug mode, gcc complains that 'static' doesn't come
...
first.
2002-10-20 20:38:18 +00:00
Dr. Stephen Henson
0711be1696
New docs.
2002-10-20 13:20:57 +00:00
Geoff Thorpe
7521ab3d0b
Make pod2man happier.
2002-10-18 22:04:26 +00:00
Geoff Thorpe
0587ec2645
If dynamically-loadable ENGINEs are linked against a shared-library version
...
of libcrypto, then it is possible that when they are loaded they will share
the same static data as the loading application/library. This means it will
be too late to set memory/ERR/ex_data/[etc] callbacks, but entirely
unnecessary to try. This change puts a static variable in the core ENGINE
code (contained in libcrypto) and a function returning a pointer to it. If
the loaded ENGINE's return value from this function matches the loading
application/library's return value - they share static data. If they don't
match, the loaded ENGINE has its own copy of libcrypto's static data and so
the callbacks need to be set.
Also, although 0.9.7 hasn't been released yet, it's clear this will
introduce a binary incompatibility between dynamic ENGINEs built for 0.9.7
and 0.9.8 (though others probably exist already from EC_*** hooks and
what-not) - so the version control values are correspondingly bumped.
2002-10-18 20:45:38 +00:00
Geoff Thorpe
b76d66fbf6
Another ENGINE implementation dependant on string.h.
2002-10-18 19:23:27 +00:00
Geoff Thorpe
06f851f721
We need to propogate SHARED_LIBS to sub-directories for "install" targets
...
now.
2002-10-18 19:05:32 +00:00
Geoff Thorpe
f6661d391c
The loop variable is 'l', not 'i'.
2002-10-18 19:02:18 +00:00
Lutz Jänicke
284b216b3a
Corrected exchanged parameters in example for EVP_EncryptInit_ex()
...
Submitted by: "Marcus Carey" <marcus.carey@verizon.net >
Reviewed by:
PR: 265
2002-10-18 09:47:14 +00:00
Bodo Möller
05dbe6ee1f
change Emacs indentation style to make it easier to insert
...
tabs manually
Submitted by: Pierre Bacquet <pbacquet@delta.fr >
2002-10-17 09:16:02 +00:00
Richard Levitte
871d0f5126
Eh, -Wl,--whole-archive disappeared from the GNU targets. I've no
...
idea why, but that was definitely wrong...
2002-10-16 22:44:52 +00:00
Geoff Thorpe
5be1264b7e
The ENGINE implementations in ./engines/ should be role models on how to
...
write external engines (and thus should require only installed openssl
headers and libs to compile without warnings). So this gets rid of recently
introduced compilation warnings (no longer including internal headers) by
including string.h directly.
2002-10-16 21:50:28 +00:00
Geoff Thorpe
314c667050
- Remo Inverardi noticed that ENGINEs don't have an "up_ref" function in the
...
normal 'structural' case (ENGINE_init() satisfies this in the less normal
'functional' case). This change provides such a function.
- Correct some "read" locks that should actually be "write" locks.
- make update.
2002-10-16 01:29:37 +00:00
Richard Levitte
28c8a911bd
Typos.
...
PR: 189
2002-10-15 20:30:56 +00:00
Richard Levitte
437d1ed49f
Typos.
...
PR: 189
2002-10-15 20:29:09 +00:00
Richard Levitte
12fd8be2c4
A much better idea, of course, is not to do a submake at all...
2002-10-15 12:09:22 +00:00
Richard Levitte
8258f7b361
Makefile.shared needs to know how it can reach itself.
2002-10-15 11:58:44 +00:00
Richard Levitte
e15ea3d9e1
When BN_add_word() reaches top, it shouldn't try to add the the corresponding
...
word, since that word may not be zero.
2002-10-14 11:33:32 +00:00
Richard Levitte
677532629d
makedepend complains when a header file is included more than once in
...
the same source file.
2002-10-14 10:02:36 +00:00
Richard Levitte
57d8ff79b2
Complete the VxWorks fix by implementing a NULL RAND_poll() for it.
...
PR: 253
2002-10-14 09:44:57 +00:00
Richard Levitte
4b14ed760d
libs is a timestamp that we don't really need to know about.
2002-10-14 09:35:11 +00:00
Richard Levitte
79a6260a11
Add needed libraries as per configuration to the list of libraries we
...
depend upon.
2002-10-14 09:25:48 +00:00
Richard Levitte
a0bf8f2008
Add missing quotes.
...
Make sure test doesn't barf because of missing spaces before the
closing ].
Add -lc to the list of libraries we depend upon. Not always
necessary, but never hurts.
2002-10-14 09:24:50 +00:00
Richard Levitte
408bf2f0c4
Targeting the solaris platform for specific tests. Something is going
...
wrong, and my test engine doesn't show it. The verbosity will be
temporary for about a day.
2002-10-13 22:57:51 +00:00
Richard Levitte
874fee478c
Clarify where the engines are by default.
2002-10-12 16:07:31 +00:00
Richard Levitte
90d9a69bb1
Chase down the missing backslashes.
2002-10-12 09:16:10 +00:00
Richard Levitte
4006c56036
Add more commentary. Check that *num is smaller than the block size.
2002-10-11 22:42:34 +00:00
Richard Levitte
1729588435
The AES CTR API was buggy, we need to save the encrypted counter as well
...
between calls, or that will be lost if it returned with *num non-zero.
2002-10-11 22:37:29 +00:00
Richard Levitte
6f7c2cb31e
Step 14 of move of engines: Final step, document the change.
2002-10-11 22:06:44 +00:00
Richard Levitte
a4629f4136
make update.
2002-10-11 20:45:56 +00:00
Richard Levitte
56b5f687e4
And if the path has a space, we definitely need to protect $openssl.
2002-10-11 20:31:27 +00:00
Richard Levitte
caa4f47f61
Oh, there were *two* places where we needed to protect the file
...
name...
2002-10-11 20:28:23 +00:00
Richard Levitte
36757b4438
For the platforms where version info is inserted separately into the
...
shared library, set those flags conditionally.
2002-10-11 19:56:57 +00:00
Richard Levitte
75871dda4b
Step 13 of move of engines: Remove old files.
2002-10-11 18:52:42 +00:00
Richard Levitte
506fec1a95
Step 12 of move of engines: Time to make the changes to support
...
automatic load of dynamic engines. Make the changes in the main
Makefile so the engines are built, but now in the engines/ directory.
Note: The changes in step 12 have all been made by Geoff Thorpe.
Credit where credit is due.
2002-10-11 18:51:29 +00:00
Richard Levitte
aae329c447
Step 11c of move of engines: Time to make the changes to support
...
automatic load of dynamic engines. Change the iterator to try to load
the requested engine dynamically. The environment variable
OPENSSL_ENGINES can be used to override the internal default directory
where one can expect to find dynamically loadable engines.
Note: The changes in step 11 have all been made by Geoff Thorpe.
Credit where credit is due.
2002-10-11 18:49:55 +00:00
Richard Levitte
02acf1409e
Step 11b of move of engines: Time to make the changes to support
...
automatic load of dynamic engines. Add functionality to the dynamic
engine to handle engine directories and loading from those. This
is currently NOT compatible with the use of LD_LIBRARY_PATH and
similar environment variables.
Note: The changes in step 11 have all been made by Geoff Thorpe.
Credit where credit is due.
2002-10-11 18:47:51 +00:00
Richard Levitte
6ac3309c74
Step 11a of move of engines: Time to make the changes to support
...
automatic load of dynamic engines. Unless we don't have shared
library support, do not try to load any "built-in" engines except for
cryptodev.
2002-10-11 18:42:54 +00:00
Richard Levitte
1b15cfa11d
Step 10 of move of engines: Change crypto/engine/Makefile.ssl so we
...
don't build any "built-in" engines in that directory any more, except
fo the cryptodev one.
2002-10-11 18:40:47 +00:00
Richard Levitte
76dfca879f
Step 9 of move of engines: rename crypto/engine/hw_cryptodev.c to
...
eng_cryptodev.c. This is an engine that (at least currently) has
to be built in.
2002-10-11 18:38:26 +00:00
Richard Levitte
7cdc7bacea
Typo
2002-10-11 18:32:32 +00:00
Richard Levitte
fbd78b5c08
Step 8 of move of engines: Remove the last little quirks.
...
DECIMAL_SIZE is copied from crypto/cryptlib.h.
2002-10-11 18:21:40 +00:00
Richard Levitte
fbcd0da597
We didn't copy the cryptodev engine here, darn it!
2002-10-11 18:20:06 +00:00
Richard Levitte
665dc3924d
Step 7 of move of engines: Engines should not depend on private
...
OpenSSL header files.
2002-10-11 18:17:16 +00:00
Richard Levitte
4bdacff25b
Typo.
2002-10-11 18:10:14 +00:00
Richard Levitte
ecd45314b8
Step 6 of move of engines: rename the macro ENGINE_DYNAMIC_SUPPORT to
...
OPENSSL_NO_DYNAMIC_ENGINE and make sure that gets defined unless
shared library support has been specifically requested.
2002-10-11 18:06:08 +00:00
Bodo Möller
3e06fb754e
synchronize with 0.9.7-stable version of this file
2002-10-11 17:56:34 +00:00
Richard Levitte
b2e20a31ea
That wasn't supposed to be there...
2002-10-11 17:43:53 +00:00
Richard Levitte
38e19a4220
Step 5 of move of engines: Add a makefile (and a .cvsignore).
2002-10-11 17:42:30 +00:00
Richard Levitte
f28164fefd
Step 4 of move of engines: Split e.ec into individual files for each
...
engine.
2002-10-11 17:41:40 +00:00
Richard Levitte
2eaabb718b
Step 3 of move of engines: copy the corresponding vendor header files.
2002-10-11 17:10:59 +00:00
Richard Levitte
5572f482e7
Step 2 of move of engines: copy engines to new directory and rename them
...
to be prefixed with e_ instead of hw_. They aren't necessarely hardware
engines. The files commited here are exact copies of the corresponding
hw_ files found in crypto/engine/.
2002-10-11 17:08:27 +00:00
Richard Levitte
729f0a277e
Add a configuration target for A/UX.
...
PR: 271
2002-10-11 14:39:03 +00:00
Richard Levitte
c55d759168
make update
2002-10-11 12:22:47 +00:00
Richard Levitte
b7910992d8
There may be more than one single quote to fix.
...
PR: 256
2002-10-11 11:34:20 +00:00
Richard Levitte
cf3b8b52f1
Make sure it's properly detected when there's no version information
...
at all, and in all other cases, make sure foo.so is linked to
foo.so.{soversion}.
2002-10-11 11:14:41 +00:00
Richard Levitte
42b06fbaca
Make sure $fname will not give us any surprises with any funny characters.
...
PR: 256
2002-10-11 11:07:28 +00:00
Richard Levitte
2245cd87d4
BN_bn2hex() returns "0" instead of "00" for zero. This disrputs the
...
requirement that the serial number always be an even amount of characters.
PR: 248
2002-10-11 09:38:56 +00:00
Richard Levitte
c199837c54
Fix inconsistencies in the Darwin targets.
...
Add a variant of SHLIB_SOVER without the preceding period.
2002-10-11 08:45:42 +00:00
Richard Levitte
83699c4784
Add a suffix for Darwin's sake, since it seems like .dylib comes after
...
the version in the file name.
2002-10-11 07:33:38 +00:00
Richard Levitte
30afcc072a
Move the shared library construction stuff to Makefile.shared, a
...
helper makefile that generalises our way of building shared libraries
and is designed to take care of almost anything (I hope).
2002-10-11 00:37:11 +00:00
Richard Levitte
832f9304fd
Rhapsody had ftime, Darwin doesn't (any longer?)
2002-10-10 13:35:49 +00:00
Richard Levitte
fa4bde98d2
Add a few more target platforms, to see how well the shared library
...
linking works on them.
2002-10-10 12:46:05 +00:00
Richard Levitte
ca80756c70
VMS below version 7 doesn't have strcasecmp, so let's roll our own on VMS.
...
PR: 184
2002-10-10 09:05:05 +00:00
Richard Levitte
ef0baf60aa
Typo
2002-10-10 08:32:39 +00:00
Richard Levitte
7ba3a4c3d2
RFC 2712 redefines the codes for use of Kerberos 5 in SSL/TLS.
...
PR: 189
2002-10-10 07:59:03 +00:00
Dr. Stephen Henson
29e48c18b7
More docs.
2002-10-09 17:19:59 +00:00
Dr. Stephen Henson
982dfb7d10
Typo.
2002-10-09 17:15:35 +00:00
Dr. Stephen Henson
8c4b69d3ab
Update docs.
2002-10-09 17:05:05 +00:00
Richard Levitte
0e2cc42cfb
Make sure that the 'config' variable is correctly defined and declared
...
for monolithic as well as non-monolithic biuld.
More work is probably needed in this area.
PR: 144
2002-10-09 15:36:23 +00:00
Richard Levitte
1e5c205ccb
Remove redundancy and use the main makefile better
2002-10-09 15:12:36 +00:00
Richard Levitte
4c82171a8e
Keep the sub_all symbol so all the algorithm Makefiles won't break.
2002-10-09 15:03:21 +00:00
Richard Levitte
88c80b3e75
Change the main Makefile to have "mini-build" targets.
...
PR: 253, last part.
2002-10-09 14:52:01 +00:00
Richard Levitte
27bad5ad3d
Don't fuss with the demo binaries
2002-10-09 13:57:55 +00:00
Richard Levitte
6a89a25c27
Add a few more VxWorks targets.
...
Correct misspelled VXWORKS macros.
Add VXWORKS identifying macros to e_os2.h.
Add required inclusions and mappings for VxWorks in e_os.h.
A few small modifications to make OpenSSL build and work on VxWorks.
PR: 253, except for the change that was handled in an earlier
commit, and a request for easy build of just parts of OpenSSL.
2002-10-09 13:40:48 +00:00
Richard Levitte
001ab3abad
Use double dashes so makedepend doesn't misunderstand the flags we
...
give it.
For 0.9.7 and up, that means util/domd needs to remove those double
dashes from the argument list when gcc is used to find the
dependencies.
2002-10-09 13:25:12 +00:00
Dr. Stephen Henson
ec8ad2bb96
PKCS12_parse manual page.
2002-10-09 13:10:23 +00:00
Dr. Stephen Henson
5fbb02fcb1
PKCS12_create manual page
2002-10-09 12:06:58 +00:00
Dr. Stephen Henson
4e1b50e219
More man pages.
2002-10-09 12:06:12 +00:00
Richard Levitte
d7b2342a6a
Add missing LF
2002-10-09 06:35:47 +00:00
Dr. Stephen Henson
7e9db7cefc
PKCS7_verify() docs.
2002-10-08 00:40:58 +00:00
Dr. Stephen Henson
d30e4c5b0b
More docs.
2002-10-07 17:31:00 +00:00
Dr. Stephen Henson
9de6bb8abc
More d2i/i2d manual pages.
2002-10-07 13:07:00 +00:00
Dr. Stephen Henson
72e04bd13f
Document "0" and "1" naming convention.
2002-10-06 12:59:25 +00:00
Dr. Stephen Henson
4ec0448122
Update docs.
2002-10-06 12:40:31 +00:00
Dr. Stephen Henson
842d8e209b
Update docs.
2002-10-06 12:34:06 +00:00
Dr. Stephen Henson
292fcd5c7b
Update DH parameter docs.
2002-10-06 12:24:09 +00:00
Dr. Stephen Henson
74e3931f84
Various Win32 fixes.
...
Resolve signed/unsigned conflicts
Make dso_win32.c compile.
2002-10-06 12:14:55 +00:00
Dr. Stephen Henson
12dadc555f
Oops, remove old comment out debugging printf...
2002-10-06 12:10:35 +00:00
Richard Levitte
b75b2225e5
Since crypt() isn't defined anywhere, define it locally in destest.c
2002-10-06 00:41:12 +00:00
Richard Levitte
12f27bd414
Please do not use C++ comments in C code.
2002-10-06 00:33:23 +00:00
Richard Levitte
69deec58fb
Do not define crypt(). The supported function is DES_crypt() (an des_crypt()
...
when backward compatibility is desired).
2002-10-06 00:23:28 +00:00
Dr. Stephen Henson
1e976bdc46
Update RSAPublicKey manual page...
2002-10-06 00:03:20 +00:00
Dr. Stephen Henson
9946fceb9d
Some docs relating to X509 ASN1 functions.
...
Many other ASN1 functions are identical other
than the actual structure being handled.
2002-10-05 23:30:10 +00:00
Richard Levitte
6fed88113b
For some reason, the random number support removed the destructor
2002-10-05 20:54:09 +00:00
Dr. Stephen Henson
97ebe047d0
Typo.
2002-10-05 01:38:58 +00:00
Dr. Stephen Henson
fc6a6a1030
Add version info to Win32 DLLs.
...
We might want to edit the strings a bit...
Maybe add to 0.9.7 too?
2002-10-04 21:22:47 +00:00
Dr. Stephen Henson
3d840c827f
make update
2002-10-04 21:16:58 +00:00
Dr. Stephen Henson
a2a1a04e53
Add declaration got PKCS#7 NDEF.
2002-10-04 21:08:01 +00:00
Dr. Stephen Henson
f86abc2e80
Update mkdef.pl to handle new ASN1 macro
2002-10-04 20:24:50 +00:00
Richard Levitte
7104c376ae
Installed libraries should not be overwritten, especially shared ones.
...
Use mv to make sure the old copy is unlinked instead of overwritten.
PR: 273, and probably others...
2002-10-04 13:43:43 +00:00
Richard Levitte
0638ced5cc
Add random number generation capability to the cswift engine.
...
Should this be added to 0.9.6-stable as well?
PR: 275
2002-10-04 13:30:57 +00:00
Richard Levitte
e984b2af64
If we're loading libz dynamically, and COMP_zlib() is called more than once,
...
only the first call would provide the correct result.
PR: 277
2002-10-04 13:04:37 +00:00
Richard Levitte
70e96dcf59
Document should match reality :-).
...
PR: 255
2002-10-04 12:59:00 +00:00
Richard Levitte
2c696b2ddc
Add a small note saying the 'debug' option should come before the platform in
...
the arguments to mk1mf.pl.
PR: 298
2002-10-04 12:58:44 +00:00
Dr. Stephen Henson
9a48b07ee4
Various enhancements to PKCS#12 code, new
...
medium level API, improved PKCS12_create
and additional functionality in pkcs12
utility.
2002-10-03 23:53:52 +00:00
Dr. Stephen Henson
230fd6b7b6
Preliminary streaming ASN1 encode support.
2002-10-03 12:38:52 +00:00
Richard Levitte
20b33a015f
Removal missing
2002-10-02 00:22:44 +00:00
Richard Levitte
293d5082c7
The OpenBSD project has replaced the first implementation of the /dev/crypto
...
engine with something they claim is better. I have nothing to compare to,
and I assume they know what they're talking about. The interesting part with
this one is that it's loaded by default on OpenBSD systems.
This change was originally introduced in OpenBSD's tracking of OpenSSL.
2002-10-02 00:19:33 +00:00
Bodo Möller
929f116733
fix more race conditions
...
Submitted by: "Patrick McCormick" <patrick@tellme.com >
PR: 262
2002-09-26 15:52:34 +00:00
Lutz Jänicke
ba5ba5490d
Add missing brackets.
...
Submitted by: "Chris Brook" <cbrook@v-one.com >
2002-09-25 20:19:04 +00:00
Bodo Möller
b8565a9af9
really fix race conditions
...
Submitted by: "Patrick McCormick" <patrick@tellme.com >
PR: 262
PR: 291
2002-09-25 15:38:57 +00:00
Richard Levitte
94960c8421
Make sure that the signal storage is regarded as volatile.
...
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
2002-09-25 14:14:11 +00:00
Richard Levitte
6859cf7459
It makes more sense to refer to specific function manuals than the concept
...
manual when the specific function is refered to in the current manual text.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
2002-09-25 13:33:28 +00:00
Richard Levitte
2018681b33
Remove *all* references to RSA_PKCS1_RSAref, since it doesn't exist any more.
...
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
2002-09-25 13:26:36 +00:00
Richard Levitte
e204516178
Remove reference to RSA_PKCS1_RSAref, since it doesn't exist any more.
...
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
2002-09-25 13:25:44 +00:00
Richard Levitte
153aecf91a
It makes more sense to refer to specific function manuals than the concept
...
manual when the specific function is refered to in the current manual text.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
2002-09-25 13:11:12 +00:00
Richard Levitte
cd98ab6491
Incorrect argument order to memset()
2002-09-25 12:52:13 +00:00
Richard Levitte
b3823ac64b
Missing ;
2002-09-25 12:49:40 +00:00
Richard Levitte
5d9470ff8e
-elapsed is also useful when using gettimeofday
2002-09-25 12:41:59 +00:00
Bodo Möller
e78f137899
really fix race condition
...
PR: 262
2002-09-23 14:25:07 +00:00
Ulf Möller
40e66398db
use OPENSSL_SYS_MSDOS rather than __DJGPP__ to disable egd, this is not
...
compiler specific
2002-09-22 08:49:22 +00:00
Ulf Möller
6e32d0a74b
make files didn't work on case insensitive filesystems
2002-09-22 08:44:03 +00:00
Bodo Möller
a4f53a1c73
there is no minimum length for session IDs
...
PR: 274
2002-09-19 11:44:07 +00:00
Bodo Möller
a90ae02454
fix race condition
...
PR: 262
2002-09-19 11:26:45 +00:00
Bodo Möller
4c8f79a33e
make sure 'neg' flag (which does not really matter for GF(2^m), but
...
could cause confusion for ECDSA) is set to zero
Submitted by: Sheueling Chang
2002-09-16 13:52:48 +00:00
Bodo Möller
7cc6ec7af7
add URL for Internet Draft
2002-09-16 13:45:14 +00:00
Bodo Möller
c2bbf275b2
1. switch from "-newkey ecdsa:..." to "-newkey ec:..."
...
2. automatically create required sub-directories
Submitted by: Vipul Gupta <Vipul.Gupta@sun.com >
2002-09-10 07:36:52 +00:00
Bodo Möller
9226e2187c
Let 'openssl req' fail if an argument to '-newkey' is not
...
recognized instead of using RSA as a default.
2002-09-10 07:34:45 +00:00
Dr. Stephen Henson
48921e00fc
Really fix PKCS7_set_detached this time...
2002-09-08 16:25:03 +00:00
Dr. Stephen Henson
f804930150
Fix typos in PKCS#12 ASN1 code.
...
Make PKCS7_set_detached work again.
2002-09-07 22:57:49 +00:00
Lutz Jänicke
3403caf3da
Consequently use term URI instead of URL
...
Submitted by: TJ Saunders <tj@castaglia.org >
Reviewed by:
PR: 268
2002-09-05 07:52:05 +00:00
Bodo Möller
ba11121731
-nameopt fix has been moved to 0.9.7
2002-09-02 14:22:51 +00:00
Bodo Möller
ed5e37c309
mention EC_get_builtin_curves()
2002-09-02 07:12:08 +00:00
Bodo Möller
65b1d31df5
change API for looking at the internal curve list
...
Submitted by: Nils Larsch
2002-09-02 07:08:33 +00:00
Dr. Stephen Henson
b499ed06d2
Fix ASN1_STRING_to_UTF8: remove non sensical !*out test.
2002-08-30 17:18:22 +00:00
Bodo Möller
6ff7c95843
don't memset(data,0,...) if data is NULL
...
Submitted by: anonymous
PR: 254
2002-08-29 11:45:40 +00:00
Geoff Thorpe
41cc7096b8
Fix a bug to allow the 4758 ENGINE to build as a DSO.
2002-08-28 19:11:08 +00:00
Bodo Möller
c237de058f
don't write beyond buffer
...
Submitted by: Nils Larsch
2002-08-27 13:32:35 +00:00
Bodo Möller
e2aeb8174b
change 'usage' formatting
2002-08-27 10:38:09 +00:00
Bodo Möller
34f1f2a81c
less specific interface for EC_GROUP_get_basis_type
...
Submitted by: Nils Larsch, Bodo Moeller
2002-08-26 18:08:53 +00:00
Bodo Möller
c96f0fd2d1
fix spacing
2002-08-26 14:50:52 +00:00
Bodo Möller
8aefe253a7
move EC_GROUP_get_basis_type() from ec_lib.c to ec_asn1.c
2002-08-26 11:33:13 +00:00
Bodo Möller
7e31164ae0
ASN1 for binary curves
...
Submitted by: Nils Larsch
2002-08-26 11:25:54 +00:00
Bodo Möller
ad55f581f9
fix offsets
...
Submitted by: Nils Larsch
2002-08-26 11:25:14 +00:00
Bodo Möller
d4a8f90cab
ecdsa => ec
...
Submitted by: Nils Larsch
2002-08-26 11:20:50 +00:00
Dr. Stephen Henson
41ab00bedf
Reinstate the check for invalid length BIT STRINGS,
...
which was effectively bypassed in the ASN1 changed.
2002-08-23 00:02:11 +00:00
Dr. Stephen Henson
fc85ac20c7
Make -nameopt work in req and add support for -reqopt
2002-08-22 23:43:48 +00:00
Dr. Stephen Henson
e88479243c
Change C++ style comments
2002-08-22 23:03:04 +00:00
Dr. Stephen Henson
c787525ac8
#if out unused function to shut the compiler up.
2002-08-22 23:00:54 +00:00
Dr. Stephen Henson
9a2601033d
Fix crahses and leaks in pkcs12 utility -chain option
2002-08-22 21:54:51 +00:00
Richard Levitte
fbb311a7d2
Typo, I assigned the variable ld instead of my_ld...
2002-08-18 21:32:19 +00:00
Richard Levitte
f309c1ae50
So, I discovered that if you have your $PATH set so a ld different from
...
GNU ld comes first, checking the usage of collect2 gives that instead of
GNU ld, even if GNU ld would be the one that would get used if we link using
gcc. It's much better, apparently, to ask gcc directly what the path to
GNU ld is (provided it's there at all and gcc knows about it), and ask
the result if it's a GNU or not. The bonus is that our GNU ld detection
mechanism got shorter and easier to understand...
2002-08-17 13:46:42 +00:00
Lutz Jänicke
82a20fb0f0
Reorder cleanup sequence in SSL_CTX_free() to leave ex_data for remove_cb().
...
Submitted by:
Reviewed by:
PR: 212
2002-08-16 17:04:04 +00:00
Bodo Möller
428112ef10
typo
...
Submitted by: Nils Larsch
2002-08-16 11:19:59 +00:00
Bodo Möller
64376cd8ff
'EC' vs. 'ECDSA'
...
Submitted by: Nils Larsch
2002-08-16 11:19:07 +00:00
Richard Levitte
cc8aa08b02
isalist was less trustable than I thought (or rather, one can trust it to
...
come up with all kinds of names we don't have in our targets).
Besides, our sparcv9 targets currently generate sparcv8 code, I'm told.
2002-08-16 09:41:14 +00:00
Richard Levitte
1c4e4e4f56
Add -lz to the ld flags when the user has chosen to link in zlib *statically*.
...
Notified by Doug Kaufman <dkaufman@rahul.net >
2002-08-16 06:15:41 +00:00
Dr. Stephen Henson
3f6db7f518
Fix block_size field for CFB and OFB modes: it should be 1.
2002-08-16 01:53:24 +00:00
Richard Levitte
8435a755fd
q may be used uninitialised
2002-08-15 22:06:00 +00:00
Bodo Möller
52c29b7b99
use correct function code in error message
2002-08-15 16:17:20 +00:00
Richard Levitte
c6bf63da7c
It seems like sun4u doesn't always have a sparcv9 inside. Trust isalist.
...
PR: 220
2002-08-15 15:20:48 +00:00
Bodo Möller
0fd05a2f0f
fix warnings (CHARSET_EBCDIC)
...
Submitted by: Lorinczy Zsigmond <lzsiga@mail.ahiv.hu >
2002-08-15 14:52:54 +00:00
Bodo Möller
1fd0338b49
fix manpage
2002-08-15 14:23:23 +00:00
Bodo Möller
b2be73e4e8
add crypto/ecdh
2002-08-15 14:17:19 +00:00
Richard Levitte
37f5fcf85c
Missing =back.
...
Part of PR 196
2002-08-15 10:59:55 +00:00
Richard Levitte
f742e497dd
Add a FAQ entry for yet another bc failure.
...
PR: 199
2002-08-15 10:50:31 +00:00
Richard Levitte
dcc426fcfe
Yet a couple of modules forgotten. These weren't important for
...
OpenSSL itself, since they aren't used there (yet). It became quite
visible qhen building a shared library, however...
2002-08-15 09:39:01 +00:00
Bodo Möller
7eb18f1237
Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),
...
EC_GROUP_new_by_nid() should be enough. This avoids a lot of
redundancy.
Submitted by: Nils Larsch
2002-08-15 09:21:31 +00:00
Richard Levitte
265e892fed
Sometimes, the value of the variable containing the compiler call can
...
become rather large. This becomes a problem when the default 1024
character large buffer that WRITE uses isn't enough. WRITE/SYMBOL
uses a 2048 byte large buffer instead.
2002-08-15 08:28:38 +00:00
Bodo Möller
623e9e66c0
change how pod2man is handled: explicitly invoke '$PERL' only when
...
needed, call 'pod2man' directly if this works
PR: 217
2002-08-14 14:04:24 +00:00
Richard Levitte
90f5a2b6fe
Instead of returning errors when certain flags are unusable, just ignore them.
...
That will make the test go through even if DH (or in some cases ECDH) aren't
built into OpenSSL.
PR: 216, part 2
2002-08-14 12:16:27 +00:00
Richard Levitte
bf625abe29
The applications 'ecdsa' and 'ecparam' were missing from the VMS
...
build.
2002-08-14 11:16:20 +00:00
Richard Levitte
b44069730b
Make sure that the test input file comes in the same record format as the
...
typical output from a program in C.
PR: 222
2002-08-14 11:08:43 +00:00
Bodo Möller
749d055eba
move a TODO from CHANGES to STATUS
2002-08-14 11:07:29 +00:00
Bodo Möller
49a0f77867
add 'TODO' items
2002-08-14 10:49:29 +00:00
Dr. Stephen Henson
2af52de7b5
Fix typo in OBJ_txt2obj which incorrectly passed the content
...
length, instead of the encoding length to d2i_ASN1_OBJECT.
This wasn't visible before becuse ASN1_get_object() used
to read past the length of the supplied buffer.
2002-08-14 00:48:02 +00:00
Richard Levitte
629d860cbc
Some files deserve to be ignored
2002-08-13 22:41:18 +00:00
Richard Levitte
056cc163f5
Merge in demo engines from 0.9.7-stable.
2002-08-13 12:30:27 +00:00
Richard Levitte
e09efcf71a
Comma forgotten.
2002-08-13 11:49:47 +00:00
Richard Levitte
763b4dcc66
Oh, ec2_smpt.c is #included by ec2_smpl.c!
2002-08-13 11:47:26 +00:00
Richard Levitte
83348e0b80
Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
...
PR: 216, point 1
2002-08-12 21:22:00 +00:00
Richard Levitte
f13ddd5d0a
Do not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
...
PR: 216, point 3
2002-08-12 21:20:25 +00:00
Bodo Möller
18a31aa861
Scripts for testing ECC ciphersuites.
...
Submitted by: Sun Microsystems Labs
2002-08-12 15:18:48 +00:00
Richard Levitte
b2a4e959c9
A few files in the ENGINE and EVP sections forgotten.
2002-08-12 13:31:57 +00:00
Bodo Möller
f17ef241d1
fix previous commit (there's no SSLEAY_VERSION_TEXT)
2002-08-12 11:21:02 +00:00
Bodo Möller
aa1e56b0b9
remove comment
...
Submitted by: Douglas Stebila
2002-08-12 08:54:40 +00:00
Bodo Möller
7ef524ea1c
remove debug messages
...
Submitted by: Douglas Stebila
2002-08-12 08:52:23 +00:00
Bodo Möller
0c7141a343
fix comment
...
Submitted by: Douglas Stebila
2002-08-12 08:51:30 +00:00
Bodo Möller
5488bb6197
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
...
Submitted by: Nils Larsch
2002-08-12 08:47:41 +00:00
Bodo Möller
8e28c67155
add 0.9.6g information
2002-08-12 08:45:00 +00:00
Richard Levitte
36969082bb
Update with the status for 0.9.6g.
2002-08-12 06:54:54 +00:00
Richard Levitte
4fde69b066
In case of shared libraries, we might run one version of the
...
application with a different version of the library. Detect if there
is a difference of versions, and print both versions in that case.
This might prove to be a good enough debugging tool in case of doubt.
2002-08-11 21:48:44 +00:00
Richard Levitte
fd9a4dbe94
One more file to compile on VMS as well.
2002-08-11 12:27:28 +00:00
Richard Levitte
f0db0ed35d
Remove clashes between symbols that have the same name except for
...
casing.
2002-08-11 12:23:08 +00:00
Richard Levitte
6d24cbf452
More long symbols to shorten.
2002-08-11 11:50:32 +00:00
Richard Levitte
5454829ae6
mem* functions are declared in string.h.
2002-08-10 01:36:14 +00:00
Richard Levitte
da0bca6466
Synchronise tests with Unix.
2002-08-10 01:35:10 +00:00
Richard Levitte
4705bd9b37
A new header.
2002-08-09 22:34:57 +00:00
Richard Levitte
5bd90983bc
Synchronise with Unix.
...
(I expect the next run will generate lots of errors on VMS :-)).
2002-08-09 22:32:32 +00:00
Richard Levitte
329f981582
More long names to shorten.
2002-08-09 22:23:33 +00:00
Bodo Möller
cece7adcee
.cvsignore for crypto/ecdh
2002-08-09 12:17:03 +00:00
Bodo Möller
74cc4903ef
make update
2002-08-09 12:16:15 +00:00
Bodo Möller
41fdcfa71e
fix warnings
2002-08-09 11:58:28 +00:00
Bodo Möller
60cc56b1a9
add field type to text output
...
don't print seed value as a number (leading zeros must not be removed)
Submitted by: Nils Larsch
2002-08-09 10:44:44 +00:00
Bodo Möller
f912e9293f
use 0, not NULL
...
Submitted by: Nils Larsch
2002-08-09 09:39:53 +00:00
Bodo Möller
56939728b7
ECDH engine support
...
Submitted by: Douglas Stebila
2002-08-09 09:39:11 +00:00
Bodo Möller
ea26226046
ECC ciphersuite support
...
Submitted by: Douglas Stebila <douglas.stebila@sun.com >
(Authors: Vipul Gupta and Sumit Gupta, Sun Microsystems Laboratories)
2002-08-09 08:56:08 +00:00
Richard Levitte
17f6279317
When we want to give a -f argument to $(MAKE), we'd better make sure the
...
variable doesn't already contain a -f argument.
PR: 203, part 4
2002-08-09 08:50:30 +00:00
Bodo Möller
e172d60ddb
Add ECDH support.
...
Additional changes:
- use EC_GROUP_get_degree() in apps/req.c
- add ECDSA and ECDH to apps/speed.c
- adds support for EC curves over binary fields to ECDSA
- new function EC_KEY_up_ref() in crypto/ec/ec_key.c
- reorganize crypto/ecdsa/ecdsatest.c
- add engine support for ECDH
- fix a few bugs in ECDSA engine support
Submitted by: Douglas Stebila <douglas.stebila@sun.com >
2002-08-09 08:43:04 +00:00
Richard Levitte
f8fe7fa491
Parse version numbers prefixed with text (egcs does that, even with
...
-dumpversion).
PR: 203, part 1
2002-08-09 07:32:24 +00:00
Richard Levitte
fbe792f0ac
0.9.6f is released
2002-08-08 22:55:28 +00:00
Bodo Möller
14a7cfb32a
use a generic EC_KEY structure (EC keys are not ECDSA specific)
...
Submitted by: Nils Larsch
2002-08-07 10:49:54 +00:00
Bodo Möller
7a8645d171
avoid SIGSEGV
...
Submitted by: Nils Larsch, Douglas Stebila
2002-08-07 07:53:47 +00:00
Geoff Thorpe
5bf738737d
These are updates/fixes to DH/DSA/RAND docs based on the fixes to the RSA
...
docs. There were a couple of other places (including RSA) where the docs
were not quite synchronised with the API that are now fixed. One or two
still remain to be fixed though ...
2002-08-05 16:27:01 +00:00
Geoff Thorpe
415e03aa6f
typo fix
2002-08-05 02:54:57 +00:00
Geoff Thorpe
ac120e20e3
Various parts of the RSA documentation were inaccurate and out of date and
...
this fixes those that I'm currently aware of. In particular, the ENGINE
interference in the RSA API has hopefully been clarified. This still needs
to be done for other areas of the API ...
2002-08-04 21:08:36 +00:00
Geoff Thorpe
3f90e45079
A single monolithic man page for the ENGINE stuff. This is a rough
...
first-cut but provides better documentation than having nothing on the
ENGINE API.
2002-08-04 20:57:19 +00:00
Geoff Thorpe
9dcc441a5f
Fix "make install_docs" (and thus "make install").
2002-08-04 20:40:23 +00:00
Bodo Möller
db4f691f9f
oops -- must use EVP_MD_size, not EVP_MD_block_size
2002-08-03 18:49:39 +00:00
Bodo Möller
d28735a05b
oops, undo previous change (was just for testing)
2002-08-03 18:28:34 +00:00
Bodo Möller
183847747a
fix bn_expand2
2002-08-03 18:27:47 +00:00
Bodo Möller
bac6012308
use bn_wexpand instead of bn_expand2 (the latter is not needed here,
...
and it does not yet work correctly)
Submitted by: Douglas Stebila
2002-08-03 17:51:29 +00:00
Dr. Stephen Henson
aaa384ca1a
Fix typo
2002-08-02 18:58:33 +00:00
Dr. Stephen Henson
f908226898
Fix the ASN1 sanity check: correct header length
...
calculation and check overflow against LONG_MAX.
2002-08-02 18:48:55 +00:00
Bodo Möller
909abce800
disable Sun divison algorithm by default
2002-08-02 18:26:02 +00:00
Bodo Möller
33d4e690cc
fix bn_expand2
2002-08-02 18:23:55 +00:00
Bodo Möller
848c849584
optical changes
2002-08-02 17:25:05 +00:00
Bodo Möller
102c8f47bf
typo
2002-08-02 15:28:31 +00:00
Bodo Möller
d3bcbba45c
remove obsolete part of comment
2002-08-02 15:13:10 +00:00
Bodo Möller
0903e56196
remove obsoleted disabled code
2002-08-02 15:07:08 +00:00
Bodo Möller
95ecacf8a2
Let BN_rand_range() abort with an error after 100 iterations
...
without success.
2002-08-02 15:02:03 +00:00
Bodo Möller
be8a280e0b
update
2002-08-02 14:58:09 +00:00
Bodo Möller
6fb60a84dd
Change BN_mod_sqrt() so that it verifies that the input value is
...
really the square of the return value.
2002-08-02 14:57:53 +00:00
Bodo Möller
5af7d1a3b8
move GF2m tests to the end
2002-08-02 14:49:59 +00:00
Bodo Möller
35b73a1f20
Rename implementations of method functions so that they match
...
the new method names where _GF... suffixes have been removed.
Revert changes to ..._{get/set}_Jprojective_coordinates_...:
The current implementation for ECC over binary fields does not use
projective coordinates, and if it did, it would not use Jacobian
projective coordinates; so it's OK to use the ..._GFp prefix for all
this.
Add author attributions to some files so that it doesn't look
as if Sun wrote all of this :-)
2002-08-02 14:28:37 +00:00
Bodo Möller
9e4f9b36fc
typos
2002-08-02 13:52:19 +00:00
Bodo Möller
84d7e365a0
ec2_smpt.c must be listed in LIBSRC
2002-08-02 13:50:12 +00:00
Bodo Möller
64c3da230f
there is no alternative EC_METHOD for curves over GF(2^m) (yet)
2002-08-02 13:43:26 +00:00
Bodo Möller
7793f30e09
add support for elliptic curves over binary fields
...
Submitted by: Duglas Stebila <douglas.stebila@sun.com >,
Sheueling Chang <sheueling.chang@sun.com >
(CHANGES entries by Bodo Moeller)
2002-08-02 13:42:24 +00:00
Bodo Möller
714df32e33
extend curve list (additional curves over binary fields)
...
Submitted by: Sheueling Chang Shantz and Douglas Stebila (Sun Microsystems Laboratories)
2002-08-02 13:06:17 +00:00
Bodo Möller
1dc920c8de
Binary field arithmetic contributed by Sun Microsystems.
...
The 'OPENSSL_NO_SUN_DIV' default is still subject to change,
so I didn't bother to finish the CHANGES entry yet.
Submitted by: Douglas Stebila <douglas.stebila@sun.com >, Sheueling Chang <sheueling.chang@sun.com >
(CHANGES entry by Bodo Moeller)
2002-08-02 13:03:55 +00:00
Bodo Möller
16dc1cfb5c
Add more WAP/WTLS elliptic curve OIDs.
...
Submitted by: Douglas Stebila <douglas.stebila@sun.com >
2002-08-02 12:28:34 +00:00
Bodo Möller
819ff32dc4
New error code ERR_R_DISABLED
...
Submitted by: Douglas Stebila <douglas.stebila@sun.com >
2002-08-02 12:27:21 +00:00
Bodo Möller
5574e0ed41
get rid of OpenSSLDie
2002-08-02 11:48:15 +00:00
Richard Levitte
042e57d562
make update
2002-08-02 11:23:12 +00:00
Richard Levitte
ba8fb52183
Certain flag macros were tested with #if instead if #ifdef...
2002-08-02 11:13:37 +00:00
Richard Levitte
f6f9961819
We don't need to find out which pod2man to use more than once
2002-08-01 21:52:56 +00:00
Richard Levitte
e74e9c48de
Don't try testing with parallell make, that will just fail.
...
PR: 175
2002-08-01 21:34:24 +00:00
Richard Levitte
179add2b07
Add aix64-cc, and make sure that ar gets proper flags for 64-bit libraries
2002-08-01 20:28:16 +00:00
Richard Levitte
456bc309d8
make update
2002-08-01 19:45:54 +00:00
Richard Levitte
a7535a2727
Add the CBC flag for cbc ciphers
2002-08-01 19:32:48 +00:00
Richard Levitte
44c09667ff
Avoid yet another name clash with libdes, and make the declaration consistent
...
with the definition.
2002-08-01 19:30:58 +00:00
Richard Levitte
da9b972466
Make it possible to load keys from stdin, and restore that
...
functionality in the programs that had that before.
Part fo PR 164
2002-08-01 16:28:40 +00:00
Richard Levitte
bd45950f4a
OCSP and KRB5 Makefil.ssl should be consistent with all the others
2002-08-01 14:18:52 +00:00
Richard Levitte
f70cf11819
Linux on s390 really knows about loading dynamically.
...
PR: 183
2002-08-01 13:50:08 +00:00
Richard Levitte
5575f781ad
Cut'n'paste error with other reposnder certificates cleared.
...
PR: 190
2002-08-01 13:39:39 +00:00
Richard Levitte
0472883cc2
If CRYPTO_realloc() is called with a NULL pointer, have it call
...
OPENSSL_malloc().
PR: 187
2002-08-01 10:08:37 +00:00
Richard Levitte
87e8feca95
If the email address is moved from the subject to the subject alternate name,
...
the subject in the certificate would differ from the subject in the index file,
which has quite bad concequences.
PR: 180
2002-07-31 14:05:57 +00:00
Richard Levitte
e70a39830c
Make sure to use $(MAKE) everywhere instead of make.
...
Part of PR 181
2002-07-31 13:49:06 +00:00
Richard Levitte
ba25198517
ln -f -s doesn't always work, so do a rm -f followed by a ln -s.
...
Part of PR 181
2002-07-31 13:38:32 +00:00
Richard Levitte
6297bcd74c
The version of the shared library should, for now, reflect the version
...
of OpenSSL.
Part of PR 181.
2002-07-31 13:24:26 +00:00
Lutz Jänicke
dd7ab82e75
Typo.
...
Submitted by: Jeffrey Altman <jaltman@columbia.edu >
Reviewed by:
PR: 169
2002-07-30 13:36:31 +00:00
Lutz Jänicke
c046fffa16
OpenSSL Security Advisory [30 July 2002]
...
Changes marked "(CHATS)" were sponsored by the Defense Advanced
Research Projects Agency (DARPA) and Air Force Research Laboratory,
Air Force Materiel Command, USAF, under agreement number
F30602-01-2-0537.
2002-07-30 13:04:04 +00:00
Lutz Jänicke
3aecef7697
"make update"
2002-07-30 12:44:33 +00:00
Lutz Jänicke
b218af2b27
0.9.6e and 0.9.7-beta3 are out.
2002-07-30 11:32:47 +00:00
Lutz Jänicke
77c46bbf29
Only use DSA-functions if available.
...
Submitted by: "Hellan,Kim KHE" <KHE@kmd.dk >
Reviewed by:
PR: 167
2002-07-29 13:31:44 +00:00
Bodo Möller
02750ff56f
mention SSL_do_handshake()
2002-07-29 12:35:19 +00:00
Bodo Möller
0bee0e6294
Use SEC1 format for EC private keys.
...
This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc.
Submitted by: Nils Larsch <nlarsch@compuserve.de >
2002-07-26 08:41:04 +00:00
Bodo Möller
12593e6f45
Move zeroing from bn_expand_internal() to bn_expand2() so that it
...
happens reliably, even if the BIGNUM is already sufficiently large.
[Note that the bn_expand()/bn_wexpand() macros call bn_expand2() only
if the BIGNUM actually has to grow, so this change does not add any
new overhead as currently bn_expand2() is never called directly.]
2002-07-25 12:12:39 +00:00
Bodo Möller
819a040f44
more detailed instructions for export from US
2002-07-25 11:19:58 +00:00
Richard Levitte
546405bece
Don't clobber loop variable.
...
PR: 159
2002-07-24 14:43:00 +00:00
Richard Levitte
f013c7f2a6
Document the recent DJGPP-related changes
2002-07-23 13:45:38 +00:00
Richard Levitte
1cc67fa80c
Make dummy tests to make it easier to physically remove unwanted algorithms.
...
This should complete PR 75
2002-07-23 13:31:04 +00:00
Bodo Möller
eefa6e4e2b
harmonize options with those for 'ecparam',
...
remove redudant option '-pub'
Submitted by: Nils Larsch
2002-07-23 09:51:57 +00:00
Richard Levitte
6d9116f83d
If DH is disabled, don't define the DH functions.
...
Notified by Kim Hellan <KHE@kmd.dk >
2002-07-22 14:18:11 +00:00
Bodo Möller
8be4e173e8
fix a typo and clarify
2002-07-22 09:04:36 +00:00
Bodo Möller
648765ba2f
add an explanation and fix a typo
2002-07-22 08:39:44 +00:00
Lutz Jänicke
c6ccf055ba
New cipher selection options COMPLEMENTOFALL and COMPLEMENTOFDEFAULT.
...
Submitted by:
Reviewed by:
PR: 127
2002-07-19 19:55:34 +00:00
Lutz Jänicke
1649d85d10
HP-UX shared libraries must be +x and should be -w. It doesn't hurt on
...
other platforms.
Submitted by:
Reviewed by:
PR: 134
2002-07-19 16:32:40 +00:00
Bodo Möller
cd72dcd925
update
2002-07-19 12:32:42 +00:00
Richard Levitte
7a5ed919ad
The first compile of the new merger method for VMS *almost* got
...
through. That's not enough, is it? :-)
2002-07-19 11:57:17 +00:00
Richard Levitte
799d7a34cf
Two more names that are a little too long for the standard VMS linker.
2002-07-19 11:56:02 +00:00
Lutz Jänicke
20adcfa058
The behaviour is undefined when calling SSL_write() with num=0.
...
Submitted by:
Reviewed by:
PR: 141
2002-07-19 11:53:54 +00:00
Lutz Jänicke
02b7ec88bb
Manual page for SSL_do_handshake().
...
Submitted by: Martin Sjögren <martin@strakt.com >
PR: 137
2002-07-19 11:05:50 +00:00
Geoff Thorpe
0af9a89cef
This documentation change was being written at the same time as Richard's
...
changes. So I'm committing this version to overwrite his changes for now,
and he can always take his turn to overwrite my words if he wants :-)
PR: 86
2002-07-18 20:59:22 +00:00
Richard Levitte
db802c60e3
Explain why RSA_check_key() doesn't work with hard keys.
...
PR: 86
2002-07-18 19:10:57 +00:00
Richard Levitte
503f3b1a21
Add history for documented new functions.
...
PR: 59
2002-07-18 18:54:46 +00:00
Richard Levitte
402bcde847
Allow subjects with more than 255 characters to be properly printed.
...
PR: 147
2002-07-18 17:59:21 +00:00
Richard Levitte
ec9ea6a3c8
Further enhance assembler support on Cygwin and DJGPP.
...
Make pod2mantest useable on DOS-based systems.
Part of PR 75, the rest is still under investigation.
2002-07-18 12:37:59 +00:00
Bodo Möller
7e6617611f
Fix bug introduced with revision 1.95 when this filed was modified to
...
use the new X509_CRL_set_issuer_name() function:
The CRL issuer should be X509_get_subject_name(x509), not
X509_get_issuer_name(x509).
Submitted by: Juergen Lesny <lesnyj@informatik.tu-muenchen.de >
typo
2002-07-18 11:23:50 +00:00
Richard Levitte
ca6dde5d3d
Reverse the change with the following log, it needs further investigation:
...
Make S/MIME output conform with the mail and MIME standards.
PR: 151
2002-07-18 10:39:20 +00:00
Richard Levitte
8e6cbcd7c0
Make S/MIME output conform with the mail and MIME standards.
...
PR: 151
2002-07-18 08:47:33 +00:00
Richard Levitte
9335a5f7c0
Unixware doesn't have strings.h, so we need to declare strcasecmp()
...
differently.
Unixware 2 needs to link with libresolv.
PR: 148
2002-07-18 07:47:30 +00:00
Richard Levitte
32bf74e30e
OPENSSL_SYS_WIN32 is important so util/mkdef.pl can detect it
2002-07-18 06:34:34 +00:00
Richard Levitte
6643f275e2
Make mkdir failsafe in case the directories are already present
2002-07-17 13:33:02 +00:00
Richard Levitte
cd4c36adb8
Add support for shared libraries with OS/2.
...
PR: 124
2002-07-17 13:27:43 +00:00
Richard Levitte
311e209931
Add a few FAQ entries for the various ways building OpenSSL on MacOS X
...
can fail, and point at the text in the PROBLEMS file
2002-07-17 11:29:15 +00:00
Richard Levitte
fe5eb6707f
If OpenSSL is built with shared library support on MacOS X,
...
everything works fine. Note: this is only true for 0.9.7 and on
2002-07-17 11:16:22 +00:00
Richard Levitte
f5db08e57a
On MacOS X, the shared library editor uses DYLD_LIBRARY_PATH
2002-07-17 11:09:44 +00:00
Richard Levitte
8cfdb960f0
On MacOS X, you're not allowed to have common objects in shared libraries
2002-07-17 08:20:27 +00:00
Richard Levitte
ebccb429de
Add the usually recommended solution to the linking problem entry for MacOS X
2002-07-17 07:48:39 +00:00
Richard Levitte
7dbed652fc
We had some experimental options in the Darwin entries. They are no longer needed
2002-07-16 11:07:42 +00:00
Richard Levitte
6789b41d86
The default C compiler on MacOS X doesn't like empty object files
2002-07-16 10:46:00 +00:00
Richard Levitte
0487cb234c
Actually, the "bug" is really documented in the man-page for ld, so
...
it's really a misfeature according to the jargon file (4.0.0)
definition:
":misfeature: /mis-fee'chr/ or /mis'fee`chr/ /n./ A feature
that eventually causes lossage, possibly because it is not adequate
for a new situation that has evolved. Since it results from a
deliberate and properly implemented feature, a misfeature is not a
bug."
2002-07-16 10:20:06 +00:00
Richard Levitte
80e1495b99
There are problems on certain platforms, and possible answers on how to (temporarly) solve them.
2002-07-16 10:04:40 +00:00
Richard Levitte
041843e47e
For those wanting to build for several platforms with the same source
...
directory, making a separate directory tree with lots of symbolic links
seems to be the solution. Unfortunately, Configure doesn't take appropriate
steps to support this solution (as in removing a file that's going to be
rewritten). This change corrects that situation. Now I just have to
find all other places where there's lack of support for this.
2002-07-16 09:19:37 +00:00
Richard Levitte
c2aa4f2081
For those wanting to build for several platforms with the same source
...
directory, making a separate directory tree with lots of symbolic links
seems to be the solution. Unfortunatelt, Configure doesn't take appropriate
steps to support this solution (as in removing a file that's going to be
rewritten). This change corrects that situation. Now I just have to
find all other places where there's lack of support for this.
2002-07-16 08:53:32 +00:00
Richard Levitte
b23f50e67e
Some older code (never committed) wasn't converted to the new format.
...
Corrected.
2002-07-16 08:02:31 +00:00
Richard Levitte
7fe03ed3a3
Let's not forget the second -Wtraditional
2002-07-16 07:06:48 +00:00
Richard Levitte
9466fa6750
Using -Wtraditional took it a little far. After all, we expect ANSI C, so
...
we don't need to care about traditional compilers
2002-07-16 06:53:45 +00:00
Richard Levitte
cead7f36da
Set up the engine before doing anything random-related, since engine randomness
...
is only used for seeding and doing it in the wrong order will mean seeding
is done before the engine randomness is hooked in.
Notified by Frederic DONNAT <frederic.donnat@zencod.com >
2002-07-16 06:52:03 +00:00
Richard Levitte
cbecb3ac37
There's an ongoing project to bring some kind of path selection
...
mechanism to the ENGINE framework. This means there there are going
to be new functionality for the DSO part, and ultimately some way of
merging two file specifications together.
This commit places the merging code into the repository. It's
currently not used anywhere, and hasn't been tested at all. It may be
full of errors, including syntactical ones. Those will be fixed as
promptly as possible.
2002-07-15 15:35:40 +00:00
Bodo Möller
5dbd3efce7
Replace 'ecdsaparam' commandline utility by 'ecparam'
...
(the same keys can be used for ECC schemes other than ECDSA)
and add some new options.
Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS"
in 'PEM' format.
Fix ec_asn1.c (take into account the desired conversion form).
'make update'.
Submitted by: Nils Larsch
2002-07-14 16:54:31 +00:00
Lutz Jänicke
876811e2af
Rewording: some algorithms are also patented in Europe, so choose more
...
defensive phrases...
2002-07-12 15:26:37 +00:00
Richard Levitte
b57c98df7b
In UI_UTIL_read_pw(), we should look at the size parameter, not at BUFSIZ.
...
Submitted by Götz Babin-Ebell <babinebell@trustcenter.de >
2002-07-11 09:12:29 +00:00
Lutz Jänicke
c4da6dd38a
Discussion about Redhat's specialties for the FAQ.
...
Submitted by: John.Airey@rnib.org.uk
Reviewed by:
PR: 128
2002-07-10 19:48:51 +00:00
Lutz Jänicke
2edcb4ac71
Typos in links between manual pages
...
Submitted by: Richard.Koenning@fujitsu-siemens.com
Reviewed by:
PR: 129
2002-07-10 19:35:54 +00:00
Lutz Jänicke
0c4d9b2fbc
Sun's official statement with respect to /dev/random support.
...
Submitted by: Garrett Anderson garrett@dirsec.com
Reviewed by:
PR: 120
2002-07-10 17:52:03 +00:00
Lutz Jänicke
5012158adf
Minor typos
...
Submitted by: jufi@nerdnet.de
Reviewed by:
PR: 138
2002-07-10 17:34:54 +00:00
Bodo Möller
5c9396e37c
remove obsolete comment
2002-07-10 08:39:05 +00:00
Lutz Jänicke
7b63c0fa8c
Reorder inclusion of header files:
...
des_old.h redefines crypt:
#define crypt(b,s)\
DES_crypt((b),(s))
This scheme leads to failure, if header files with the OS's true definition
of crypt() are processed _after_ des_old.h was processed. This is e.g. the
case on HP-UX with unistd.h.
As evp.h now again includes des.h (which includes des_old.h), this problem
only came up after this modification.
Solution: move header files (indirectly) including e_os.h before the header
files (indirectly) including evp.h.
Submitted by:
Reviewed by:
PR:
2002-07-10 07:01:54 +00:00
Lutz Jänicke
063a8905bf
Ciphers with NULL encryption were not properly handled because they were
...
not covered by the strength bit mask.
Submitted by:
Reviewed by:
PR: 130
2002-07-10 06:41:55 +00:00
Bodo Möller
cd7562091d
fix synopsis
...
Submitted by: Nils Larsch
2002-07-09 10:51:25 +00:00
Bodo Möller
d1d0be3cd2
emtpy fragments are not necessary for SSL_eNULL
...
(but noone uses it anyway)
fix t1_enc.c: use OPENSSL_NO_RC4, not NO_RC4
2002-07-09 08:49:09 +00:00
Geoff Thorpe
2c8ad4f1af
oops, there were other cases of "ENGINE_ID" to change too.
2002-07-08 15:16:10 +00:00
Geoff Thorpe
121dea3f85
Correct an error in the README.ENGINE file.
...
Submitted by: Jan Tschirschwitz <Jan.Tschirschwitz@cluster-labs.de >
2002-07-08 14:57:09 +00:00
Bodo Möller
ea4f109c99
AES cipher suites are now official (RFC3268)
2002-07-04 08:51:09 +00:00
Lutz Jänicke
7650934f21
README and INSTALL should contain information about the request tracker
...
(noted by Jonathan Louie <jlouie@recourse.com >).
2002-06-30 19:40:18 +00:00
Richard Levitte
40c5cae24a
Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
2002-06-29 22:04:09 +00:00
Richard Levitte
cce9396dc9
opensslconf.h doesn't define what we want, e_os2.h does.
...
PR 123
2002-06-27 17:19:55 +00:00
Richard Levitte
47f3eafb8d
Try to avoid double declaration of ERR_load_PEM_strings().
...
PR 71
2002-06-27 17:06:28 +00:00
Richard Levitte
53fc93dda6
A few changes to BC-32.pl didn't get properly applied.
...
This completes PR 123
2002-06-27 16:56:30 +00:00
Richard Levitte
17085b022c
Pass CFLAG to dependency makers, so non-standard system include paths are
...
handled properly.
Part of PR 75
2002-06-27 16:39:25 +00:00
Richard Levitte
4367eb8706
DJGPP has some needed header files that other MSDOS/Windows compilers don't have.
...
Part of PR 75
2002-06-27 16:32:04 +00:00
Richard Levitte
0a8a99785b
Update the information on Cygwin.
...
Part of PR 75
2002-06-27 16:29:46 +00:00
Richard Levitte
a9d96b98cb
Forgot to change the second $ENV{DJDIR} to /dev/env/DJDIR.
...
Part of PR 75
2002-06-27 16:28:04 +00:00
Richard Levitte
ae689b6b27
The new stuff is for Borland Bulider 5, so document it appropriately
2002-06-27 15:10:57 +00:00
Richard Levitte
60d160da2d
Document the new way of building with Borland Builder.
...
This concludes the changes from PR 123
2002-06-27 15:07:27 +00:00
Richard Levitte
05086644c4
Use underscores instead of dashes in temporary file names.
...
This is due to weird Borland compilers.
Part of PR 123
2002-06-27 14:57:54 +00:00
Richard Levitte
fb96d9d90d
When compiling for Windows, make sure we have the windows definitions declared.
...
Part of PR 123
2002-06-27 14:55:52 +00:00
Richard Levitte
e1a32c1807
Use 32-bit sections instead of the default, 16-bit ones.
...
Part of PR 123
2002-06-27 14:54:34 +00:00
Richard Levitte
5585f4eca4
have 'openssl pkcs7' exit with code 1 on error instead of 0.
...
PR: 119
2002-06-27 10:26:40 +00:00
Richard Levitte
e8b4d05f61
gcc requires -m64 to link 64-bit shared libraries on Solaris.
...
PR: 117
2002-06-27 10:19:17 +00:00
Richard Levitte
0df748e7e2
Use bg instead of bag as argument to macros, to avoid clashes with
...
structure field names.
PR: 112
2002-06-27 09:54:07 +00:00
Richard Levitte
1fbcfbe693
There is no RSAREF any more, so do not ty to install it.
...
PR: 106
2002-06-27 09:18:45 +00:00
Richard Levitte
34ab17b669
The general debug target must specify that it doesn't use assembler routines.
...
PR: 105
2002-06-27 09:13:44 +00:00
Richard Levitte
4942ef6f0e
A number of includes were removed from evp.h some time ago. The reason
...
was that they weren't really needed any more for EVP itself. However,
it seems like soma applications (I know about OpenSSH, but there may
be more) used evp.h as the 'load all' header file, which makes sense
since we try our best to promote the use of EVP instead of the lower
level crypto algorithms. Therefore, I put the inclusions back so
the application authors don't get too shocked by all the errors they
would otherwise get.
Thanks to Theo de Raadt for making us aware of this.
2002-06-27 05:03:00 +00:00
Bodo Möller
9ae08a9c04
Make sure buffers are large enough even for weird parameters
...
Submitted by: Nils Larsch
2002-06-26 14:28:41 +00:00
Bodo Möller
76f8a1f51d
update an entry on EVP changes
2002-06-26 14:21:16 +00:00
Richard Levitte
9d358821e5
For some reason, we need to return the full path to perl
2002-06-25 11:40:49 +00:00
Geoff Thorpe
a6c6874a1a
Make sure any ENGINE control commands make local copies of string
...
pointers passed to them whenever necessary. Otherwise it is possible the
caller may have overwritten (or deallocated) the original string data
when a later ENGINE operation tries to use the stored values.
Submitted by: Götz Babin-Ebell <babinebell@trustcenter.de >
Reviewed by: Geoff Thorpe
PR: 98
2002-06-21 02:38:08 +00:00
Lutz Jänicke
a947f2d2b6
<sys/select.h> is included for AIX, when USE_SOCKETS is defined.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 20:49:27 +00:00
Lutz Jänicke
94e19e7111
HP-UX: shared libraries MUST be +x and SHOULD be -w.
2002-06-20 19:57:23 +00:00
Lutz Jänicke
04677ce024
Fix path to find util/pod2man.pl from the execution directory.
...
Make sure to use the predefined PERL.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 19:49:39 +00:00
Geoff Thorpe
407adb5b17
This apparently fixes compilation on OSX that was failing in 0.9.7 betas.
...
Submitted by: Pieter Bowman <bowman@math.utah.edu >
2002-06-20 18:22:51 +00:00
Lutz Jänicke
da0616cd13
AIX (V3) requires <sys/select.h> (included via e_os.h) for fd_set.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 17:32:04 +00:00
Lutz Jänicke
1c02ca537a
load_netscape_key is static.
2002-06-18 17:44:56 +00:00
Bodo Möller
3f2f3d4264
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
2002-06-18 09:36:02 +00:00
Bodo Möller
c4c2c61e8c
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
PR: 102
2002-06-18 09:35:43 +00:00
Bodo Möller
5f3d6f70f6
Implement handling of EC parameter seeds (new functions
...
EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()).
New functions ECPKParameters_print(), ECPKParameters_print_fp().
Submitted by: Nils Larsch
2002-06-18 08:38:59 +00:00
Bodo Möller
ece0bdf1fd
typo
2002-06-17 13:59:12 +00:00
Lutz Jänicke
97e4b1883e
beta2, not beta1
2002-06-16 18:20:28 +00:00
Lutz Jänicke
a2b38b3022
Roll out OpenSSL-0.9.7-beta2
2002-06-16 11:33:59 +00:00
Lutz Jänicke
d51092f42b
Use -dumpversion to obtain gcc's version.
...
Submitted by: ross.alexander@uk.neceur.com , allenh@eecs.berkeley.edu
Reviewed by:
PR: 96
2002-06-16 10:31:17 +00:00
Lutz Jänicke
bdb6171334
OpenSSL_add_all_algorithms has been replaced by configuration dependent
...
functions and is redirected by macros. Switch it off now, possible removal
later.
2002-06-16 10:18:25 +00:00
Lutz Jänicke
1d4547a43d
Initial support for hpux64-parisc-gcc
...
Submitted by: ross.alexander@uk.neceur.com
Reviewed by:
PR: 96
2002-06-14 20:15:18 +00:00
Lutz Jänicke
65ee74fbc7
Some more prototype fixes.
...
Use DECLARE macros in asn1* instead of direct declaration.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de >
Reviewed by:
PR: 89
2002-06-14 19:01:52 +00:00
Bodo Möller
c21506ba02
New option SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS for disabling CBC
...
vulnerability workaround (included in SSL_OP_ALL).
PR: #90
2002-06-14 12:21:11 +00:00
Richard Levitte
00f1628eac
make update (adapt libeay.num to the 0.9.7-stable branch)
2002-06-13 23:35:24 +00:00
Richard Levitte
c69d103956
Tentatively add support for UWIN, a Unix-like environment on top of Windows.
...
PR: 62
2002-06-13 21:44:23 +00:00
Richard Levitte
d56f92ee78
Make sure that any dash in the prefix before the version number is removed.
...
PR: 96
2002-06-13 21:11:41 +00:00
Richard Levitte
d5492d9b47
Add support for DJGPP.
2002-06-13 20:44:49 +00:00
Richard Levitte
451dc18f10
Add support for DJGPP.
...
PR: 75
2002-06-13 20:42:35 +00:00
Richard Levitte
127dca46a0
Check for the executable $openssl, not just the file.
...
Part of PR: 75
2002-06-13 19:59:40 +00:00
Richard Levitte
e888074bb4
Parse directory using both slashes and backslashes as separators.
...
Do file copying in term of perl statements instead of using cp.
Part of PR: 75
2002-06-13 19:50:37 +00:00
Richard Levitte
1ef5026ef9
Making a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
...
strictly necessary, so let's not do that.
2002-06-13 19:42:37 +00:00
Lutz Jänicke
40889b9cd3
Add missing prototypes.
...
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de >
PR: 89
2002-06-13 17:40:27 +00:00
Dr. Stephen Henson
99889b46c9
Fix ext_dat.h extension ordering.
...
Reinstate -reqout code.
Avoid coredump in ocsp if setup_verify
fails.
Fix typo in ocsp usage message.
2002-06-13 12:56:27 +00:00
Lutz Jänicke
82869b3c8d
Add OIDs for Secure Electronic Transactions (SET)
...
Submitted by: Vadim Fedukovich <vf@unity.net >
Reviewed by: Lutz Jaenicke
PR: 80
2002-06-13 11:52:56 +00:00
Lutz Jänicke
e8233e699b
Clarify formulation (proposed by Bodo Moeller).
2002-06-13 08:53:42 +00:00
Dr. Stephen Henson
04cc76660a
The new ASN1 code automatically allocates
...
structures for fields that are not OPTIONAL.
However in the AUTHORITY_INFO_ACCESS case
the 'location' field was set to NULL in
the old code.
So in 0.9.7+ we should free up the field before
overwriting it in v2i_AUTHORITY_INFO_ACCESS.
2002-06-13 00:43:27 +00:00
Lutz Jänicke
e1f7ea25d2
Make change uniqueIdentifier -> x500UniqueIdentifier clearly visible.
...
Submitted by:
Reviewed by:
PR: 82
2002-06-12 20:46:38 +00:00
Lutz Jänicke
8586df1efb
Correct wrong usage information.
...
PR: 95
2002-06-12 20:15:18 +00:00
Bodo Möller
b8e0e12399
typo
2002-06-12 14:19:01 +00:00
Bodo Möller
254ef80db1
simplify asn1_flag
...
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-06-12 14:01:17 +00:00
Lutz Jänicke
f9de8446a0
Support building the distribution .tar file on platforms with limited
...
argument list length. This requires Gnu-tar. As we use the non-standard
"tardy" software anyway, it doesn't hurt too much to require Gnu-tar.
"make dist" will probably only be used by team-members anyway.
2002-06-12 12:26:34 +00:00
Ben Laurie
d15711efc6
Handle read errors.
2002-06-11 12:41:37 +00:00
Ben Laurie
25ace3ed25
Fix warnings.
2002-06-11 12:03:51 +00:00
Bodo Möller
012c86ab74
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:41:18 +00:00
Bodo Möller
458c29175e
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:18:21 +00:00
Bodo Möller
8a5dbb0a2e
fix for 'make update'
2002-06-10 11:46:32 +00:00
Bodo Möller
532203cdb0
remove unnecessary calls to EC_POINT_copy()
2002-06-10 11:02:55 +00:00
Lutz Jänicke
870d3d5595
Make sure that flags are passed to "make" subprocesses.
2002-06-10 08:10:32 +00:00
Bodo Möller
c6c0e4cb32
fix memory leak
...
Submitted by: Nils Larsch
2002-06-06 10:33:05 +00:00
Lutz Jänicke
8f6f347848
For the main directory, Makefile.org is significant :-)
2002-06-06 10:21:04 +00:00
Lutz Jänicke
0f7b63c834
Make sure that settings are passed back and forth when walking around
...
in the tree during build.
Reinstall default PERL settings in Makefiles, as the real reason for the
failure was that the settings were not passed.
2002-06-06 10:16:59 +00:00
Lutz Jänicke
345731731a
New OID for X509 usage: pseudonym
...
Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de >
Reviewed by: Lutz Jaenicke
PR: 83
2002-06-06 07:33:00 +00:00
Richard Levitte
b2c04539a1
Merge from 0.9.7-stable.
2002-06-06 07:22:33 +00:00
Richard Levitte
d13363af60
Make perl replacement for dirname, for system that lack the latter.
...
PR: 81
2002-06-05 14:10:59 +00:00
Richard Levitte
b6fc2386f0
It's not good to have a pointer point at something in an inner block.
...
PR: 66
2002-06-05 13:47:29 +00:00
Richard Levitte
9f353dd662
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
...
PR: 77
2002-06-05 11:58:29 +00:00
Richard Levitte
b49053cae2
Documentation bug corrected.
...
PR: 70
2002-06-05 09:31:05 +00:00
Richard Levitte
c8062c3a5e
Since there's no continuation, the ; can go as well :-)
2002-06-05 09:08:41 +00:00
Lutz Jänicke
05c08fc708
There is no continuation at this point.
2002-06-05 08:00:36 +00:00
Lutz Jänicke
0990a0851a
On some systems the default "perl" may still be perl4, use the correct
...
version determined by "config" instead.
2002-06-05 07:28:07 +00:00
Lutz Jänicke
bb0db9c491
The correct PERL interpreter is passed via commandline.
2002-06-05 07:03:17 +00:00
Richard Levitte
966a753997
Update the recognision of GCC version numbers to handle the prefix text
...
that GCC 3.1 adds to the --version output
2002-06-05 05:00:51 +00:00
Richard Levitte
0f829bd111
make update (including adjusting libeay.num in HEAD to the changes in the
...
0.9.7-stable libeay.num
2002-06-04 22:32:44 +00:00
Lutz Jänicke
a5200a1b8f
Typo.
...
PR: 72
2002-06-04 20:43:10 +00:00
Richard Levitte
6631a7e7f1
use sstrsep() to get the proper type to aoti().
...
Remove unneeded cast in ustrsep().
PR: 69
2002-06-03 15:27:46 +00:00
Lutz Jänicke
010da5c015
0.9.7-beta1 is just being released.
2002-06-01 15:33:36 +00:00
Richard Levitte
fbb56e5b1d
Document the AES changes.
2002-05-31 13:16:10 +00:00
Richard Levitte
78055aa6a5
Add the AES test vectors from NIST document SP800-38A.
2002-05-31 13:13:43 +00:00
Richard Levitte
e6bd5e8a6d
Make it possible to give vectors only for decryption or encryption.
2002-05-31 13:12:49 +00:00
Richard Levitte
94f1b50c0f
For CFB and OFB modes, always create the encryption key.
2002-05-31 13:11:44 +00:00
Richard Levitte
bd54d55c1d
Declare the CFB and OFB modes for AES, and prepare for a declaration
...
of CTR mode.
2002-05-31 13:08:53 +00:00
Richard Levitte
09c70c3261
In CFB mode, the iv is always encrypted.
2002-05-31 13:07:39 +00:00
Richard Levitte
1ed0c6621b
Reformat the CFLAG string so it can be made part of a C string.
...
Incidently, this works pretty well on the command line as well.
PR: 52
2002-05-30 18:06:35 +00:00
Richard Levitte
5f8453587e
Support the newly release gcc 3.1 on 64-bit Solaris. Not automatic.
...
PR: 57
2002-05-30 17:28:16 +00:00
Richard Levitte
d6e2d12c74
Support shared libraries properly on linux-sparcv[89].
...
PR: 60
2002-05-30 17:07:38 +00:00
Richard Levitte
305a1afcf7
a B< that wasn't properly ended.
2002-05-30 16:55:15 +00:00
Richard Levitte
9cdf87f194
Check the return values where memory allocation failures may happen.
...
PR: 49
2002-05-30 16:47:45 +00:00
Richard Levitte
a81e9d3dc4
CAformat should not be used for CA key format.
2002-05-30 16:24:18 +00:00
Richard Levitte
6b7e0a9987
Make sure that MS_STATIC isn't defined to 'static' under Win32.
...
PR: 51
2002-05-30 15:44:54 +00:00
Richard Levitte
8b57fb1208
pod2man.pl would only remove the first LF from the name.
2002-05-30 15:30:17 +00:00
Richard Levitte
2962243d19
Apparently, there are still chances we have to deal with buggy pod2man versions.
...
Deal with that by testing any available pod2man and using it if appropriate,
and falling back to util/pod2man.pl if none was found.
2002-05-30 15:19:43 +00:00
Richard Levitte
dbdc5d14d3
Correct AES counter mode, which incorrectly incremented the counter before
...
using it.
PR: 56
2002-05-30 14:06:06 +00:00
Bodo Möller
6cbe638294
New functions EC_POINT_point2bn(), EC_POINT_bn2point(), EC_POINT_point2hex(), EC_POINT_hex2point()
...
Submitted by: Nils Larsch
2002-05-30 13:16:03 +00:00
Richard Levitte
07c08ed42c
Correct darwin shared library support.
...
PR: 39
2002-05-30 12:16:33 +00:00
Richard Levitte
17b226a672
Some shlib extensions were in the wrong field
2002-05-30 10:49:52 +00:00
Richard Levitte
f33ca23e2f
Our copy of pod2man.pl is old and comparatively broken, so lets remove it.
...
PR: 30
2002-05-30 10:18:13 +00:00
Richard Levitte
6d79659dd7
Add more warnings for my debug targets.
2002-05-30 09:40:46 +00:00
Richard Levitte
c56fb0f1a3
Remove the duplicate description of -out.
...
PR: 28
2002-05-30 06:24:35 +00:00
Dr. Stephen Henson
08241a5814
Make i2c_ASN1_BIT_STRING return the correct length.
2002-05-29 23:14:01 +00:00
Richard Levitte
3d27b1fa85
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
...
PR: 58, submitted by andrew@cis.uoguelph.ca
2002-05-29 21:00:08 +00:00
Richard Levitte
6298bf9073
There is a chance that the input string is larger than size, and on VMS,
...
this wasn't checked and could possibly be exploitable (slim chance, but still)
2002-05-29 08:31:39 +00:00
Lutz Jänicke
9a26adf598
Remove item listed twice <kromJx@crosswinds.net>.
2002-05-28 17:48:54 +00:00
Ulf Möller
64ad04eb2d
Cygnus correction. (I thought I had tested that...)
2002-05-27 19:42:30 +00:00
Bodo Möller
349b293353
fix Cygwin (remove extra colons)
2002-05-24 20:39:31 +00:00
Ulf Möller
fd91256316
Use assembler implementations with Cygwin.
...
This also fixes the bn_sub_part_word problem.
2002-05-24 20:24:38 +00:00
Richard Levitte
a9a025d08c
Recover from errors
2002-05-23 23:31:22 +00:00
Richard Levitte
b605e3ada3
make update
2002-05-23 13:52:57 +00:00
Richard Levitte
02cbedc387
Make sure short aliases are used where required.
2002-05-23 13:52:36 +00:00
Richard Levitte
e5d814d040
Define a short alias for another long EC symbol.
2002-05-23 13:34:38 +00:00
Richard Levitte
b09f4fb271
Make sure ECDSA is built and tested on VMS.
...
Avoid loops if linking an application fails.
2002-05-23 13:33:55 +00:00
Richard Levitte
1f4eada3b4
Make sure ECDSA is built and tested on VMS.
2002-05-23 13:33:08 +00:00
Richard Levitte
b935754cb0
Allow the use of the TCP/IP stack keyword TCPIP and NONE
2002-05-22 11:37:20 +00:00
Richard Levitte
396bc53593
Use OPENSSL_SYS_VMS instead of just VMS
2002-05-22 11:35:45 +00:00
Bodo Möller
7711de24f9
accept NULL in 'free' functions
2002-05-21 08:59:57 +00:00
Dr. Stephen Henson
eee6c81af8
Reorganise -subj option code, fix buffer overrun.
2002-05-19 16:31:10 +00:00
Dr. Stephen Henson
b89670ef0e
Fix Mingw32 asm build: use the Unix
...
bignum assembly method of bn-586.pl
and co-586.pl which (for some reason)
VC++ doesn't use.
2002-05-19 12:03:05 +00:00
Dr. Stephen Henson
0fccb00b5b
Add missing EVP_CIPHER_CTX_init call.
2002-05-18 23:43:10 +00:00
Lutz Jänicke
72da660ddb
Fix incorrect =over 4 location.
...
Submitted by: David Waitzman <djw@bbn.com >
Reviewed by: Lutz Jaenicke
PR: [openssl.org #38 ]
2002-05-16 17:45:37 +00:00
Bodo Möller
46ffee4792
fix EVP_dsa_sha macro
...
Submitted by: Nils Larsch
2002-05-16 12:51:18 +00:00
Lutz Jänicke
c0a953650b
Use the indirect way to the actual request tracker, so that people
...
also are informed about the credentials required for guest access
and the operation instructions.
2002-05-16 10:01:53 +00:00
Bodo Möller
0424fe1a8f
update
2002-05-16 09:28:09 +00:00
Dr. Stephen Henson
544a2aea4b
Zero cipher_data in EVP_CIPHER_CTX_cleanup
...
Add cleanup calls to evp_test.c
Allow reuse of cipher contexts by removing
automatic cleanup in EVP_*Final().
2002-05-15 18:49:25 +00:00
Bodo Möller
60e5f36d27
make b_print.c consistent with the rest of OpenSSL:
...
disable assert() except for debug builds
2002-05-14 19:40:58 +00:00
Lutz Jänicke
2469361c0f
Add missing '"'
...
Submitted by: Boyd Gerber <gerberb@zenez.com >
2002-05-12 20:37:44 +00:00
Lutz Jänicke
6fa865a325
Recognize PPC64 target.
...
Submitted by:
Reviewed by:
PR: 26
2002-05-12 19:45:51 +00:00
Dr. Stephen Henson
e9ba69631b
EVP_SealFinal should return a value.
2002-05-11 17:37:08 +00:00
Ulf Möller
d80a8d1919
values were reset for no reason.
2002-05-11 09:15:42 +00:00
Ulf Möller
d0ff2a237b
updated Mingw32 instructions.
2002-05-11 09:14:40 +00:00
Dr. Stephen Henson
6e5dd63c77
Add config entry debug-steve-linux-pseudo64. This sets the
...
SIXTY_FOUR bignum library option to use 64 bit operations
on the 32 bit linux platform.
This is very inefficient but it can be used to test some
of the 64 bit logic on a 32 bit platform.
2002-05-10 23:00:43 +00:00
Dr. Stephen Henson
dc014d43af
Fallback to normal multiply if n2 == 8 and dna or dnb is not zero
...
in bn_mul_recursive.
This is (hopefully) what was triggering bignum errors on 64 bit
platforms and causing the BN_mod_mul test to fail.
2002-05-10 22:18:13 +00:00
Dr. Stephen Henson
2f9cf160e4
Avoid gcc warning: BN_DEC_CONV when SIXTY_FOUR_BIT is defined is unsigned.
2002-05-10 22:07:37 +00:00
Richard Levitte
336c35dc9e
Updating status for 0.9.6d
2002-05-09 23:54:02 +00:00
Richard Levitte
72b5215645
Synchronise the FAQ
2002-05-09 23:41:40 +00:00
Richard Levitte
06bed64317
Make the huge buffer smaller, so the size becomes reasonable for small-stack environments.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 20:14:00 +00:00
Richard Levitte
c559759265
One place where VMS wasn't changed to OPENSSL_SYS_VMS...
2002-05-09 18:27:06 +00:00
Richard Levitte
b4000e8ad8
Move an assert() to avoid core dumps when a static buffer hasn't been given.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 18:19:21 +00:00
Richard Levitte
21d5ed98d5
Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex.
...
Notified by Stella Power <snpower@maths.tcd.ie >.
PR: 24
2002-05-08 15:20:38 +00:00
Richard Levitte
e9a182fa30
Generate an error if rewinding wasn't possible.
...
Notified by Ken Hirsch <kenhirsch@myself.com >.
PR: 23
2002-05-08 15:12:59 +00:00
Bodo Möller
b6db386ffd
Change internals of the EC library so that the functions
...
EC_GROUP_{set_generator,get_generator,get_order,get_cofactor} are
implemented directly in crypto/ec/ec_lib.c and not dispatched to
methods.
Also fix EC_GROUP_copy to copy the NID.
2002-05-08 11:54:24 +00:00
Lutz Jänicke
2c975b501d
Add missing ";" after fi
...
Submitted by: bryanh@giraffe-data.com
Reviewed by:
PR: [openssl.org #18 ]
2002-05-07 15:35:48 +00:00
Bodo Möller
279fe3b1c5
in SignerInfo, use ecdsa-with-SHA1 OID for ECDSA (not ecPublicKey)
...
Submitted by: Nils Larsch
2002-05-07 15:14:12 +00:00
Bodo Möller
98a9092af1
Fix ciphersuite list to enforce low priority for RC4.
2002-05-07 08:36:26 +00:00
Bodo Möller
87108f5af9
ensure that, for each strength, RC4 ciphers have least preference
...
in the default ciphersuite list
2002-05-07 07:59:35 +00:00
Bodo Möller
f257d984b7
refer to latest draft for AES ciphersuites
2002-05-07 07:55:36 +00:00
Bodo Möller
b889d6a8e8
fix warning
2002-05-06 10:44:59 +00:00
Bodo Möller
47234cd3d2
update
2002-05-05 23:47:46 +00:00
Bodo Möller
2c8d0dccfc
improve wNAF generation
2002-05-05 23:45:09 +00:00
Bodo Möller
a4f576a378
disable AES ciphersuites unless explicitly requested
2002-05-05 23:44:27 +00:00
Bodo Möller
3def5a010e
fix casts
2002-05-05 23:00:28 +00:00
Richard Levitte
294bd1e2f3
Make sure that date is run under the C locale, so dates are given in the
...
default format.
PR: 16
2002-05-02 08:05:46 +00:00
Dr. Stephen Henson
253ef2187c
Add apps_startup and bio_err init code to smime.c
2002-05-01 20:07:46 +00:00
Lutz Jänicke
c0455cbb18
Fix escaping when using the -subj option of "openssl req", document
...
'hidden' -nameopt support. (Robert Joop <joop@fokus.gmd.de >)
2002-04-30 12:08:18 +00:00
Lutz Jänicke
17e2c77a77
Add information about -nameopt option for x509.
2002-04-29 16:01:41 +00:00
Bodo Möller
b52f3818f4
undo nonsense patch (r *is* signed or we have signedness mismatches elsewhere)
2002-04-29 11:03:06 +00:00
Richard Levitte
cc12975514
Fix unsigned vs. signed clash
2002-04-29 10:29:38 +00:00
Richard Levitte
9738f395c6
Synchronise with 0.9.7-stable.
2002-04-29 10:28:29 +00:00
Richard Levitte
d4294c8984
Synchronise with 0.9.7-stable.
2002-04-29 10:19:19 +00:00
Bodo Möller
8df61b5011
Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not
...
encoded as NULL) with id-dsa-with-sha1.
Submitted by: Nils Larsch
2002-04-26 08:28:34 +00:00
Lutz Jänicke
f1e6643751
Add generationQualifier OID (proposed by Fiel Cabral).
2002-04-25 18:03:13 +00:00
Richard Levitte
6991bf196c
Potential memory leak removed. Notified by <threaded@totalise.co.uk>
2002-04-25 10:11:21 +00:00
Bodo Möller
822a4c1bdb
new items for 0.9.7
2002-04-25 07:52:07 +00:00
Bodo Möller
a5868b3fe2
oops
2002-04-25 07:46:35 +00:00
Bodo Möller
4edfacb983
AlgorithmIdentifier bugs
2002-04-25 06:29:27 +00:00
Bodo Möller
c6efe6f59e
fix usage (no 'key')
2002-04-23 13:56:14 +00:00
Richard Levitte
35c2b3a9ac
Uhmmm, if we use && after having tested for the presence of the certificate,
...
we just *might* stand a certain chance of actually getting it written
to file...
2002-04-23 13:15:08 +00:00
Lutz Jänicke
af9675e75a
ERR_file_name is no longer being used.
2002-04-22 13:54:50 +00:00
Lutz Jänicke
8b2f9cdfad
Add cygwin build script (Corinna Vinschen <vinschen@redhat.com>).
2002-04-21 17:54:03 +00:00
Richard Levitte
01682a8b3c
Make sure ec and ecdsa is properly handled in Windows.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:23:56 +00:00
Richard Levitte
8b07f23c30
Signedness mismatch.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:23:19 +00:00
Richard Levitte
45932ad508
The callback must have (void) as argument list.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:22:42 +00:00
Richard Levitte
ce94682ce1
No point constifying an int.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:22:01 +00:00
Richard Levitte
2d7ab7e9ea
Do not free p if it hasn't been used yet.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:19:20 +00:00
Richard Levitte
6176df94ed
Make sure the opened directory is closed on exit.
...
Notified by Lorinczy Zsigmond <lzsiga@mail.ahiv.hu >
2002-04-18 16:20:13 +00:00
Lutz Jänicke
a8f8788248
Missing "Configure" entry (Jean-Marc Desperrier <jean-marc.desperrier@certplus.com>).
2002-04-18 12:47:50 +00:00
Lutz Jänicke
d5d007abe3
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
2002-04-18 11:54:06 +00:00
Lutz Jänicke
151457ab16
Handle headings uniformly to allow automatic processing.
2002-04-18 08:11:31 +00:00
Bodo Möller
dde3e83129
'version' is not optional in the encoding
...
Submitted by: Nils Larsch
2002-04-17 11:35:52 +00:00
Bodo Möller
8f182fdc69
'version' is not optional in the encoding
...
Submitted by: Nils Larsch
2002-04-17 11:31:20 +00:00
Bodo Möller
1064acafc4
check return values
...
Submitted by: Nils Larsch
2002-04-17 09:31:34 +00:00
Bodo Möller
ff8e412ceb
get rid of some assignments that have become obsolete
2002-04-15 15:29:43 +00:00
Lutz Jänicke
e9cbcb1d98
Document OID changes.
2002-04-15 14:18:30 +00:00
Lutz Jänicke
ea7fc0311c
Use the "mail" short name according to RFC2798 (Michael Bell
...
<michael.bell@rz.hu-berlin.de >).
2002-04-15 13:30:41 +00:00
Lutz Jänicke
30911232c1
Some more OID enhancements.
2002-04-15 10:41:38 +00:00
Lutz Jänicke
2940a1298e
Fix CRLF problem in BASE64 decode.
2002-04-15 09:55:40 +00:00
Bodo Möller
f916052eab
remove disabled code
2002-04-14 13:28:17 +00:00
Bodo Möller
2fb3f002d0
fix length field we create when converting SSL 2.0 format into SSL 3.0/TLS 1.0 format
...
(the bug was introduced with message callback support)
2002-04-14 13:05:15 +00:00
Bodo Möller
82b0bf0b87
Implement known-IV countermeasure.
...
Fix length checks in ssl3_get_client_hello().
Use s->s3->in_read_app_data differently to fix ssl3_read_internal().
2002-04-13 22:47:20 +00:00
Richard Levitte
3a7cef3e76
Avoid emacs backup files when making a snapshot
2002-04-13 12:28:44 +00:00
Ulf Möller
592c0e0273
another error discovered by Karsten Braaten. The number was not even
...
prime!
2002-04-13 09:58:50 +00:00
Bodo Möller
08b977b5a5
looks like a typo
2002-04-12 13:52:40 +00:00
Bodo Möller
85fb12d554
clean up and synchronize with 0.9.6-stable
2002-04-12 13:45:29 +00:00
Bodo Möller
b975183c41
ECDSA representation bugfixes
...
Submitted by: Nils Larsch
2002-04-12 08:57:01 +00:00
Richard Levitte
083100e2ab
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:13:58 +00:00
Richard Levitte
241d2ba1da
Change the date to XX xxx XXXX in development versions.
2002-04-11 21:51:40 +00:00
Lutz Jänicke
e4fb49775b
Synchronize with 0.9.7-stable.
2002-04-11 18:43:52 +00:00
Lutz Jänicke
381a146dc6
Synchronize with 0.9.7-stable branch
2002-04-10 19:52:40 +00:00
Lutz Jänicke
b4a262832a
Keep my own specially optimized HP-UX shared library building up to date.
2002-04-10 12:35:45 +00:00
Bodo Möller
6d498d478e
harmonize capitalization
2002-04-09 12:42:47 +00:00
Bodo Möller
d0561b5c2d
fix ECDSA handling
...
Submitted by: Nils Larsch
2002-04-09 12:01:21 +00:00
Bodo Möller
4f4b192402
add usage examples
2002-04-09 11:54:24 +00:00
Lutz Jänicke
0ae1661ba2
Apply OID fixes for elliptic curves as supplied by
...
Nils Larsch <nlarsch@compuserve.de >.
2002-04-08 15:49:53 +00:00
Ulf Möller
4e9ef338fc
error reported by Karsten Braaten
2002-04-07 13:33:16 +00:00
Richard Levitte
d16e1131b4
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 20:22:48 +00:00
Richard Levitte
a18894d159
make update (libeay.num has been edited to match 0.9.7-stable)
2002-04-06 19:16:12 +00:00
Richard Levitte
dfee50ecd9
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 19:00:50 +00:00
Richard Levitte
10189984f9
Oops, the system macro for VMS is OPENSSL_SYS_VMS, not VMS
2002-04-06 11:58:04 +00:00
Richard Levitte
d8425465a3
Recognise DEC C++ as equivalent to DEC C for the definitions of OPENSSL_EXTERN and OPENSSL_GLOBAL.
...
Submitted by Compaq.
2002-04-06 11:37:18 +00:00
Richard Levitte
1fc02dcf6a
Use recv() and send() for socket communication on VMS instead of read()
...
and write(). The reason is that read() and write() make additional record
level locking which causes hangs of Compaq Secure Web Server (Apache) with
SSL.
Submitted by Compaq.
2002-04-06 11:35:49 +00:00
Richard Levitte
83d092f785
Make shared libraries resolve global symbols within themselves first.
...
Currently only on GNUish linkers...
Submitted by Steven Bade <sbade@austin.ibm.com >
2002-04-06 09:42:19 +00:00
Lutz Jänicke
4825092bbe
Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).
2002-04-04 17:48:37 +00:00
Richard Levitte
bbd79bdf03
Forgot one of the casts
2002-04-03 15:01:28 +00:00
Richard Levitte
a096e9b719
Cast the pointers to the BIGNUM data to unsigned long *. This would be
...
harmful if we didn't also pass the exact number of bytes of that data
2002-04-03 14:47:38 +00:00
Richard Levitte
ddab25a90d
Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.
...
Furthermore, make SO_MAXCONN the first choice, since that's the standard
(as far as I know).
2002-03-29 23:48:55 +00:00
Lutz Jänicke
ffbe98b763
Make short names of objects RFC2256-compliant.
2002-03-26 17:18:48 +00:00
Richard Levitte
d7a9bb0a2a
A forgotten file
2002-03-26 16:42:38 +00:00
Richard Levitte
0d81c69b8e
Add the possibility to enable olde des support, not just disable it, for future support. Redocument
2002-03-26 14:28:04 +00:00
Richard Levitte
401cd0af0f
Add the mapping of des_random_seed() for 0.9.6 compatibility.
...
Make sure DES_cblock is defined at all times (meaning one shouldn't include
openssl/des_old.h directly any more).
2002-03-26 13:59:22 +00:00
Richard Levitte
c7b41e67f0
Correct the mapping for des_read_pw()
2002-03-26 13:54:15 +00:00
Richard Levitte
003144a8e8
Make the change to strong keys in the string to key(s) functions experimental in the main trunk as well
2002-03-26 12:44:35 +00:00
Bodo Möller
af1cb47e65
fix warnings
...
Submitted by: Nils Larsch
2002-03-25 23:41:32 +00:00
Bodo Möller
e8e7fbdb16
fix memory leak
...
Submitted by: Nils Larsch
2002-03-25 23:18:11 +00:00
Bodo Möller
d5c21afd4b
add missing declaration
...
Submitted by: Nils Larsch
2002-03-25 23:15:21 +00:00
Lutz Jänicke
1afa967909
Fix typo (Craig Davison <cd@securityfocus.com>).
2002-03-25 17:12:24 +00:00
Bodo Möller
85b7b80434
fix conditational compilation for OPENSSL_NO_...
2002-03-22 11:02:13 +00:00
Richard Levitte
fe0f662310
Merge changes from 0.9.7-stable
2002-03-22 10:51:41 +00:00
Richard Levitte
90453438ff
Merge changes from 0.9.7-stable
2002-03-22 10:32:23 +00:00
Richard Levitte
2e63f3b733
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:49:46 +00:00
Richard Levitte
125cc35b59
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:42:57 +00:00
Lutz Jänicke
7e58aa7d71
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
2002-03-21 19:16:02 +00:00
Lutz Jänicke
be3d90de02
Remove superflous (and buggy) statement <justin.fletcher@ntlworld.com>.
2002-03-21 19:08:35 +00:00
Bodo Möller
82652aaf17
fix DH_generate_parameters for general 'generator'
2002-03-20 16:04:04 +00:00
Bodo Möller
17d6bb8158
New function EC_GROUP_check_discriminant().
...
Restructure implementation of EC_GROUP_check().
Submitted by: Nils Larsch
2002-03-20 10:18:07 +00:00
Lutz Jänicke
11c26ecf81
Map new X509 verification errors to alert codes (Tom Wu <tom@arcot.com>).
2002-03-19 16:42:09 +00:00
Bodo Möller
99d5b23023
Fix typo.
...
Submitted by: Nils Larsch
2002-03-19 09:51:31 +00:00
Dr. Stephen Henson
611ba3f4a1
Initialize ciph_ctx in kssl.c
2002-03-19 01:28:00 +00:00
Bodo Möller
af28dd6c75
Fix bugs and typos.
...
Add some WTLS curves.
New function EC_GROUP_check() (this will probably
be implemented differently soon).
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-03-18 13:10:45 +00:00
Bodo Möller
e79ec456be
fix #include position
...
Submitted by: Nils Larsch
2002-03-18 13:05:20 +00:00
Dr. Stephen Henson
3e268d2717
Ensure EVP_CipherInit() uses the correct encode/decode parameter if
...
enc == -1
[Reported by Markus Friedl <markus@openbsd.org >]
Fix typo in dh_lib.c (use of DSAerr instead of DHerr).
2002-03-16 23:20:05 +00:00
Bodo Möller
c46acbacde
Rename 'cray-t90-cc' into 'cray-j90'.
...
Add to 'config'.
2002-03-15 16:46:41 +00:00
Bodo Möller
304d90425f
fix ssl3_pending
2002-03-15 10:52:32 +00:00
Lutz Jänicke
bfaa8a89e1
Add missing strength entries.
2002-03-14 18:53:15 +00:00
Dr. Stephen Henson
de941e289e
Initialize cipher context in KRB5
...
("D. Russell" <russelld@aol.net >)
Allow HMAC functions to use an alternative ENGINE.
2002-03-14 18:22:23 +00:00
Bodo Möller
1d28453529
add OIDs for WAP/TLS curves
2002-03-14 13:18:57 +00:00
Bodo Möller
690ecff795
Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.
...
Fix dsaparam usage output.
Submitted by: Nils Larsch
2002-03-14 09:52:03 +00:00
Bodo Möller
234c73767d
use BIO_nwrite() more properly to demonstrate the general idea of
...
BIO_nwrite0/BIO_nwrite (the previous code was OK for BIO pairs but not
in general)
2002-03-14 09:48:54 +00:00
Dr. Stephen Henson
497810cae7
Undo previous patch: avoid warnings by #undef'ing
...
duplicate definitions.
Suggested by "Kenneth R. Robinette" <support@securenetterm.com >
2002-03-13 13:59:38 +00:00
Dr. Stephen Henson
cbc9d9713d
Fix Kerberos warnings with VC++.
2002-03-12 19:37:18 +00:00
Dr. Stephen Henson
98fa4fe8c5
Fix ASN1 additions for KRB5
2002-03-12 13:32:35 +00:00
Dr. Stephen Henson
0b4c91c0fc
Fix various warnings when compiling with KRB5 code.
2002-03-12 02:59:37 +00:00
Bodo Möller
b9b43196e1
asm/mips3.o problems
2002-03-11 09:36:04 +00:00
Dr. Stephen Henson
bf6a9e66d6
Make ciphers and digests obtain an ENGINE functional reference
...
if impl is explicitly supplied.
2002-03-09 18:58:05 +00:00
Dr. Stephen Henson
0c372b94f7
Make {RSA,DSA,DH}_new_method obtain and release an ENGINE
...
functional reference in all cases.
2002-03-09 18:25:03 +00:00
Dr. Stephen Henson
26e1237380
Fix the Win32_rename() function so it correctly
...
returns an error code. Use the same code in Win9X
and NT.
Fix some ca.c options so they work under Win32:
unlink/rename wont work under Win32 unless the file
is closed.
2002-03-08 19:11:15 +00:00
Bodo Möller
4882171df5
EC curve stuff
...
Submitted by: Nils Larsch
2002-03-08 11:10:40 +00:00
Richard Levitte
931627e6a0
Synchronise the AEP engine in all branches. For 0.9.6-stable [engine], implement software fallback
2002-03-07 19:38:59 +00:00
Richard Levitte
274a2c9970
When closing, do not use close(). Also, if the closing call fails, do
...
not return immediately since that leaves a locked lock.
2002-03-07 17:13:30 +00:00
Richard Levitte
006fcc22a8
Change des_old.c to use types prefixed with _ossl_old_des_.
2002-03-07 15:41:36 +00:00
Bodo Möller
709c51c424
fix spacing
2002-03-07 12:21:31 +00:00
Bodo Möller
9bc448546e
Add more curves.
...
Submitted by: Nils Larsch
Remove unnecessary 'const'.
2002-03-07 12:14:03 +00:00
Dr. Stephen Henson
0dc092334b
ENGINE module additions.
...
Add "init" command to control ENGINE
initialization.
Call ENGINE_finish on initialized ENGINEs on exit.
Reorder shutdown in apps.c: modules should be shut
down first.
Add test private key loader to openssl ENGINE: this
just loads a private key in PEM format.
Fix print format for dh length parameter.
2002-03-06 14:15:13 +00:00
Bodo Möller
36c194638e
add SECG OIDs
...
Submitted by: Nils Larsch
2002-03-06 13:47:32 +00:00
Bodo Möller
45fb737950
reference counting for EC_GROUP structures is not needed (at the
...
moment at least), so remove it
2002-03-06 09:46:17 +00:00
Richard Levitte
a01273bae3
OpenSSL currently fails on certain pure 64-bit architectures. This is a showstopper
2002-03-06 06:25:31 +00:00
Bodo Möller
2c17323e15
Rephrase statement on the security of two-key 3DES.
...
[Chosen plaintext attack: R. Merkle, M. Hellman: "On the Security of
Multiple Encryption", CACM 24 (1981) pp. 465-467, p. 776.
Known plaintext angriff: P.C. van Oorschot, M. Wiener: "A
known-plaintext attack on two-key triple encryption", EUROCRYPT '90.]
2002-03-05 15:29:30 +00:00
Bodo Möller
870694b3da
fix 'ecdsaparam -C'
2002-03-05 15:17:17 +00:00
Bodo Möller
87a4b4d1f4
fix printf call
2002-03-05 15:05:00 +00:00
Bodo Möller
8ecf5104b3
typo
2002-03-05 14:58:53 +00:00
Bodo Möller
2b3aeffbbd
fix 'ecdsaparam -C' output
...
Submitted by: Nils Larsch
2002-03-05 14:56:17 +00:00
Dr. Stephen Henson
2c2f9e2cc3
Make sure the type accessed by the LONG and ZLONG ASN1 type
...
is really a long, to avoid problems on platforms where
sizeof(int) != sizeof(long).
2002-03-05 13:48:51 +00:00
Bodo Möller
2d9b1b3ffa
more X9.62 OIDs
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-03-05 12:39:19 +00:00
Bodo Möller
f070480275
disable '#ifdef DEBUG' code
2002-03-05 12:37:35 +00:00
Richard Levitte
49f1597de2
Provide a pre 0.9.7 compatibility mapping if
...
OPENSSL_DES_PRE_0_9_7_COMPATIBILITY is defined. NOT AT ALL TESTED YET!
Add a comment as to the libdes compatibility.
2002-03-05 11:26:03 +00:00
Richard Levitte
b44e425f39
New configuration targets for OpenBSD, handed to me by Bob Beck <beck@openbsd.org>
2002-03-05 09:43:18 +00:00
Bodo Möller
93683c3cf8
'#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change
2002-03-05 09:07:16 +00:00
Richard Levitte
a08ee55e2d
Typo. In DCL, the continuation character is a dash at the end of the
...
line, which I forgot when spliting one.
2002-03-04 18:07:59 +00:00
Richard Levitte
3bac6d9479
Rename des_SPtrans to DES_SPtrans to differentiate from libdes and avoid certain linkage clashes.
2002-03-04 16:08:13 +00:00
Richard Levitte
5c5143de48
Make it so one can select tests from within the test directory
2002-03-04 15:58:38 +00:00
Dr. Stephen Henson
c8cd7d9e0f
Fix warnings about signed/unsigned mismatch and global
...
shadowing (random, index) in hw_4758_cca.c
2002-03-03 17:08:20 +00:00
Richard Levitte
e0a6cdcf30
This change was only made in 0.9.7-stable. Synchronise
2002-03-03 01:25:21 +00:00
Richard Levitte
a0ecb9b8fc
Remove the perl/ subdirectory. It hasn't been worked on for ages, is
...
very broken, and there are working modules in CPAN, which makes our
module even more moot.
2002-02-28 22:07:50 +00:00
Richard Levitte
4bf4bc784f
make update
2002-02-28 20:29:20 +00:00
Bodo Möller
9437fef8cc
use ERR_peek_last_error() instead of ERR_peek_error()
2002-02-28 14:07:37 +00:00
Bodo Möller
16b0384bd2
use ERR_peek_last_error() instead of ERR_peek_error() to ignore
...
any other errors that may be left in the error queue
Submitted by: Jeffrey Altman
2002-02-28 14:05:13 +00:00
Richard Levitte
87ebdd8a71
VMS addaptation, including a few more long names that needed hacking.
2002-02-28 13:17:40 +00:00
Richard Levitte
7d68189d8a
Make sure aep_close_connection() is declared and has a prototype that's
...
consistent with the rest of the AEP functions
2002-02-28 12:58:43 +00:00
Richard Levitte
26414ee013
Increase internal security when using strncpy, by making sure the resulting string is NUL-terminated
2002-02-28 12:42:19 +00:00
Richard Levitte
5c62f68e14
Updated AEP engine, submitted by Diarmuid O'Neill <Diarmuid.ONeill@aep.ie>
2002-02-28 11:36:38 +00:00
Richard Levitte
0d22b5dace
Document the added modes for AES
2002-02-28 11:29:55 +00:00
Bodo Möller
023ec151df
Add 'void *' argument to app_verify_callback.
...
Submitted by: D. K. Smetters <smetters@parc.xerox.com >
Reviewed by: Bodo Moeller
2002-02-28 10:52:56 +00:00
Bodo Möller
59dbdb51dc
disable '#ifdef DEBUG' sections
2002-02-28 10:51:56 +00:00
Geoff Thorpe
92d1bc09cb
This adds a new ENGINE to support IBM 4758 cards, contributed by Maurice
...
Gittens.
2002-02-27 22:55:28 +00:00
Lutz Jänicke
d62bfb39cd
Fix the fix (Yoram Zahavi)...
2002-02-27 11:23:05 +00:00
Lutz Jänicke
ce4b274aa1
SSL_clear != SSL_free/SSL_new
2002-02-27 08:08:57 +00:00
Lutz Jänicke
334f1842fc
Make sure to remove bad sessions in SSL_clear() (found by Yoram Zahavi).
2002-02-26 21:40:09 +00:00
Dr. Stephen Henson
b12540520d
Always init ctx_tmp in PKCS7_dataFinal since it is always cleaned up.
2002-02-26 19:33:24 +00:00
Richard Levitte
0d7b9b8b7e
make update, after moving around symbols in libeay.num to match
...
0.9.7-stable.
2002-02-26 14:41:29 +00:00
Dr. Stephen Henson
31188ee1a8
Fix new -aes command argument handling
2002-02-26 13:46:55 +00:00
Dr. Stephen Henson
4a3e6bce79
Make the engine config module always add dynamic ENGINEs
...
to the list using dynamic_path. This stops ENGINEs which
don't supply any default algorithms being automatically
freed (because they have no references) and allows them
to be accessed by id.
Alternative dynamic loading behaviour can be achieved by
issuing the dynamic ENGINE ctrls separately in the config file.
2002-02-24 16:20:50 +00:00
Dr. Stephen Henson
a3829cb720
Updates from stable branch.
2002-02-23 13:50:29 +00:00
Dr. Stephen Henson
e84be9b495
New OPENSSL_LOAD_CONF define to load openssl.cnf
...
when OpenSSL_add_all_algorithms() is called.
2002-02-23 01:00:44 +00:00
Dr. Stephen Henson
3a3ca3f515
Fix for AIX.
...
Submitted by Dawn Whiteside <dwhitesi@tiercel.uwaterloo.ca >
2002-02-22 21:26:25 +00:00
Dr. Stephen Henson
032c49b8b3
non-Monolith fixes.
...
Submitted by Andrew W. Gray <agray@iconsinc.com >
2002-02-22 21:21:18 +00:00
Dr. Stephen Henson
3208ff58ca
make errors
2002-02-22 21:17:31 +00:00
Dr. Stephen Henson
6707d22a40
Update from stable branch.
2002-02-22 14:07:35 +00:00
Dr. Stephen Henson
3647bee263
Config code updates.
...
CONF_modules_unload() now calls CONF_modules_finish()
automatically.
Default use of section openssl_conf moved to
CONF_modules_load()
Load config file in several openssl utilities.
Most utilities now load modules from the config file,
though in a few (such as version) this isn't done
because it couldn't be used for anything.
In the case of ca and req the config file used is
the same as the utility itself: that is the -config
command line option can be used to specify an
alternative file.
2002-02-22 14:01:21 +00:00
Richard Levitte
e2aebccba1
We have AES support in openssl speed
2002-02-21 17:23:04 +00:00
Bodo Möller
3e563bcea7
disable '#ifdef DEBUG' sections
2002-02-21 13:07:44 +00:00
Dr. Stephen Henson
92f91ff48b
Config file updates from stable branch
2002-02-21 00:54:54 +00:00
Richard Levitte
b3dfaaa143
Add AES support in the applications that support -des and -des3.
2002-02-20 18:03:07 +00:00
Richard Levitte
5b7848a345
Add comfy aliases for AES in CBC mode.
2002-02-20 17:59:49 +00:00
Richard Levitte
915c6a21ba
Stop assuming the IV is 8 bytes long, use the real size instead.
...
This is especially important for AES that has a 16 bytes IV.
2002-02-20 17:55:08 +00:00
Richard Levitte
58706d595b
Including openssl/e_os.h in the OpenSSL 0.9.6 branch is legal, since
...
it's exported. Changing that is a BIG step, which has been done in
0.9.7-dev.
2002-02-20 14:07:07 +00:00
Richard Levitte
236be53269
gcc figures that the format specifier %2x means unsigned int, so let's
...
make n unsigned.
2002-02-20 13:50:36 +00:00
Richard Levitte
1fc1bd382b
Instead of casting a lvalue, let's constify meth.
2002-02-20 13:49:17 +00:00
Richard Levitte
a60033f106
Update the status on 64-bit thingy.
2002-02-20 13:19:59 +00:00
Bodo Möller
3613e6fc57
simplifications
...
Submitted by: Nils Larsch
2002-02-20 13:08:17 +00:00
Bodo Möller
f8e21776f9
typo
2002-02-20 12:38:00 +00:00
Richard Levitte
006723cf76
Add reports on checked 64-bit platforms and make space to add platforms that need to be checked
2002-02-20 12:31:23 +00:00
Richard Levitte
aa89bcd279
With Compaq make, it seems like # inside an action becomes part of the command, not a comment at all
2002-02-20 12:16:17 +00:00
Richard Levitte
f19759a182
Instead of just checking for OpenVMS, check if DEC C is used, since it's as
...
picky on all platforms
2002-02-20 12:01:24 +00:00
Bodo Möller
d009bcbfb6
bugfix: allocate sufficiently large buffer
...
Submitted by: Nils Larsch
2002-02-20 11:59:42 +00:00
Richard Levitte
4b71f63ac0
Comparing a pointer (data) with 0 using > is incorrect. The changed
...
comparison doesn't look right, but at least it compiles. It would be nice
if the one who knows what this is supposed to do changed it to do it correctly
2002-02-20 11:57:33 +00:00
Richard Levitte
3adb8c3854
With Compaq make, it seems like # inside an action becomes part of the command, not a comment at all
2002-02-20 11:43:40 +00:00
Richard Levitte
02e666d59f
Don't shadow already defined variables
2002-02-20 11:42:42 +00:00
Geoff Thorpe
5b2d6ff07e
make update
2002-02-20 08:33:55 +00:00
Geoff Thorpe
877b2fbd3c
A rough little self-test for tunala. This runs through all cipher-suite /
...
SSL/TLS version combinations looking for mishaps.
2002-02-20 05:12:45 +00:00
Geoff Thorpe
afeab58a3c
Make the "ungunk" logic a little more robust.
2002-02-20 05:09:22 +00:00
Geoff Thorpe
744c49a81b
- Add support for cipher suites that require a temporary RSA key for
...
key-agreement.
- Tolerate signal interruptions of select().
2002-02-20 05:02:50 +00:00
Richard Levitte
9c5b91fd0b
Oh, and since config figures out that we run Cygwin and what versions,
...
let's recommend running config instead of a manual Configure.
2002-02-16 22:31:16 +00:00
Richard Levitte
290d3eab76
Since Cygwin is the proper spelling, let's change to that everywhere.
...
Also, with the change in Configure, it now knows on it's own if
threads are supported or not.
2002-02-16 22:28:31 +00:00
Ulf Möller
46dae77c23
Cygwin target name has been changed!
2002-02-16 16:53:25 +00:00
Richard Levitte
a6cd870784
The AES modes OFB and CFB are defined with 128 feedback bits. This
...
deviates from the "standard" 64 bits of feedback that all other
algorithms are using. Therefore, let's redo certain EVP macros to
accept different amounts of feedback bits for these modes.
Also, change e_aes.c to provide all usually available modes for AES.
CTR isn't included yet.
2002-02-16 12:39:07 +00:00
Richard Levitte
97879bcd57
Add the modes OFB128, CFB128 and CTR128 to AES.
...
Submitted by Stephen Sprunk <stephen@sprunk.org >
2002-02-16 12:20:34 +00:00
Richard Levitte
ab1dee1efc
Adjust the NID names for the AES modes OFB and CFB to contain the number
...
of feedback bits
2002-02-16 12:15:30 +00:00
Richard Levitte
e072aa535d
The macro IMPLEMENT_ASN1_FUNCTIONS_const already contains an ending ;,
...
so do not add one after the expansion, since ANSI C doesn't allow ;;
at this level (or at least, so tells me gcc).
2002-02-16 12:03:25 +00:00
Richard Levitte
48f9859d2a
Local time' shadows the global function
time()'. Rename the local
...
variable to `tim' (and, as a matter of consequence, `time_d' to `tim_d').
2002-02-16 12:01:13 +00:00
Richard Levitte
48b5083ca0
Missing #endif
2002-02-16 11:58:16 +00:00
Richard Levitte
cd64618674
gcc chokes on C++ comments in C code.
2002-02-16 11:57:25 +00:00
Richard Levitte
5d7e960adf
Give the linux-sparv9 target shared capability.
...
Submitted by Ian Marsh <mushypea@dominion.net.uk >
2002-02-15 16:22:22 +00:00
Lutz Jänicke
f0d6ee6be8
Even though it is not really practical people should know about it.
2002-02-15 07:41:42 +00:00
Bodo Möller
e65991f977
fix indentation
2002-02-14 16:08:55 +00:00
Richard Levitte
3e83e686ba
Add the configuration target VxWorks.
2002-02-14 15:37:38 +00:00
Bodo Möller
8f06b00373
make it possible to disable memory checking for timings
2002-02-14 14:41:13 +00:00
Bodo Möller
1dea1f4509
'-C' is still quite broken
2002-02-14 14:30:20 +00:00
Bodo Möller
44411db8e0
fix '-C'
2002-02-14 14:25:33 +00:00
Bodo Möller
23ac7a1407
fix memory leak
2002-02-14 14:21:49 +00:00
Bodo Möller
dda640835f
move ECDSA test right after EC test
2002-02-14 14:03:32 +00:00
Bodo Möller
6cc3700314
don't call OPENSSL_config(), this does not make any sense during "make test"
2002-02-14 13:51:20 +00:00
Richard Levitte
cc1489d2f2
Make sure memset() is defined by including string.h
...
Notified by Oscar Jacobsson <oscar@jacobsson.org >
2002-02-14 13:51:04 +00:00
Richard Levitte
016029c69f
For some reason, getting the topmost error was done the same way as
...
getting the bottommost one. I hope I understood correctly how this
should be done. It seems to work when running evp_test in an
environment where it can't find openssl.cnf.
2002-02-14 13:45:26 +00:00
Richard Levitte
516b848286
make update, with libeay.num remade to match the 0.9.7-stable one.
2002-02-14 13:43:30 +00:00
Richard Levitte
c4202285ef
The Cygwin shared extension was shifted.
2002-02-14 13:36:28 +00:00
Richard Levitte
49e045482a
At Corinna Vinschen's request, change CygWin32 to Cygwin
2002-02-14 12:28:24 +00:00
Bodo Möller
d8309efc72
EC_GROUP_get_group_by_name() is now called EC_GROUP_new_by_name()
2002-02-14 10:23:20 +00:00
Ben Laurie
f43acc8a50
Fix warnings.
2002-02-14 09:59:35 +00:00
Richard Levitte
ba47f5c9b0
Correct sh, please
2002-02-14 02:20:34 +00:00
Bodo Möller
4d94ae00d5
ECDSA support
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-02-13 18:21:51 +00:00
Bodo Möller
60d8bae30d
some modifications to named curve support
2002-02-13 17:57:52 +00:00
Richard Levitte
0caec9e8f8
Modify the main trunk version to 0.9.8-dev.
...
0.9.7 now lives in the branch OpenSSL_0_9_7-stable.
2002-02-13 17:46:38 +00:00
Bodo Möller
4f85a2e21e
new locks
2002-02-13 17:25:27 +00:00
Bodo Möller
945e15a253
add support for named curves
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-02-13 17:22:59 +00:00
Richard Levitte
1fe198b6f9
Update the configuration of CygWin32 to use the new capabilities of
...
CygWin 1.3.x, which includes thread and shared library support.
Submitted by Corinna Vinschen <vinschen@redhat.com > and modified a
little bit.
2002-02-13 14:44:33 +00:00
Bodo Möller
78d6603aad
We should implement a countermeasure against the predictable-IV CBC
...
weakness in SSL/TLS
2002-02-13 10:21:25 +00:00
Richard Levitte
7241ae1a0a
Move teh silencer to the right place.
2002-02-13 10:16:37 +00:00
Richard Levitte
5f58d6a5e0
Make link-shard a little bit more efficient. If there are no
...
extensions to link together, there's no point looping at all.
2002-02-13 10:15:05 +00:00
Lutz Jänicke
acfe628b6e
Make removal from session cache more robust.
2002-02-10 12:46:41 +00:00
Bodo Möller
182d8435f0
add a wish
2002-02-09 01:49:53 +00:00
Lutz Jänicke
4de920c91d
Do not store unneeded data.
2002-02-08 15:15:04 +00:00
Richard Levitte
3cd039dd8f
Add notes on the added support for aep and sureware crypto cards in
...
0.9.7.
2002-02-07 22:15:53 +00:00
Richard Levitte
81269a81ee
Remove an unused variable.
2002-02-07 21:55:22 +00:00
Richard Levitte
3537525e00
Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked
...
CRYPTO_LOCK_RAND...
2002-02-07 21:49:21 +00:00
Richard Levitte
d38f3ad1ee
I forgot to include the aep and sureware vendor header files.
2002-02-07 21:43:05 +00:00
Richard Levitte
e083f91497
Because AEP and we used the same AEP_R_ prefix for error reasons,
...
lets change our prefix to AEPHK_R_. Otherwise, we get very mysterious
errors because we happen to redefine AEP_R_OK and AEP_R_GENERAL_ERROR.
2002-02-07 21:12:08 +00:00
Richard Levitte
ba2cad19cf
Add aep and sureware implementations and clean up some error reasons
...
that were never part of the engine framework.
The aep and sureware implementations are taken directly from 0.9.6c
[engine] and have been modified to fit the newer engine framework and
to be possible to build shared libraries of.
The aep implementation has gone through quite a bunch of tests and is
cleaned up (there were some misunderstandings in it about how to use
locks).
The sureware hasn't been tested at all in this incarnation and is
basically a quick hack to get it to compile properly.
2002-02-07 20:44:14 +00:00
Richard Levitte
db0a1efcc9
Certain reasons aren't really part of the engine framework, so let's
...
make them ubsec-specific in the ubsec implementation.
2002-02-07 20:37:55 +00:00
Richard Levitte
9074521458
Generate the individual engines' error strings and macros
...
automatically.
2002-02-07 20:02:49 +00:00
Richard Levitte
f924200e1b
If the intended header file doesn't exist, create it.
2002-02-07 19:23:35 +00:00
Richard Levitte
de2f6e4dae
'make update'
2002-02-05 17:34:58 +00:00
Richard Levitte
44bdb056d4
With the changed des_old API, let's complete the work by renaming the
...
functions in ui_compat. This gave reason to rework that part more
thoroughly, so here are the changes made:
1. Add DES_read_password() and DES_read_2passwords() with the same
functionality as the corresponding old des_ functions, as a
convenience to the users.
2. Add UI_UTIL_read_pw_string() and UI_UTIL_read_pw() with the
functionality from des_read_pw_string() and des_read_pw(), again as
a concenience to the users.
3. Rename des_read_password(), des_read_2passwords(),
des_read_pw_string() and des_read_pw() by changing des_ to
_ossl_old_des_, and add the usual mapping macros.
4. Move the implementation of des_read_password() and
des_read_2passwords() to the des directory, since they are tightly
tied to DES anyway.
This change was inspired by a patch from Assar Westerlund <assar@sics.se >:
There are some functions that didn't get the kick-away-old-des-and-
replace-des-with-DES action. Here's a patch that adds DES_ and des_
(in des_old.h) versions of des_read_pw_string et al. This patch
includes some of the first des_old.h semi-colon macro fixes that I've
already sent.
2002-02-05 17:15:18 +00:00
Richard Levitte
c31bbf1e68
Apply one patch from Assar Westerlund <assar@sics.se>:
...
The following patch makes sure that string2key does not use weak DES
keys (then making them non-weak by xor:ing with 0xF0).
2002-02-05 15:05:42 +00:00
Richard Levitte
5e68f8ce15
Apply three patches from Assar Westerlund <assar@kth.se>:
...
This patch makes the macros in des_old.h actually pretend to be
functions.
There's no reason not to define _ossl_old_crypt when using
PERL5/FreeBSD/darwin/Next, since it makes using crypt and including
des.h break. Here's a trivial patch.
This patch fixes some of the typos used in macro names in des_old.h
and the number of arguments for some of them.
2002-02-05 06:02:58 +00:00
Richard Levitte
b9a3ef4c6e
ASN1_BIT_STRING_set_bit() didn't clear previously set bits
2002-02-03 21:31:41 +00:00
Dr. Stephen Henson
1955b87423
#undef some things that cause a conflict under Win32 when
...
wincrypt.h is included.
2002-02-02 13:19:27 +00:00
Lutz Jänicke
866eedb936
Shut up compiler warnings for inconsistent declarations.
2002-01-29 17:14:50 +00:00
Lutz Jänicke
f701551f36
HP-UX 32bit:
...
* When linking against shared libraries, the absolute path is remembered.
- When linking against -L.., '..' is remembered inside the executable,
so it will fail after "make install" or when not called from inside the
"apps/" subdirectory of the build tree.
- When using the "+cdp" option of "ld", the ".." information can be
exchanged against $(INSTALL_TOP)/lib. In this case the executable
will however refuse to work before "make install" has been called.
This makes testing the 'openssl' executable a problem.
* Solution 1:
Relink the "openssl" executable, when "make install" is called.
This would however require significant changes to the toplevel Makefile
and the apps/ Makefile.
* Solution 2:
Statically link against libssl and libcrypto, so that the "openssl"
executable is no longer dependant on the openssl shared libraries.
Select option 2 for HP-UX 32bit, as this requires the smallest change.
2002-01-29 16:32:40 +00:00
Lutz Jänicke
adc4df3616
Make SHLIB_TARGET available in subdirs (here: apps/)
2002-01-29 16:20:08 +00:00
Richard Levitte
1199e2d8cf
Apply patch from Toomas Kiisk <vix@cyber.ee> and complete it.
2002-01-29 12:36:01 +00:00
Lutz Jänicke
0f180d1d1d
Superflous '\' messes up with HP-UX make.
2002-01-28 16:30:06 +00:00
Bodo Möller
072569e0f1
Undo previous change, X509_check_issued() was correct.
...
[See
Message-ID: <3BB07999.30432AD2@celocom.com >
Date: Tue, 25 Sep 2001 13:33:29 +0100
From: Dr S N Henson <drh@celocom.com >
To: openssl-dev@openssl.org
Subject: Re: Error in v3_purp.c
]
2002-01-27 17:41:12 +00:00
Richard Levitte
ba9786e4b8
Spelling correction.
2002-01-27 16:12:27 +00:00
Richard Levitte
613599ffff
Correct the number of colons for the targets aix43-cc, aix43-gcc,
...
alpha-cc, alpha-cc-rpath, alpha-gcc, alpha164-cc and alphaold-cc.
2002-01-27 16:03:40 +00:00
Richard Levitte
c9c21d3b89
Detect one-step shifts of the dso_scheme.
2002-01-27 15:58:34 +00:00
Richard Levitte
d0d046eca2
I got some reports that some targets have weird dso_schemes.
...
Therefore, I've added a sanity checker.
Note that it can be combined with almost any other argument (the other
arguments will be completely ignored), with "reconf" as the blatant
exception, since it also has the behavior of ignoring all following
command line arguments. If --test-sanity and reconf are both used on
the command line, the first one wins.
2002-01-27 15:52:37 +00:00
Lutz Jänicke
2a81428489
Remove blanks at begin of empty lines irritating epv_test.c
2002-01-26 15:24:38 +00:00
Richard Levitte
7073e9e2a0
Update SCO5 targets.
2002-01-26 05:24:05 +00:00
Richard Levitte
d866df33a1
Apply a small patch from Dan Lanz <lanz@zolera.com> to get shared
...
libraries with debug-linux-elf.
2002-01-26 05:08:31 +00:00
Richard Levitte
b77fcddb6b
Apply a small patch from Oscar Jacobsson <oscar@jacobsson.org> that
...
makes things more compilable with VC++.
2002-01-26 04:50:41 +00:00
Richard Levitte
f6fbd470e3
It looks like I didn't remove everything that has to do with the
...
non-existant aestest.c.
2002-01-26 04:45:37 +00:00
Richard Levitte
63810d8566
Apply a small patch from Diego R. Lopez <diego.lopez@rediris.es>,
...
making X509_check_issued() properly match an issuer that's found in a
Authority Key Identifier.
2002-01-26 04:25:16 +00:00
Richard Levitte
123c401967
GCC uses __i386__.
2002-01-26 03:57:41 +00:00
Richard Levitte
a3fffd648b
Add old patch from Robert Dahlem <Robert.Dahlem@ffm2.siemens.de> to
...
make it possible to produce shared libraries on ReliantUNIX.
2002-01-26 03:17:27 +00:00
Richard Levitte
2d57b73a50
I got a request to make the "old des" symbols more closely tied to
...
OpenSSL. Adding '_ossl' in the name seems to be a good way to do
this.
2002-01-26 01:14:09 +00:00
Richard Levitte
f14845d999
Apply Neale Ferguson's patch to add a configuration target for linux-s390x
2002-01-25 22:06:59 +00:00
Richard Levitte
80bb905d3d
Apply the following changes by Toomas Kiisk <vix@cyber.ee>:
...
* make openssl rsa work with -engine chil
* misc changes, including debug-linux-ppro Configure target
and FORMAT_NETSCAPE-aware load_{,pub}key()
This completes the application of his changes.
2002-01-25 19:43:52 +00:00
Richard Levitte
a297985f42
Apply a change by Toomas Kiisk <vix@cyber.ee>:
...
* Fix a crashbug and a logic bug in hwcrhk_load_pubkey()
2002-01-25 17:45:30 +00:00
Richard Levitte
404dcc5e8e
I must learn to compile before I commit...
2002-01-25 17:35:19 +00:00
Richard Levitte
8242a6a9fc
Document the change in rsautl.
2002-01-25 17:00:56 +00:00
Richard Levitte
17bcb8d465
Add -keyform. Document -engine.
2002-01-25 16:51:46 +00:00
Richard Levitte
72165799a8
There is no aestest currently. The EVP tester is used to check the
...
AES algorithm.
2002-01-25 07:52:25 +00:00
Geoff Thorpe
f1c2a9de45
The 'type' parameter, an EVP_MD pointer, represents the type of digest
...
required as well as a default implementation (when no ENGINE provides a
replacement implementation). This change makes sure the correct
implementation's "init()" handler is used rather than assuming 'type'.
2002-01-25 03:13:50 +00:00
Richard Levitte
52b66a622d
Keep the NIST AES vectors that were there previously.
2002-01-24 18:09:50 +00:00
Bodo Möller
273db408a8
sort functions ...
2002-01-24 17:17:33 +00:00
Bodo Möller
957b6db3b1
fix formatting of automatically generated error section
2002-01-24 16:20:42 +00:00
Bodo Möller
a14e2d9dfe
New functions
...
ERR_peek_last_error
ERR_peek_last_error_line
ERR_peek_last_error_line_data
(supersedes ERR_peek_top_error).
Rename OPENSSL_NO_OLD_DES_SUPPORT into OPENSSL_DISABLE_OLD_DES_SUPPORT
because OPENSSL_NO_... indicates disabled algorithms (according to
mkdef.pl).
2002-01-24 16:16:43 +00:00
Bodo Möller
a8b94d6409
Reword CHANGES entry for _old_des_..., as it was a little complicated
...
syntactically.
2002-01-24 14:05:55 +00:00
Richard Levitte
fe19c448f0
make update
...
libeay.num got tweaked so the old des symbols would retain their
positions.
2002-01-24 12:31:54 +00:00
Richard Levitte
fcf6473199
Because of recent changes, there's no need to hack the des symbols any
...
more.
2002-01-24 12:30:15 +00:00
Richard Levitte
1285221370
To avoid all kinds of link-level clashes, rename all old des_*
...
functions to _old_des_*.
2002-01-24 12:26:50 +00:00
Richard Levitte
5dcf517d84
To avoid all kinds of link-level clashes, rename all old des_*
...
functions to _old_des_*.
2002-01-24 12:19:13 +00:00
Lutz Jänicke
9b2f486c9e
Document the current behaviour of the DES interface.
2002-01-23 10:12:45 +00:00
Ben Laurie
24995f3a10
Support old DES APIs by default.
2002-01-22 23:19:01 +00:00
Ben Laurie
0fc5cf0870
Make no config file not an error. Move /dev/crypto config to ctrl.
2002-01-22 22:29:58 +00:00
Dr. Stephen Henson
f78d4a35f8
Constification.
2002-01-22 02:06:33 +00:00
Dr. Stephen Henson
df5eaa8a52
default_algorithms option in ENGINE config.
2002-01-22 01:40:18 +00:00
Lutz Jänicke
6ce46d69f5
Typos (jsyn <jsyn@openbsd.org>).
2002-01-21 18:01:46 +00:00
Lutz Jänicke
575e664a7c
Fix incorrect BIO_*_ctrl() macros (Shay Harding <sharding@ccbill.com>).
2002-01-21 17:59:37 +00:00
Richard Levitte
7389c848d4
Use FIPS-197 vectors for AES. The NIST vectors were constructed by
...
reencrypting or redecrypting the ciphertext 10000 times, which of
course gives higly different results.
2002-01-21 17:55:38 +00:00
Richard Levitte
4d393410f3
Add more of the NIST test vectors for AES.
...
For some reason, they give incorrect results with the OpenSSL
implementation. I wonder why...
2002-01-21 16:09:45 +00:00
Richard Levitte
bd69750360
Bring VMS up to date with development.
2002-01-21 15:37:53 +00:00
Dr. Stephen Henson
c9501c223f
Initial ENGINE config module, docs to follow.
...
Fix buffer overrun errors in OPENSSL_conf().
2002-01-21 03:02:36 +00:00
Ben Laurie
9dd5ae6553
Constification, add config to /dev/crypto.
2002-01-18 16:51:05 +00:00
Bodo Möller
e1e876072d
disable broken code
2002-01-18 12:28:05 +00:00
Ben Laurie
dd2589494f
Other errors are possible.
2002-01-18 12:19:24 +00:00
Ben Laurie
1cfa8a397f
Stupid apps should die, not fail silently.
2002-01-18 11:46:39 +00:00
Ben Laurie
bdae099862
Fix memory leak.
2002-01-18 11:32:30 +00:00
Ben Laurie
cca28b291c
Constification, missing declaration, update dependencies.
2002-01-18 10:59:43 +00:00
Geoff Thorpe
062d3e39e7
Correct for the recent prototype changes.
2002-01-17 01:51:37 +00:00
Ulf Möller
e29f478a7a
*** empty log message ***
2002-01-16 19:22:13 +00:00
Geoff Thorpe
1b58b616e3
Produce less confusing statistics when "-out_totals" is used.
2002-01-16 05:31:02 +00:00
Geoff Thorpe
c70d381775
The sample certs had expired, so these are newer ones that should last
...
quite a bit longer.
2002-01-16 05:29:11 +00:00
Bodo Möller
508d8b1617
run test_evp before test_ssl
2002-01-15 11:43:51 +00:00
Bodo Möller
8c74b5e56c
Bugfix: In ssl3_accept, don't use a local variable 'got_new_session'
...
to indicate that a real handshake is taking place (the value will be
lost during multiple invocations). Set s->new_session to 2 instead.
2002-01-14 23:40:26 +00:00
Bodo Möller
c59ba5b528
Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if
...
the SSL_R_LENGTH_MISMATCH error is detected.
2002-01-14 12:37:59 +00:00
Ben Laurie
45d87a1ffe
Prototype info function.
2002-01-12 15:56:13 +00:00
Ben Laurie
a3feb21bbe
Add client_cert_cb prototype.
2002-01-12 13:15:40 +00:00
Ben Laurie
37530362fa
Return value could be undefined.
2002-01-12 13:13:22 +00:00
Geoff Thorpe
fd69886aed
- Network errors could pollute the buffers because -1 isn't noticed in an
...
"unsigned int".
- Remove redundant processing with machine->ssl is NULL.
- Remove compiler warnings about uninitialised 'ctx' (it's not used
uninitialised, but gcc can't see that).
2002-01-10 06:03:12 +00:00
Richard Levitte
fd795679bb
Patches to make OpenSSL compilable on MacOS/X.
...
Submitted by Pier Fumagalli <pier@betaversion.org >
2002-01-08 09:19:31 +00:00
Geoff Thorpe
e523f5f389
- libtool finally annoyed me too much, so I'm nuking it,
...
- tidy up some output,
- print a warning when running an SSL server with no cert,
- only log each connect/disconnect if the new "-out_conns" switch is used.
2002-01-08 02:58:55 +00:00
Geoff Thorpe
e4dd79bbc8
- Add the same header stuff to aes_locl.h as is in des_locl.h to avoid
...
undefined functions (memset, etc).
- Put a .cvsignore in the aes directory too.
2002-01-05 12:55:08 +00:00
Dr. Stephen Henson
bc37d996fc
Experimental configuration code.
...
Incomplete, largely untested and subject to change/deletion.
2002-01-05 01:37:16 +00:00
Bodo Möller
31cafe53c9
add a sentence previously deleted by accident
2002-01-04 15:22:40 +00:00
Bodo Möller
dc4ddcd2bb
add documentation for SSLeay_version(SSLEAY_DIR) and
...
'openssl version -d'
use some descriptions from Lutz' redundant manual page
instead of the previous ones
2002-01-04 15:17:09 +00:00
Lutz Jänicke
5256b021f3
Tsss, SSLeay_version() was already documented, it just was not linked in.
2002-01-04 15:05:51 +00:00
Bodo Möller
1bb68d62ab
synchronize with engine-0.9.6 tree
2002-01-04 15:03:25 +00:00
Lutz Jänicke
4ab1e7ceaf
Add information as provided by Richard Levitte on openssl-users :-)
2002-01-04 14:55:38 +00:00
Dr. Stephen Henson
06623ff028
Update PEM docs
2002-01-04 13:35:37 +00:00
Bodo Möller
67d48c8cc8
fix 'Configure TABLE' output
2002-01-04 13:30:05 +00:00
Bodo Möller
d59fb0dd2f
Changes that break something should be included in CHANGES
...
to make it easier to fix things.
2002-01-04 13:27:52 +00:00
Bodo Möller
245f44e2ab
add automatically generated ERR_load_... prototype
2002-01-04 13:12:08 +00:00
Bodo Möller
e5d6528a12
fix EVP_CIPHER_mode macro
...
Submitted by: "Dan S. Camper" <dan@bti.net >
2002-01-04 13:04:45 +00:00
Geoff Thorpe
980afccf98
Constify.
2002-01-04 07:01:35 +00:00
Richard Levitte
9bd2cd745f
Better clarification on perl
2002-01-03 18:53:47 +00:00
Richard Levitte
015fbde807
make update
2002-01-02 17:31:23 +00:00
Richard Levitte
ba1b888384
Implement speed measurement for AES.
...
Submitted by Stephen Sprunk <stephen@sprunk.org > as part of his AES
integration patch.
2002-01-02 16:57:57 +00:00
Richard Levitte
6f9079fd50
Because Rijndael is more known as AES, use crypto/aes instead of
...
crypto/rijndael. Additionally, I applied the AES integration patch
from Stephen Sprunk <stephen@sprunk.org > and fiddled it to work
properly with the normal EVP constructs (and incidently work the same
way as all other symmetric cipher implementations).
This results in an API that looks a lot like the rest of the OpenSSL
cipher suite.
2002-01-02 16:55:35 +00:00
Richard Levitte
c938563a81
The block size may be something other than 8!
2002-01-02 16:51:17 +00:00
Richard Levitte
40928698bb
When RSA or DSA are disabled, do not include the stuff that's specific
...
to them.
2002-01-02 12:45:51 +00:00
Richard Levitte
138d8ab0c7
make update
2002-01-02 12:44:54 +00:00
Richard Levitte
47cc5525a2
RSA counter should only be defined of RSA is available.
2002-01-02 12:40:38 +00:00
Richard Levitte
67fec850e1
Allow verification of other types than DATA.
...
Submitted by Leonard Janke <leonard@votehere.net >
2002-01-02 11:54:38 +00:00
Richard Levitte
82db6e1646
Say that recent CygWin perl versions work as well.
...
Submitted by Eric Hanchrow <erich@votehere.net >
2002-01-02 11:25:17 +00:00
Richard Levitte
e7227322b3
Allow 8-bit characters. This is not really complete, it only marks
...
characters with the highest bit set as HIGHBIT. We need to expand
this to support the UTF-8 character set properly. However, this
solves the problem that the character 0x80 (which is common in UTF-8)
gets masked to 0x00.
Patch submitted by "Huang Yuzhen" <huangyuzhen@bj.tom.com >
2002-01-02 11:06:02 +00:00
Richard Levitte
a5595fde9a
On Solaris64, cc needs the flag -xarch=v9 when linking shared
...
libraries. Make a general change to support shared library
linking flags in general.
Noted by Nick Briggs <briggs@parc.xerox.com >
2002-01-02 10:30:07 +00:00
Richard Levitte
95f8c7195c
Add support for Linux on HP/PA.
...
Submitted by "Bryan W. Headley" <bheadley@interaccess.com >
2002-01-02 10:00:22 +00:00
Ulf Möller
dcbbf83dba
ssl3_read_bytes bug fix
...
Submitted by: D P Chang <dpc@qualys.com >
Reviewed by: Bodo
2001-12-28 17:14:35 +00:00
Bodo Möller
3c89d78dba
update FAQ and CHANGES file (0.9.6c has been released)
2001-12-21 12:29:52 +00:00
Richard Levitte
84fcd6f83e
Status update
2001-12-21 03:23:15 +00:00
Richard Levitte
a92ae07091
And just for the sake of completeness, let's add some standard macros...
2001-12-21 01:12:29 +00:00
Richard Levitte
68809d3969
Better use the same number in all branches, to avoid confusion
2001-12-21 01:08:40 +00:00
Richard Levitte
d6a89fcf88
Do not forget to compile comp_err.c
2001-12-20 22:12:10 +00:00
Richard Levitte
ef5f6a08ff
Synchronise with the 0.9.6 branch.
2001-12-20 16:58:26 +00:00
Ben Laurie
7c517a04b1
Security fix.
2001-12-20 12:18:08 +00:00
Ulf Möller
d78e52987e
Cygwin patch. Submitted by Michael Kobar <mkobar@lymeware.com>
2001-12-19 19:37:31 +00:00
Bodo Möller
755cc53a6e
formatting consistency
2001-12-17 19:28:05 +00:00
Bodo Möller
1226c472b7
oops
2001-12-17 19:26:43 +00:00
Bodo Möller
4d7072f4b5
remove redundant ERR_load_... declarations
2001-12-17 19:22:23 +00:00
Bodo Möller
b5348a095d
consistency with 0.9.6 stable "CHANGES"
2001-12-17 19:11:03 +00:00
Bodo Möller
66df02fd98
fix BN_rand_range
2001-12-14 10:09:29 +00:00
Richard Levitte
206eb6a11d
Change pkcs12 so the certificates coming from -in do not get tossed if
...
-certfile is given as well.
2001-12-12 16:49:02 +00:00
Richard Levitte
f11fd3f4e1
Implement failover for ubsec. Submitted by Subramanian Ramamoorthy
...
<sram@broadcom.com > with the following comment:
[...] We have implemented failover (ie, if for some reason that the
hardware fails, the implementation detects this failure and performs
this operation as if no hardware is present, ie, in software) for
sometime now and have tested it here with our hardware. [...]
This change was cc:ed to exports@crypto.com
2001-12-12 12:53:13 +00:00
Richard Levitte
29b108f939
make update
2001-12-11 10:57:13 +00:00
Ulf Möller
31106cc750
name confusion with HP library function prototype (?)
2001-12-10 18:52:06 +00:00
Ben Laurie
ff3fa48fc7
Improve back compatibility.
2001-12-09 21:53:31 +00:00
Bodo Möller
87166e1fb6
fix warnings (one of them was clearly justified)
2001-12-07 17:02:01 +00:00
Dr. Stephen Henson
f3e24baddf
Don't overwrite signing time.
2001-12-07 00:36:32 +00:00
Lutz Jänicke
a6977ee73d
HPUX 9.X on m68k with gcc
...
("Anton J. Gamel" <gamel@anna.anatomie.uni-freiburg.de >)
2001-12-06 13:15:51 +00:00
Richard Levitte
d4704d5245
UID was never a lable for uniqueIdentifier. However, LDAP and certain
...
RFCs concerning X.500 directories use UID as a shorter name for the
attribute type userId, which is defined by CCITT and available through
RFCs 1274 and 2247.
Unfortunately, if some applications have used the name "UID" for the
uniqueIdentifier attribute type, they will produce incorrect results.
However, I found it better to follow the standards that are out there
rather than having our own incompatible one.
2001-12-04 11:01:17 +00:00
Richard Levitte
8f0edcb3d2
I was recently informed that some people wrongly use ssleay.txt as
...
main documentation, so let's warn them a little more, so the word
"OBSOLETE" really gets understood.
2001-12-04 07:38:17 +00:00
Bodo Möller
35e25255e0
crypto/objects stuff
2001-12-03 14:03:23 +00:00
Bodo Möller
c3fbf5d9a8
Fix: 2.5.29 is "id-ce", not "ld-ce" (sort of a typo in objects.h).
...
Fix (?): Delete 'ip-pda 6' (id-pda-pseudonym) because it does not exist
in RFC 3039.
Also change Perl scripts to put auto-generation warning in the
first lines of the file.
2001-12-03 13:47:22 +00:00
Dr. Stephen Henson
55e42c93a8
EVP_BytesToKey documentation.
2001-12-03 03:07:37 +00:00
Dr. Stephen Henson
6a0dec9584
Make EVP_SealInit() return the correct value.
2001-12-01 23:09:38 +00:00
Dr. Stephen Henson
21a85f1977
Add -pubkey option to req command.
2001-12-01 23:03:30 +00:00
Dr. Stephen Henson
322de0c8c1
NO_DSA, NO_RSA patches.
2001-12-01 22:41:39 +00:00
Lutz Jänicke
6a9af68b56
Support for QNX (wrat@jump.net (the wharf rat)).
2001-11-30 09:38:57 +00:00
Richard Levitte
b6e4dac217
Certain missing algorithms make some SSL versions or TLS impossible to
...
build.
2001-11-27 11:48:30 +00:00
Bodo Möller
8a0a9392ab
discuss -name and default_ca more correctly (I hope)
2001-11-26 12:13:50 +00:00
Geoff Thorpe
bcbe4e5254
This looks to have been a typo.
2001-11-24 04:02:42 +00:00
Bodo Möller
47ff5c6279
For future portability reasons MIT is moving all macros to function
...
calls. This patch allows compilation either way.
Submitted by: Jeffrey Altman <jaltman@columbia.edu >
2001-11-23 21:50:50 +00:00
Bodo Möller
898f856c44
info on 0.9.6 engine branch
2001-11-23 21:12:44 +00:00
Bodo Möller
883b0c2274
fix submitted by Andy Schneider <andy.schneider@bjss.co.uk>
...
(in main branch, hn_ncipher.c is already correct)
2001-11-23 20:58:40 +00:00
Bodo Möller
4f94d1a8b1
check OPENSSL_NO_... before including header files that might be
...
disabled
2001-11-22 11:13:10 +00:00
Bodo Möller
1d4581c2dd
OS/390 support
...
Submitted by: Richard Shapiro <rshapiro@abinitio.com >
2001-11-22 11:09:42 +00:00
Bodo Möller
c05940edc7
comment
2001-11-22 11:08:38 +00:00
Geoff Thorpe
c507a16e49
Cut "ENGINE_ID" to the more concise "ID".
2001-11-22 10:08:49 +00:00
Geoff Thorpe
308f028e28
In this particular error condition, the structural reference wasn't being
...
released.
2001-11-22 09:20:08 +00:00
Geoff Thorpe
e4a6cf421a
When the "dynamic" ENGINE loads another ENGINE from a shared-library, it
...
essentially overwrites itself with the new ENGINE, with the exception of
reference counts, ex_data structures, and other 'admin' elements. However
if the new ENGINE doesn't populate certain elements, there's the risk of
the "dynamic" ENGINE's elements showing through - the "cmd_defns" were just
one of the possibilities. This implements a more comprehensive cleanup.
2001-11-22 09:13:18 +00:00
Geoff Thorpe
329636d6e3
The "openssl" ENGINE is no longer used except as a testing/debugging
...
device. This change enables it for building as a self-contained "dynamic"
ENGINE, to help testing such mechanisms.
2001-11-22 09:01:11 +00:00
Geoff Thorpe
9163b8fb23
'flags' should only be set inside DSO_load() if constructing a new DSO
...
object - otherwise we overwrite any flags that had been previously set in
the DSO before calling DSO_load().
2001-11-22 08:48:09 +00:00
Richard Levitte
a542db90c6
Extentions of the explanations to the linking problem on Win32. Provided by Andrew Gray <agray@iconsinc.com>
2001-11-19 20:46:35 +00:00
Lutz Jänicke
a7ce69dbd7
Clarify reference count handling/removal of session
...
(shinagawa@star.zko.dec.com ).
2001-11-19 11:11:23 +00:00
Richard Levitte
9d93ce246c
On VMS, the norm is still that symbols are uppercased, so for now it's better
...
to trust that norm. I might implement a control for this later on
2001-11-16 13:12:19 +00:00
Bodo Möller
76c4336c43
wNAFs use does not bring that much performance on Sparcs (where
...
elliptic curves are are relatively faster than on PCs anyway)
2001-11-16 12:02:01 +00:00
Bodo Möller
e71adb85c5
avoid stupid compiler warning
2001-11-16 11:37:36 +00:00
Richard Levitte
033c51f0a3
Build dynamic rsaref engine on VMS. Tested on VAX so far.
2001-11-16 09:14:06 +00:00
Richard Levitte
452d1595a6
End assembler macro correctly.
...
On VAX, all global variables are accessed through functions, so skip
doing transfer entries for variables.
Forgot the looping gotos.
2001-11-16 09:09:15 +00:00
Richard Levitte
0d197a833c
On systems that don't do too well including headers from a different
...
directory, trust the building scripts to handle it properly.
2001-11-16 08:54:34 +00:00
Richard Levitte
e0031b80ee
Make sure evp_locl.h can be included (hw_openbsd_dev_crypto.c needs that).
2001-11-16 08:52:56 +00:00
Bodo Möller
b19941ab05
comment
2001-11-16 06:22:21 +00:00
Bodo Möller
752938daab
use a more interesting test case
2001-11-16 06:22:05 +00:00
Bodo Möller
c78515f55e
comments etc.
2001-11-15 22:35:41 +00:00
Bodo Möller
3ba1f11147
Improve EC efficiency.
2001-11-15 22:32:11 +00:00
Richard Levitte
bbc206fdf7
A missing comma added.
2001-11-15 22:29:02 +00:00
Richard Levitte
2bd065dfbe
make update
2001-11-15 20:24:00 +00:00
Richard Levitte
6d7dbc12f2
Add MD digests.
...
And this finishes this engine, it now offers all ciphers and digests
that RSAref 2.0 has.
2001-11-15 20:23:29 +00:00
Richard Levitte
83c40e7fc0
Make it possible to give digest names as -evp arguments.
2001-11-15 20:19:40 +00:00
Richard Levitte
b5fe234588
Add DES functions.
...
Restructure the code and comment it a bit.
Prepare for the presence of digests.
2001-11-15 18:52:28 +00:00
Richard Levitte
e1a00d7d1d
If an engine isn't built in, try loading it as a shareable library
...
instead. This also makes it possible for users to simply give said
shareable library as argument for the -engine option.
2001-11-15 18:48:42 +00:00
Richard Levitte
acf60ef707
At least for the two common Unixly DSO loading methods, include the
...
system error in the error text.
2001-11-15 18:24:42 +00:00
Richard Levitte
c85a157854
Use the generated error code files.
2001-11-15 16:57:36 +00:00
Richard Levitte
0c5d16e4f5
'make update' + some touches.
2001-11-15 16:57:00 +00:00
Richard Levitte
bd2af5e707
Add targets to update the error code files.
2001-11-15 16:56:17 +00:00
Richard Levitte
58d55afa6f
Add a local error code configuration file for the rsaref dynamic
...
engine.
2001-11-15 16:53:50 +00:00
Richard Levitte
6343e2fac3
Make it possible to build completely static, independent error C
...
files.
2001-11-15 16:52:10 +00:00
Richard Levitte
b476df64a1
make update
...
perl util/mkerr.pl -recurse -write -rebuild
2001-11-15 12:25:14 +00:00
Richard Levitte
1d46b6b3b9
Make use of RSAref's header files instead of EAY's crafted rsaref.h.
2001-11-14 23:39:01 +00:00
Richard Levitte
bbb35447c4
In a Debian Linux environment, it's not a good idea, apparently, to
...
manually declare the include directory /usr/include at the same time
as the macro PROTOTYPES is defined with the value 1. Besides,
/usr/include is the standard include directory anyway, so there's no
need to specify it explicitely.
2001-11-14 23:25:46 +00:00
Richard Levitte
6276f1e100
Add a demo that reimplements the RSAref glue in form of a dynamically
...
loadable engine.
2001-11-14 22:42:35 +00:00
Richard Levitte
5b8a57ecae
After loading a dynamic engine, reset the command definitions to the
...
empty set. This prevents engines that do not set the command
definitions themselves to inherit the ones from "dynamic", which would
otherwise be very confusing.
2001-11-14 22:32:19 +00:00
Richard Levitte
817dfc18a3
Change the order of events so the capabilities of loaded engines can
...
get listed as well.
2001-11-14 22:30:17 +00:00
Bodo Möller
0b0b2a8087
remove obsolete entry
2001-11-14 21:21:47 +00:00
Bodo Möller
c23d16ac19
cast to unsigned int, not to int to avoid the warning -- all these
...
values really are unsigned
2001-11-14 21:18:35 +00:00
Bodo Möller
1b28ed575b
consistency between main branch and stable branch
2001-11-14 21:17:39 +00:00
Richard Levitte
135c0af1bb
Implement STARTTLS for certain protocols, currently only supporting SMTP.
2001-11-14 13:57:52 +00:00
Richard Levitte
475918410b
Remove temporary files
2001-11-14 10:58:37 +00:00
Richard Levitte
3102792161
unsigned int vs. int.
2001-11-14 10:55:29 +00:00
Richard Levitte
a291182757
Exclude .out files
2001-11-14 10:53:47 +00:00
Bodo Möller
b26ca3408c
synchronise with 0.9.6 stable branch
2001-11-12 23:22:29 +00:00
Bodo Möller
83978bd37a
information on 0.9.6c-engine
2001-11-12 22:10:15 +00:00
Mark J. Cox
a3790c0d01
Phew, finished
...
Submitted by:
Reviewed by:
PR:
2001-11-12 20:30:01 +00:00
Mark J. Cox
63b6090f7c
I've still got one left; the backport of the Broadcom UBSEC driver to
...
0.9.6 that we've got - just waiting for clearance on that one
Submitted by:
Reviewed by:
PR:
2001-11-12 15:32:11 +00:00
Bodo Möller
c5571db0c2
Add unixware-7-gcc as in 0.9.6 branch (except that we need a 'sys_id'
...
field here, which is left empty).
Various configurations are *only* in the 0.9.6 branch at the moment:
OpenUNIX
OpenUNIX-8-gcc-shared
OpenUNIX-8-shared
Either Configure or CHANGES must be changed to rectify the situation.
2001-11-12 15:31:39 +00:00
Bodo Möller
e0457d5f7c
the PRNG race conditions were mostly a theoretical issue, remove from NEWS
2001-11-12 11:33:38 +00:00
Bodo Möller
ae52ec9869
add changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c
2001-11-12 11:28:15 +00:00
Dr. Stephen Henson
0b33bc6b72
Add an FAQ.
2001-11-12 01:58:50 +00:00
Bodo Möller
7aa983c6db
Order chronologically: move entry for recent s2_clnt.c/s2_srvr.c fixes
...
(nearly) to the top.
Move msg_callback entry to the top as the implementation for SSL 2.0
is based on the s2_clnt.c/s2_srvr.c changes.
2001-11-10 15:14:00 +00:00
Bodo Möller
2b90b1f344
make code a little more similar to what it looked like before the fixes,
...
call ssl2_part_read again to parse error message
2001-11-10 10:44:15 +00:00
Bodo Möller
65123f8064
remove incorrect 'callback' prototype
2001-11-10 02:12:56 +00:00
Bodo Möller
1d8634b110
msg_callback documentation
2001-11-10 02:12:09 +00:00
Bodo Möller
29e0c30c2a
more output for SSL 2.0 in our msg_callback
2001-11-10 01:17:02 +00:00
Bodo Möller
cf82191d77
Implement msg_callback for SSL 2.0.
...
Important SSL 2.0 bugfixes (bugs found while implementing msg_callback).
2001-11-10 01:16:28 +00:00
Bodo Möller
3a8a0a3945
2001, not 2000
2001-11-09 13:15:05 +00:00
Bodo Möller
c5d4ab7e35
adjust to OpenSSL_0_9_6-stable version
2001-11-09 13:09:11 +00:00
Bodo Möller
b955dbd325
cast to 'unsigned long' before using ~ if we need an unsigned long result
...
Submitted by: "Stefan Marxen" <stefan.marxen@gmx.net >
2001-11-09 12:58:05 +00:00
Bodo Möller
45582d1e2b
clarify
2001-11-08 14:54:21 +00:00
Bodo Möller
60c50cbf9c
Don't define _REENTRANT here in e_os.h. On systems where we need
...
_REENTRANT if threads support is enabled, the ./Configure entry must
define it so that it ends up in CFLAG.
2001-11-08 14:32:06 +00:00
Dr. Stephen Henson
3a3619b46a
PKCS#12 code fixes: initialize and cleanup digests and ciphers
...
properly.
2001-11-06 13:54:48 +00:00
Dr. Stephen Henson
b83eddc578
Win32 fixes.
2001-11-06 13:40:27 +00:00
Richard Levitte
7f558334ad
des_old.h doesn't really need to include des.h, so don't. That will
...
avoid clashes with other code that have their own DES_ functions but
really only use OpenSSL's old des_ functions.
2001-11-06 11:37:14 +00:00
Dr. Stephen Henson
6229a5607c
Fix email address delete code.
2001-11-06 01:44:21 +00:00
Richard Levitte
6acc3b9689
Place the OpenSSL-specific headers back so they always get included,
...
or we get a dependency war in Makefile.ssl
2001-11-05 18:18:12 +00:00
Richard Levitte
66aa856698
No need to include anything on systems that do not have /dev/crypt
2001-11-05 12:44:14 +00:00
Richard Levitte
f559f31bef
DOS and Windows do not like unistd.h
2001-11-05 12:43:17 +00:00
Ben Laurie
3210b4fd14
If verify fails, say why.
2001-11-02 13:29:14 +00:00
Richard Levitte
a7b42009c4
Change the shared library support so the shared libraries get built
...
sooner and the programs get built against the shared libraries.
This requires a bit more work. Things like -rpath and the possibility
to still link the programs statically should be included. Some
cleanup is also needed. This will be worked on.
2001-10-30 08:00:59 +00:00
Richard Levitte
7b5ffd6834
Addapt VMS scripts to the newer disk layout system ODS-5, which allows more than one period and mixed size characters in file names
2001-10-29 13:05:28 +00:00
Dr. Stephen Henson
9b55da73ca
Another noemailDN fix.
2001-10-27 17:53:06 +00:00
Dr. Stephen Henson
e7156ff2e8
Allow ca to certify requests containing BMPStrings and UTF8Strings.
2001-10-27 17:04:47 +00:00
Dr. Stephen Henson
437db75b94
Bugfixes for noemailDN option. Make it use the
...
correct name (instead of NULL) if nomailDN is
not set, fix memory leaks and retain DN structure
when deleting emailAddress.
2001-10-27 17:03:20 +00:00
Dr. Stephen Henson
1586365835
Stop compiler warnings.
2001-10-27 00:18:04 +00:00
Dr. Stephen Henson
7d5b04db4e
Add support for Subject Info Acess extension.
2001-10-27 00:16:53 +00:00
Bodo Möller
48b0cf8b10
Note BUF_MEM_grow() consistency fix.
2001-10-26 14:06:33 +00:00
Bodo Möller
b693f941fd
Consistency fix in BUF_MEM_grow: Initialise to zero when new memory
...
had to be allocated, not just when reusing the existing buffer.
2001-10-26 13:12:25 +00:00
Bodo Möller
c602e7f4e8
disable caching in BIO_gethostbyname
2001-10-26 13:04:23 +00:00
Dr. Stephen Henson
1fc6d41bf6
New options to allow req to accept UTF8 strings as input.
2001-10-26 12:40:38 +00:00
Ulf Möller
a41477f92e
remove compatibility notes that no longer apply
2001-10-25 17:45:25 +00:00
Richard Levitte
5f68c5feef
Correct some links...
2001-10-25 16:56:06 +00:00
Richard Levitte
ee84a5a7fb
Change the DES documentation to reflect the current status. Note that
...
some password reading functions are really part of the UI
compatibility library...
2001-10-25 16:55:17 +00:00
Richard Levitte
66d3e7481e
Make sure openssl speed is compilable on systems where fork() doesn't
...
exist. For now, that's all the ones we "support" except Unix.
2001-10-25 16:08:17 +00:00
Ben Laurie
0e21156333
Add paralellism to speed - note that this currently causes a weird memory leak.
2001-10-25 14:27:17 +00:00
Ben Laurie
f533b7780e
Fix warning.
2001-10-25 14:24:59 +00:00
Bodo Möller
cc2f5a8022
Like MD_Init, MD now must include a NULL engine pointer in its definition.
2001-10-25 08:53:54 +00:00
Bodo Möller
b441bf9226
remove redundant definitions that are also in des.h
2001-10-25 08:46:10 +00:00
Bodo Möller
2a9aca32dc
mention des_old.h
2001-10-25 08:44:10 +00:00
Bodo Möller
89da653fa6
Add '-noemailDN' option to 'openssl ca'. This prevents inclusion of
...
the e-mail address in the DN (i.e., it will go into a certificate
extension only). The new configuration file option 'email_in_dn = no'
has the same effect.
Submitted by: Massimiliano Pala madwolf@openca.org
2001-10-25 08:25:19 +00:00
Bodo Möller
af50b58c3f
filenames are des_old.[ch], not des.comp*
2001-10-25 08:23:13 +00:00
Bodo Möller
4d635a7001
Consistency with s2_... and s23_... variants (no real functional
...
change)
2001-10-25 08:17:53 +00:00
Richard Levitte
ce15d5a9dc
Remove DES_random_seed() but retain des_random_seed() for now. Change
...
the docs to reflect this change and correct libeay.num.
2001-10-25 06:46:22 +00:00
Bodo Möller
ba1c602281
Assume TLS 1.0 when ClientHello fragment is too short.
2001-10-25 06:09:51 +00:00
Richard Levitte
cfc781be6e
Have the removal warnings very high up in the source.
2001-10-25 05:37:10 +00:00
Richard Levitte
84acc3c2bc
A C file is a C file is a C file!
2001-10-24 21:31:14 +00:00
Richard Levitte
c2e4f17c1a
Due to an increasing number of clashes between modern OpenSSL and
...
libdes (which is still used out there) or other des implementations,
the OpenSSL DES functions are renamed to begin with DES_ instead of
des_. Compatibility routines are provided and declared by including
openssl/des_old.h. Those declarations are the same as were in des.h
when the OpenSSL project started, which is exactly how libdes looked
at that time, and hopefully still looks today.
The compatibility functions will be removed in some future release, at
the latest in version 1.0.
2001-10-24 21:21:12 +00:00
Bodo Möller
979689aa5c
Fix SSL handshake functions and SSL_clear() such that SSL_clear()
...
never resets s->method to s->ctx->method when called from within
one of the SSL handshake functions.
2001-10-24 19:03:22 +00:00
Richard Levitte
a3faebd104
Deprecate the macro MAC_OS_pre_X.
2001-10-24 15:32:53 +00:00
Richard Levitte
025c7737b2
make update
2001-10-24 15:32:14 +00:00
Richard Levitte
513d4b4c16
make update
2001-10-24 08:27:22 +00:00
Richard Levitte
7ef701519b
Correction of the id-pda OID's.
...
Submitted by Frederic.Giudicelli@INTRINsec.com
2001-10-23 14:30:57 +00:00
Dr. Stephen Henson
50d194af4d
Sanitize CHANGES entry.
2001-10-23 00:54:58 +00:00
Bodo Möller
287973746e
Fix memory leak.
2001-10-22 13:59:36 +00:00
Dr. Stephen Henson
f1558bb424
Reject certificates with unhandled critical extensions.
2001-10-21 02:09:15 +00:00
Dr. Stephen Henson
6ca487992b
Stop spurious "unable to load config info" errors in req
2001-10-21 01:05:53 +00:00
Bodo Möller
cf3a5cebd7
Call msg_callback with correct length parameter if ssl3_write_bytes had to
...
be called multiple times
2001-10-20 18:56:01 +00:00
Bodo Möller
a661b65357
New functions SSL[_CTX]_set_msg_callback().
...
New macros SSL[_CTX]_set_msg_callback_arg().
Message callback imlementation for SSL 3.0/TLS 1.0 (no SSL 2.0 yet).
New '-msg' option for 'openssl s_client' and 'openssl s_server'
that enable a message callback that displays all protocol messages.
In ssl3_get_client_hello (ssl/s3_srvr.c), generate a fatal alert if
client_version is smaller than the protocol version in use.
Also change ssl23_get_client_hello (ssl/s23_srvr.c) to select TLS 1.0
if the client demanded SSL 3.0 but only TLS 1.0 is enabled; then the
client will at least see that alert.
Fix SSL[_CTX]_ctrl prototype (void * instead of char * for generic
pointer).
Add/update some OpenSSL copyright notices.
2001-10-20 17:56:36 +00:00
Dr. Stephen Henson
98e6654938
Typo.
2001-10-20 16:22:28 +00:00
Dr. Stephen Henson
cecd263878
Add missing EVP_CIPHER_CTX_{init,cleanup}
2001-10-20 16:18:03 +00:00
Bodo Möller
31fe950d2b
gcc complained about "write" being shadowed even though the "write"
...
variable name occured just in a function *prototype* -- so rename it
2001-10-17 20:44:25 +00:00
Richard Levitte
db6a87d8cc
Wrong place...
2001-10-17 17:54:17 +00:00
Richard Levitte
7beb408771
The EVP_*Init_ex() functions take one extra argument. Let's default
...
it to NULL.
2001-10-17 16:03:42 +00:00
Bodo Möller
51008ffce1
document SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
2001-10-17 11:56:26 +00:00
Dr. Stephen Henson
3811eed8d5
Update docs.
2001-10-17 01:50:32 +00:00
Dr. Stephen Henson
581f1c8494
Modify EVP cipher behaviour in a similar way
...
to digests to retain compatibility.
2001-10-17 00:37:12 +00:00
Lutz Jänicke
41ebed27fa
Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
2001-10-16 14:24:46 +00:00
Bodo Möller
bf21446a2a
Add per-SSL 'msg_callback' with 'msg_callback_arg'.
...
Both have per-SSL_CTX defaults.
These new values can be set by calling SSL[_CTX]_[callback_]ctrl
with codes SSL_CTRL_SET_MSG_CALLBACK and SSL_CTRL_SET_MSG_CALLBACK_ARG.
So far, the callback is never actually called.
Also rearrange some SSL_CTX struct members (some exist just in
SSL_CTXs, others are defaults for SSLs and are either copied
during SSL_new, or used if the value in the SSL is not set;
these three classes of members were not in a logical order),
and add some missing assignments to SSL_dup.
2001-10-16 13:09:24 +00:00
Dr. Stephen Henson
e72d734d5f
Update docs.
2001-10-16 02:22:59 +00:00
Dr. Stephen Henson
20d2186c87
Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
...
with existing code.
Modify library to use digest *_ex() functions.
2001-10-16 01:24:29 +00:00
Bodo Möller
9ba3ec9176
The message header for fake SSL 3.0/TLS 1.0 client hellos created from
...
SSL 2.0 client hellos added with the previous commit was totally wrong --
it must start with the message type, not the protocol version.
(Not that this particular header is actually used anywhere ...)
2001-10-16 00:56:04 +00:00
Bodo Möller
8f71fb8d98
For consistency, set s->init_num in the 'reuse_message' case
...
(if s23_srvr.c faked the message, s->init_num is 0).
2001-10-15 20:16:36 +00:00
Bodo Möller
48948d53b6
Change ssl3_get_message and the functions using it so that complete
...
'Handshake' protocol structures are kept in memory, including
'msg_type' and 'length'.
(This is in preparation of future support for callbacks that get to
peek at handshake messages and the like.)
2001-10-15 19:49:25 +00:00
Bodo Möller
dbec19622e
make sure .rnd exists
2001-10-15 17:58:00 +00:00
Bodo Möller
2ce15df528
Fix ssl3_get_message handle message fragmentation correctly.
2001-10-15 17:41:41 +00:00
Bodo Möller
681bfae499
the previous commit accidentily removed 'ret = 1' from the SSL_ST_OK
...
case of ssl3_accept
2001-10-15 17:40:42 +00:00
Ulf Möller
5dd955dcd2
openbsd-x86 macros
...
Submitted by: Toomas Kiisk <vix@cyber.ee >
2001-10-14 00:57:30 +00:00
Lutz Jänicke
56fa8e69cf
Update information as a partial response to the post
...
From: "Chris D. Peterson" <cpeterson@aventail.com >
Subject: Implementation Issues with OpenSSL
To: openssl-users@openssl.org
Date: Wed, 22 Aug 2001 16:13:17 -0700
The patch included in the original post may improve the internal session
list handling (and is therefore worth a seperate investigation).
No change to the list handling will however solve the problems of incorrect
SSL_SESSION_free() calls. The session list is only one possible point of
failure, dangling pointers would also occur for SSL object currently
using the session. The correct solution is to only use SSL_SESSION_free()
when applicable!
2001-10-12 12:29:16 +00:00
Richard Levitte
67d0738aba
In certain cases, no encoding has been set up for the b64 filter. In
...
such cases, a flush should *not* attempt to finalise the encoding, as
the EVP_ENCODE_CTX structure will only be filled with garbage. For
the same reason, do the same check when a wpending is performed.
2001-10-11 19:38:40 +00:00
Richard Levitte
b8a61e7362
'make update'
2001-10-10 21:52:06 +00:00
Richard Levitte
dd5e774664
Add support for md4WithRSAEncryption.
2001-10-10 21:37:45 +00:00
Richard Levitte
6b86bad5ef
For systems where gcc is used and where we don't know if GNU ld is
...
used or not, let's ask collect2 which ld it uses and choose to use the
target do-gnu_shared if GNU ld is used.
This solves the reported problems on Solaris systems where GNU cc is
used but GNU ld isn't, and probably on other systems with similar
setups.
2001-10-10 14:46:41 +00:00
Richard Levitte
712557128b
'make update'
2001-10-10 08:27:52 +00:00
Richard Levitte
3009e9f9ef
It seems like gcc does canonicalisation of file names. More
...
specifically, a starting './' is removed. makedepend doesn't do this,
resulting in another possible commit war, so let's fix that by doing a
poor mans canonicalisation of file names that gives the same effect as
doing dependencies through gcc.
2001-10-10 08:27:28 +00:00
Richard Levitte
b30245dae0
'make update'
2001-10-10 07:56:20 +00:00
Richard Levitte
116daf4c2f
To avoid commit wars over dependencies, let's make it so things that
...
depend on the environment, like the presence of the OpenBSD crypto
device or of Kerberos, do not change the dependencies within OpenSSL.
2001-10-10 07:55:02 +00:00
Richard Levitte
cb40bdaf57
makedepend sometimes produces duplicates. Remove them.
2001-10-10 07:44:54 +00:00
Richard Levitte
4b12506891
A few more OIDs, contributed by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>
2001-10-09 15:32:23 +00:00
Geoff Thorpe
cf98440178
evp_test.c and evptests.txt both need to be linked in the test/ directory
...
however for different reasons. This separation should prevent the win32
build from interpreting evptests.txt as source code.
2001-10-09 01:38:31 +00:00
Geoff Thorpe
c500d44735
Change some EVP prototypes to use "cipher" rather than "type" as a variable
...
name. The implementations already use this anyway.
2001-10-08 17:25:42 +00:00
Geoff Thorpe
18eda73234
EVP_EncryptInit_ex() and EVP_DecryptInit_ex() had been defined in evp.h but
...
not implemented. (Bug reported by Martin Szotkowski)
This also changes the non-"_ex" versions to defer directly to
EVP_CipherInit_ex() rather than EVP_CipherInit() to avoid an unecessary
level of indirection.
2001-10-08 17:24:10 +00:00
Geoff Thorpe
7526e2c043
As ENGINE_load_openbsd_dev_crypto() is an API function, it makes sense for
...
it to be defined on all platforms whether or not it is of any practical
use on them. This also resolves linker problems on "special" platforms,
such as win32.
2001-10-08 17:08:17 +00:00
Geoff Thorpe
6d52f260bf
Make sure the "ENGINE_TABLE" cleanup callbacks have correct prototypes.
2001-10-08 17:06:52 +00:00
Geoff Thorpe
752f2b6785
Missing pointer in the eng_table_register function. Reported by
...
Martin Szotkowski.
2001-10-08 14:44:38 +00:00
Lutz Jänicke
e1c279b63d
Small documentation fixes (Howard Lum <howard@pumpkin.canada.sun.com>)
2001-10-08 08:37:24 +00:00
Richard Levitte
467889703a
Copy evptests.txt to the right place.
2001-10-04 21:15:03 +00:00
Richard Levitte
3a457cca86
Typo...
2001-10-04 19:25:12 +00:00
Richard Levitte
285046ec51
SSL_add_dir_cert_subjects_to_stack for Win32 finally implemented.
...
Submitted by Massimo Santin <msantin@santineassociati.com >.
2001-10-04 12:27:39 +00:00
Richard Levitte
f8000b9345
'make update'
2001-10-04 07:49:09 +00:00
Richard Levitte
77a8eb352f
Since ossl_typ.h is an exported header, we sure need to export it on
...
VMS as well :-).
2001-10-04 07:46:30 +00:00
Richard Levitte
114697bef3
Because there's chances we clash with the system's types.h, rename our
...
types.h to ossl_typ.h.
Also, it seems like krb5 was forgotten in some places.
2001-10-04 07:34:45 +00:00
Richard Levitte
2aa9043ad3
Because there's chances we clash with the system's types.h, rename our
...
types.h to ossl_typ.h.
2001-10-04 07:32:46 +00:00
Dr. Stephen Henson
1a095560f7
Use the maximum block length for the extra size in the encrypt
...
BIO buffer instead of hard coding it as 8.
2001-10-03 12:47:03 +00:00
Dr. Stephen Henson
f329b8d73b
Make EVP_DecryptUpdate work again.
2001-10-02 16:19:49 +00:00
Richard Levitte
3d90a32429
sch isn't an array, how did this pass through gcc?
2001-10-02 11:49:55 +00:00
Richard Levitte
e3a7463c5d
A lot of things are undeclared unless x509.h is included.
2001-10-02 11:06:42 +00:00
Richard Levitte
796c6eadcb
Hmm, everything "open" isn't necessarely "openssl" :-).
...
*sigh* habit...
2001-10-02 10:03:15 +00:00
Richard Levitte
b485e5b7e3
Woopsie...
2001-10-01 17:20:28 +00:00
Richard Levitte
d1cc7b8f22
'make update'
2001-10-01 17:16:24 +00:00
Richard Levitte
1cf9d58cb4
sk_ENGINE_CLEANUP_ITEM_pop_free() is duplicated in ENGINE_cleanup().
...
Let's use sk_ENGINE_CLEANUP_ITEM_pop_free() instead.
2001-10-01 17:15:28 +00:00
Richard Levitte
0cff933416
Addapt seldom compiled code to new semantics of the key schedule (not
...
a pointer any more).
2001-10-01 17:10:10 +00:00
Richard Levitte
c41b29e5db
Some new symbols have very long names...
2001-10-01 17:09:17 +00:00
Richard Levitte
65fb3fa630
o_time.c contains symbols with dollar signs in them, so we must tell
...
the compiler not to warn about that.
2001-10-01 17:08:18 +00:00
Geoff Thorpe
0b0f08dbc7
The cleanup stack in ENGINE changed slightly, so this "make update" is
...
needed.
2001-10-01 16:39:58 +00:00
Geoff Thorpe
5c32657c80
The STACK macros take care of casting to and from the designated item type
...
of the stack, and the (void *) type used in the underlying sk_***
functions. However, declaring a STACK_OF(type) where type is a *function*
type implicitly involves casts between function pointers and data pointers.
That's a no-no. This changes the ENGINE_CLEANUP handling to use a regular
data type in the stack.
2001-10-01 16:26:00 +00:00
Geoff Thorpe
07cee70258
Make an (overdue) note about the recent ENGINE restructuring. Apart from
...
a few items however, most of the details are deferred to the
crypto/engine/README file.
2001-10-01 15:56:25 +00:00
Geoff Thorpe
4ba163cbf9
Make "openssl engine -c" list any supported digests as well as supported
...
ciphers.
2001-10-01 15:41:31 +00:00
Lutz Jänicke
2bfb2398e3
Typos (Chris Pepper <pepper@mail.reppep.com>)
2001-10-01 14:43:47 +00:00
Richard Levitte
a4a8f7b3ef
Change HZ in speed to rely on sysconf() if the clock tick is available
...
that way. Synchronise s_time with these changes.
2001-09-28 10:34:48 +00:00
Geoff Thorpe
34c66925aa
ENGINE_register_all_complete() will register all implementations of all
...
algorithms present in all loaded ENGINEs. The result is that if any of
those ENGINEs successfully initialises, and the ENGINE_TABLE_FLAG_NOINIT
flag isn't set, then they will always be used (and cached as defaults) in
preference to software implementations. Ie. accidental auto-detection of
acceleration hardware :-)
This change stops all implementations being automatically registered in
"openssl" sub-commands, so that the "setup_engine()" handler in apps.c
controls which ENGINEs are registered for use. A special case has been
added that will revert to this "auto-detect" logic, ie. if the "-engine"
switch is used as;
-engine auto
2001-09-28 02:25:14 +00:00
Dr. Stephen Henson
cb7fd76f57
Modernise and fix (ancient) "maurice" demos.
2001-09-28 01:48:34 +00:00
Dr. Stephen Henson
de822715b2
Constify EVP_SealInit, EVP_OpenInit
2001-09-28 01:47:36 +00:00
Dr. Stephen Henson
89f534e1d3
Make (ancient) sign.c demo compile again.
2001-09-28 00:47:36 +00:00
Dr. Stephen Henson
d46c1a8126
Support fractional seconds in GeneralizedTime
2001-09-28 00:44:44 +00:00
Richard Levitte
e32587d5a6
Synchronise with Unixly build.
2001-09-27 16:07:36 +00:00
Richard Levitte
7876e4488f
Stop thinking arguments starting with - are algorithm identifiers.
...
Show timing parameters and timing functions used.
It looks like some Linuxen have very weird settings for CLK_TCK. I'm
very unsure about this change and will investigate further.
2001-09-27 15:43:55 +00:00
Richard Levitte
1a19f83d4c
Apparently, Linux is identified with __linux__ as well.
2001-09-27 15:41:34 +00:00
Richard Levitte
db8c838c6a
'make update'
2001-09-26 15:23:14 +00:00
Richard Levitte
37da54b10e
The #error message must match a very specific regexp (see mkdef.pl,
...
currently line 470).
2001-09-26 15:18:32 +00:00
Ben Laurie
0fea7ed4a4
Don't clean up stuff twice.
2001-09-26 15:15:03 +00:00
Ben Laurie
dbeac560aa
Fixes.
2001-09-26 15:14:10 +00:00
Richard Levitte
89eeccacde
Two changes:
...
1. if there are several symbols with the same entry number, sort those
symbols in ASCII order.
2. Do not stop reading the header files when "BEGIN ERROR CODES" is
found, since mkerr.pl will add a function declaration after that
comment. Instead, trigger on "Error codes for the \w+ function",
which is the actual start of the error code macros.
Additionally, a few more debugging printouts that helped.
2001-09-26 15:06:45 +00:00
Ben Laurie
c9fc143972
Fix warning.
2001-09-26 11:38:57 +00:00
Geoff Thorpe
004aa803a9
"FALLBACK" handling was a hack that was thrown out long ago in the
...
ENGINE redevelopment. The idea had been that "-1" could be used as a
special "ask me later" 'nid' rather than specifying supported cipher and
digest 'nid's up front. However the idea turned out to be pretty broken.
2001-09-25 21:52:39 +00:00
Geoff Thorpe
c921a5e1d4
Make update to bring in all the cipher/digest-related ENGINE changes.
...
NB: It looks like mkdef.pl is causing certain cvs wars by continually
flipping the order of some definitions ...
2001-09-25 21:47:27 +00:00
Geoff Thorpe
0b4b9a11f5
Put the cipher info back into the "openssl engine" command.
2001-09-25 21:45:03 +00:00
Geoff Thorpe
d7e0299792
Fiddling.
2001-09-25 21:44:12 +00:00
Geoff Thorpe
9dfdf0ad1d
This change puts the original OpenBSD /dev/crypto support that was in
...
crypto/evp/ into the corresponding ENGINE. This code is currently untested.
2001-09-25 21:43:08 +00:00
Geoff Thorpe
3b04cdd706
This change adds dummy RC4 and SHA1 support to the "openssl" ENGINE for
...
testing. Because of the recent changes (see crypto/engine/README), the
"openssl" ENGINE is no longer needed nor is it loaded automatically or by
ENGINE_load_builtin_engines(). So a explicit ENGINE_load_openssl() call is
required by applications or a modification to eng_all.c before this ENGINE
will be used. This change will send output to stderr as/when its
implementations are used.
2001-09-25 21:41:20 +00:00
Geoff Thorpe
11a57c7be5
This changes EVP's cipher and digest code to hook via the ENGINE support.
...
See crypto/engine/README for details.
- it also removes openbsd_hw.c from the build (that functionality is
going to be available in the openbsd ENGINE in a upcoming commit)
- evp_test has had the extra initialisation added so it will use (if
possible) any ENGINEs supporting the algorithms required.
2001-09-25 21:37:02 +00:00
Geoff Thorpe
b370230b78
This change adds cipher and digest support into ENGINE using the
...
ENGING_TABLE mechanism. The necessary hooks from crypto/evp/ to use this
will be committed shortly.
2001-09-25 21:28:40 +00:00
Geoff Thorpe
50a381b789
indentation.
2001-09-25 21:22:32 +00:00
Geoff Thorpe
534aaf3731
"make update".
2001-09-25 20:39:59 +00:00
Geoff Thorpe
6dc5d570d0
Make necessary tweaks to apps/ files due to recent ENGINE surgery. See
...
crypto/engine/README for details.
2001-09-25 20:35:01 +00:00
Geoff Thorpe
cb78486d97
This commits changes to various parts of libcrypto required by the recent
...
ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
pointers to manage their hooking with ENGINE. Previously their use of
"method" pointers was replaced by use of ENGINE references. See
crypto/engine/README for details.
Also, remove the ENGINE iterations from evp_test - even when the
cipher/digest code is committed in, this functionality would require a
different set of API calls.
2001-09-25 20:23:40 +00:00
Geoff Thorpe
9c9aa4f145
This commits the changes to STACK macros forced by recent ENGINE surgery.
2001-09-25 20:17:15 +00:00
Geoff Thorpe
b6d1e52d45
This change replaces the ENGINE's underlying mechanics with the new
...
ENGINE_TABLE-based stuff - as described in crypto/engine/README.
Associated miscellaneous changes;
- the previous cipher/digest hooks that hardwired directly to EVP's
OBJ_NAME-based storage have been backed out. New cipher/digest support
has been constructed and will be committed shortly.
- each implementation defines its own ENGINE_load_<name> function now.
- the "openssl" ENGINE isn't needed or loaded any more.
- core (not algorithm or class specific) ENGINE code has been split into
multiple files to increase readability and decrease linker bloat.
- ENGINE_cpy() has been removed as it wasn't really a good idea in the
first place and now, because of registration issues, can't be
meaningfully defined any more.
- BN_MOD_EXP[_CRT] support is removed as per the README.
- a bug in enginetest.c has been fixed.
NB: This commit almost certainly breaks compilation until subsequent
changes are committed.
2001-09-25 20:00:51 +00:00
Geoff Thorpe
f185e725a0
Some major restructuring changes to ENGINE, including integrated cipher and
...
digest support, are on their way. Rather than having gigantic commit log
messages and/or CHANGES entries, this change to the README will serve as an
outline of what it all is and how it all works.
2001-09-25 19:31:30 +00:00
Dr. Stephen Henson
591ccf586d
Fix AES CBC mode EVP_CIPHER structures: the IV length is always
...
16.
2001-09-25 13:49:58 +00:00
Bodo Möller
b7061c61b0
'openssl rsa' etc. should include AES support in addition to DES
2001-09-25 11:01:14 +00:00
Bodo Möller
8a428200a6
'openssl speed' does not include AES support yet
2001-09-25 10:30:15 +00:00
Geoff Thorpe
10b2328fea
"make update"
2001-09-24 17:42:35 +00:00
Richard Levitte
98c2a26ea6
In case of memory problems, the va_start() wasn't cleaned with a va_end().
...
Noticed by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at >.
2001-09-24 13:39:48 +00:00
Bodo Möller
965b6dad44
comment
2001-09-24 07:56:45 +00:00
Bodo Möller
a3d8c0fc5d
ignore binary
2001-09-24 07:56:02 +00:00
Bodo Möller
a32d795aae
avoid everything resembling a magic trigraph
2001-09-24 07:54:11 +00:00
Bodo Möller
ef3dc028ef
The 'no-rijndael' option must define OPENSSL_NO_AES because that is
...
what we look for in crypto/evp.
2001-09-22 01:40:47 +00:00
Bodo Möller
2413a3975f
crypto/idea and crypto/rijndael were missing in the list of
...
directories that may have been deleted
2001-09-22 01:39:51 +00:00
Bodo Möller
3b0b5abae3
bugfix: handle HelloRequest received during handshake correctly
2001-09-21 11:18:40 +00:00
Bodo Möller
b49124f6d9
Disable session related stuff in SSL_ST_OK case of ssl3_accept if we
...
just sent a HelloRequest.
2001-09-21 07:01:25 +00:00
Bodo Möller
2260ad21fb
Bugfix: correct cleanup after sending a HelloRequest
2001-09-21 00:04:15 +00:00
Bodo Möller
6b0e9facf4
New function SSL_renegotiate_pending().
...
New option SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION.
2001-09-20 22:54:09 +00:00
Bodo Möller
c404ff7955
make update
2001-09-20 22:52:19 +00:00
Bodo Möller
8e2f6b79ea
fix ssl3_accept: don't call ssl_init_wbio_buffer() in HelloRequest case
2001-09-20 21:37:13 +00:00
Bodo Möller
ee60d9fb28
Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't
...
reveal whether illegal block cipher padding was found or a MAC
verification error occured.
In ssl/s2_pkt.c, verify that the purported number of padding bytes is in
the legal range.
2001-09-20 18:35:52 +00:00
Bodo Möller
be6d77005f
comments
2001-09-20 15:41:34 +00:00
Bodo Möller
b263b66746
Change Makefile so that it works without any additional changes
...
at least on Solaris
2001-09-18 09:15:40 +00:00
Bodo Möller
5294dd705d
Another demo.
2001-09-17 19:07:00 +00:00
Geoff Thorpe
2b67158673
Some of the ENGINE file names were changed for 8.3 filename uniqueness
...
recently. So comments including file names have been fixed, and copyright
notices brought up to "2001" at the same time.
2001-09-14 18:31:57 +00:00
Geoff Thorpe
db744f8950
Fix a typo in the preprocessor logic in eng_list.c that had left RSA, DSA,
...
and DH all conditional upon OPENSSL_NO_RSA.
2001-09-14 18:23:31 +00:00
Geoff Thorpe
e059b19ddb
Add a SHA1 test to evptests.txt - only the MD5 hash algorithm was being
...
tested previously.
2001-09-14 18:21:36 +00:00
Geoff Thorpe
997a54c981
'evp_test' needs to initialise and cleanup EVP_CIPHER_CTX structures. Also,
...
fix a typo and add cleanup operations. This also switches on memory leak
checking (which is how the rest was found).
2001-09-14 18:20:44 +00:00
Bodo Möller
b78e502104
add comment
2001-09-14 13:47:25 +00:00
Bodo Möller
b6d0054a52
Get rid of junk (deleted/renamed function) by rebuilding
...
based on 0.9.6 tree.
2001-09-14 09:31:07 +00:00
Bodo Möller
117df10db4
add details
2001-09-14 08:45:43 +00:00
Lutz Jänicke
d300bcca7f
Typo.
2001-09-13 15:18:51 +00:00
Lutz Jänicke
d59c3e5046
One more manual page.
2001-09-13 15:05:42 +00:00
Lutz Jänicke
6d8566f2eb
Rework section about return values another time (based on hints from
...
Bodo Moeller).
2001-09-13 13:21:38 +00:00
Bodo Möller
4e1b0d8904
avoid "statement not reached" warning
2001-09-13 13:02:59 +00:00
Geoff Thorpe
8ce2912fbc
Updated dependencies from "make update"
2001-09-12 02:43:22 +00:00
Geoff Thorpe
1372965e2e
Reduce the header dependencies on engine.h in apps/.
2001-09-12 02:39:06 +00:00
Geoff Thorpe
1a1422643b
ENGINE uses a very opaque design, so we can predeclare the structure type
...
in "types.h" so that very few headers will need to include engine.h,
generally only C files using API functions will need it (reducing
the header dependencies quite a lot).
2001-09-12 02:34:20 +00:00
Geoff Thorpe
409960491d
ENGINE files were renamed, and error strings are now in eng_err.c
2001-09-12 01:54:17 +00:00
Dr. Stephen Henson
96bd6f730a
Add certificate and request demos.
...
Fix X509V3 macro so they compile.
2001-09-12 00:19:20 +00:00
Lutz Jänicke
c0f5dd070b
Make maximum certifcate chain size accepted from the peer application
...
settable (proposed by "Douglas E. Engert" <deengert@anl.gov >).
2001-09-11 13:08:51 +00:00
Bodo Möller
9d7a8d3578
add 'release showstopper' entry
2001-09-11 12:46:50 +00:00
Bodo Möller
4dec4f646d
update
2001-09-11 12:26:56 +00:00
Bodo Möller
2cb924b052
ex_data situation is no longer that bad
2001-09-11 12:20:20 +00:00
Geoff Thorpe
51ac0cfe44
make update
2001-09-10 21:18:11 +00:00
Geoff Thorpe
16e819e1d8
Put all "common" initialisation in the apps_startup() and apps_shutdown()
...
macros in apps.h.
2001-09-10 21:04:14 +00:00
Geoff Thorpe
1023cfe70d
enginetest needs 'memset' defined.
2001-09-10 21:02:06 +00:00
Ulf Möller
8e0a2d8461
missed one file
2001-09-10 20:16:31 +00:00
Bodo Möller
e13ae96d7c
While ispell may not like it, "cancelling" may be spelt with two "l"s
2001-09-10 18:59:53 +00:00
Bodo Möller
9f29ec4721
fix memory leak (I think)
2001-09-10 18:50:09 +00:00
Bodo Möller
b9a20b5057
remove an old comment
2001-09-10 18:49:25 +00:00
Bodo Möller
c2222c2ea2
restore previous revision -- memory leak should be fixed in mem.c
2001-09-10 18:47:33 +00:00
Bodo Möller
336da5642d
fix memory leak
2001-09-10 18:13:16 +00:00
Bodo Möller
8573fa1806
avoid warning ('const' discarded)
2001-09-10 17:46:54 +00:00
Bodo Möller
a52c2fb296
exclude disabled message digests
2001-09-10 17:18:56 +00:00
Bodo Möller
41450b27f2
add AES ciphers
2001-09-10 17:12:31 +00:00
Bodo Möller
e72d5983f2
Update so that progs.h can indeed be automatically generated
...
(Working file: progs.h
revision 1.24
date: 2001/02/19 16:06:03; author: levitte; state: Exp; lines: +59 -59
Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other packages and by making
sure e_os2.h will cover all platform-specific cases together with
opensslconf.h.
[...])
2001-09-10 17:00:28 +00:00
Bodo Möller
5a85385387
typo
2001-09-10 16:57:06 +00:00
Bodo Möller
5e54b4f364
Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case
...
distinction (which does not work well because if CRYPTO_MDEBUG is
defined at library compile time, it is not necessarily defined at
application compile time; and memory debugging now can be reconfigured
at run-time anyway). To get the intended semantics, we could just use
the EVP_DigestInit_dbg unconditionally (which uses the caller's
__FILE__ and __LINE__ for memory leak debugging), but this would make
memory debugging inconsistent. Instead, callers can use
CRYPTO_push_info() to track down memory leaks.
2001-09-10 15:00:30 +00:00
Bodo Möller
5ba372b17c
Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case
...
distinction (which does not work well because if CRYPTO_MDEBUG is
defined at library compile time, it is not necessarily defined at
application compile time; and memory debugging now can be reconfigured
at run-time anyway). To get the intended semantics, we could just use
the EVP_DigestInit_dbg unconditionally (which uses the caller's
__FILE__ and __LINE__ for memory leak debugging), but this would make
memory debugging inconsistent. Instead, callers can use
CRYPTO_push_info() to track down memory leaks.
Also fix indentation, and add OpenSSL copyright.
2001-09-10 14:59:17 +00:00
Bodo Möller
f9b0f47c0c
copyright
2001-09-10 14:51:19 +00:00
Bodo Möller
4deeadf7dc
Delete pointless casts
2001-09-10 14:10:10 +00:00
Bodo Möller
384eff877c
Fix apps/openssl.c and ssl/ssltest.c so that they use
...
CRYPTO_set_mem_debug_options() instead of CRYPTO_dbg_set_options(),
which is the default implementation of the former and should usually
not be directly used by applications (at least if we assume that the
options accepted by the default implementation will also be meaningful
to any other implementations).
Also fix apps/openssl.c and ssl/ssltest such that environment variable
setting 'OPENSSL_DEBUG_MEMORY=off' actively disables the compiled-in
library defaults (i.e. such that CRYPTO_MDEBUG is ignored in this
case).
2001-09-10 09:50:30 +00:00
Dr. Stephen Henson
68dbba9817
Replace old (and invalid) copyright notice.
2001-09-08 12:15:09 +00:00
Bodo Möller
ea7150b070
The various hash #includes in rand_lcl.h *are* needed despite
...
<openssl/evp.h> is now used (MD_DIGEST_LENGTH definitions!).
No need to include such headers directly in md_rand.c.
2001-09-07 23:55:15 +00:00
Lutz Jänicke
cb42ce0b67
Recognize OpenUNIX-8 with compiler
2001-09-07 12:13:10 +00:00
Ben Laurie
e8330cf5ac
Add a cleanup function for MDs.
2001-09-07 12:03:24 +00:00
Ben Laurie
7d34470458
Look up MD5 by name.
2001-09-07 11:45:42 +00:00
Ben Laurie
f1047cebea
Remove duplication.
2001-09-07 11:44:59 +00:00
Ben Laurie
da8a2e6f90
Now need sha.h for some reason.
2001-09-07 11:44:17 +00:00
Ben Laurie
546ec5a9b3
Redo type-safety fix.
2001-09-07 11:43:30 +00:00
Ulf Möller
e3fefbfd56
ispell
2001-09-07 06:39:38 +00:00
Ulf Möller
3b80e3aa9e
ispell
2001-09-07 06:13:40 +00:00
Ulf Möller
14cfde9c83
make engine file names unique in 8.3
2001-09-07 04:14:48 +00:00
Lutz Jänicke
9cabef963c
Completely reworked SVR5 shared library support.
2001-09-06 19:25:56 +00:00
Ulf Möller
ce9eab79a7
unused function
2001-09-06 17:02:33 +00:00
Ulf Möller
e9e202cfa8
include the proper header file
2001-09-06 16:25:34 +00:00
Ulf Möller
d83ae69455
double definition
2001-09-06 16:24:29 +00:00
Lutz Jänicke
bb4f7a8d52
Even more corrections for OpenUNIX 8
2001-09-06 14:28:35 +00:00
Bodo Möller
619b2c03dc
Avoid strdup.
...
(Some platforms need _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to get
the declaration, but on other platforms _XOPEN_SOURCE disables
the strdup declaration in <string.h>.)
2001-09-06 13:09:00 +00:00
Lutz Jänicke
aa4c2de10e
Sort out mess of colons...
2001-09-06 12:48:16 +00:00
Lutz Jänicke
6c36f7a9f2
Support for shared libraries on Unixware-7 and OpenUNIX-8
...
(Boyd Lynn Gerber <gerberb@zenez.com >).
2001-09-06 12:39:00 +00:00
Bodo Möller
78f7923580
Totally get rid of CRYPTO_LOCK_ERR_HASH.
...
In err.c, flags int_error_hash_set and int_thread_hash_set
appear superfluous since we can just as well initialize
int_error_hash and int_thread_hash to NULL.
Change some of the err.c formatting to conform with the rest of
OpenSSL.
2001-09-06 12:37:36 +00:00
Lutz Jänicke
978ebf0141
Build shared libaries for Unixware-7 and OpenUNIX-8 in old (pre 0.9.7)
...
style (Boyd Lynn Gerber <gerberb@zenez.com >).
2001-09-06 12:28:05 +00:00
Bodo Möller
a9ed4da8eb
improve OAEP check
2001-09-06 10:42:56 +00:00
Bodo Möller
e1a4814cd4
fix formatting so that the file can be view with any tab-width
2001-09-06 09:30:16 +00:00
Bodo Möller
3cad81f6fe
Mention DSO_up => DSO_up_ref renaming
2001-09-05 21:39:39 +00:00
Bodo Möller
4450107afb
Renaming DH_up to DH_up_ref does not warrant a CHANGES entry of its own
...
as the functions were only introduced a couple of days ago.
Some '*)' apparently should be '+)' as the changes do not apply
to the 0.9.6 bugfix branch.
2001-09-05 19:14:53 +00:00
Geoff Thorpe
908efd3b73
ENGINEs can now perform structural cleanup.
2001-09-05 19:07:01 +00:00
Geoff Thorpe
1a7691c059
This adds "destroy" handlers to the existing ENGINEs that load their own
...
error strings - the destroy handler functions unload the error strings so
any pending error state referring to them will not attempt to reference
them after the ENGINE has been destroyed.
2001-09-05 19:00:33 +00:00
Geoff Thorpe
f524ddbe04
ENGINE's init() and finish() handler functions are used when the ENGINE is
...
being enabled or disabled (respectively) for operation. Additionally, each
ENGINE has a constructor function where it can do more 'structural' level
intialisations such as loading error strings, creating "ex_data" indices,
etc. This change introduces a handler function that gives an ENGINE a
corresponding opportunity to cleanup when the ENGINE is being destroyed. It
also adds the "get/set" API functions that control this "destroy" handler
function in an ENGINE.
2001-09-05 18:32:23 +00:00
Geoff Thorpe
541814c403
Add some missing CHANGES items.
2001-09-05 17:50:24 +00:00
Bodo Möller
5013540224
Oops^2: It was the correct line, but an incorrect change.
2001-09-05 17:28:50 +00:00
Bodo Möller
94cb5ee63c
Oops, wrong line
2001-09-05 17:22:40 +00:00
Bodo Möller
fc9c61bc3b
-mcpu=i486 vs. -m486 ...
2001-09-05 17:18:14 +00:00
Geoff Thorpe
e815d3015e
Change DH_up() -> DH_up_ref()
2001-09-05 17:02:35 +00:00
Geoff Thorpe
dc2a33d680
"DH_up" had been changed to "DH_up_ref" in libeay.num but the function
...
declaration and implementation had not. So a recent update recreated the
original definition in libeay.num ... this corrects it and changes the "dh"
code to the "up_ref" variant.
2001-09-05 16:54:32 +00:00
Bodo Möller
7ba45bf133
Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
...
defined.
(Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are
supposed to disable anything not allowed by the respective
specification; I'm not sure why 'strdup' would be considered
an outlaw though.)
2001-09-05 14:40:05 +00:00
Ulf Möller
d98a4b7366
bug fix: bn_sqr_recursive output is twice its input size.
2001-09-05 04:43:43 +00:00
Ulf Möller
889a54c467
Eric Hanchrow points out that Cygwin perl works.
2001-09-05 02:27:07 +00:00
Ulf Möller
9d07fd03e3
Use GCC 2.95/3.0 optimization
2001-09-05 02:18:40 +00:00
Geoff Thorpe
a8a1878256
Update the ENGINE README, and stock it up with extra verbeage for good
...
measure (including info and instructions on "dynamic" ENGINEs).
2001-09-04 23:18:36 +00:00
Ulf Möller
5b46eee0f5
strsep implementation to allow the file to compile on non-BSD systems
...
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au >
2001-09-04 22:19:06 +00:00
Geoff Thorpe
e5e6a94fbf
Make the 'dynamic' ENGINE bundle up the loading application/library's
...
locking callbacks to pass to the loaded library (in addition to the
existing mem, ex_data, and err callbacks). Also change the default
implementation of the "bind_engine" function to apply those callbacks, ie.
the IMPLEMENT_DYNAMIC_BIND_FN macro.
2001-09-04 21:25:17 +00:00
Geoff Thorpe
d9ff889073
Add a "_up" -> "_up_ref" change to libeay.num that was missing from the
...
recent changes. Also, do the same change to the DSO_up() function.
2001-09-04 20:40:41 +00:00
Bodo Möller
e4decc418a
typo
2001-09-04 11:57:17 +00:00
Bodo Möller
cf5bfbfc21
Now that we have ERR_unload_strings(), ERR_load_ERR_strings() must
...
always load its strings because they might have been unloaded
since the 'init' flag was deleted.
But build_SYS_str_reasons() can use an 'init' flag.
2001-09-04 11:49:14 +00:00
Bodo Möller
567fef894e
changing something requires a write lock, not a read lock
2001-09-04 11:15:55 +00:00
Bodo Möller
6ee2a1365e
CHANGES should list all API changes relevant for applications
...
(here: X509_STORE_CTX_init())
2001-09-04 11:13:01 +00:00
Bodo Möller
435037d4e4
OpenSSL copyright notices ...
2001-09-04 11:02:23 +00:00
Bodo Möller
c5de8996cc
delete redundant ERR_load_CRYPTO_strings() prototype
2001-09-04 10:45:01 +00:00
Geoff Thorpe
2dc5383a20
This changes the existing hardware ENGINE implementations to dynamically
...
declare their own error strings so that they can be more easily compiled as
external shared-libraries if desired. Also, each implementation has been
given canonical "dynamic" support at the base of each file and is only
built if the ENGINE_DYNAMIC_SUPPORT symbol is defined.
Also, use "void" prototypes rather than empty prototypes in engine_int.h.
This does not yet;
(i) remove error strings when unloading,
(ii) remove the redundant ENGINE_R_*** codes (though ENGINE_F_*** codes
have gone), or
(iii) provide any instructions on how to build shared-library ENGINEs or
use them.
All are on their way.
2001-09-03 21:33:00 +00:00
Geoff Thorpe
9391f97715
This change adds a new ENGINE called "dynamic" that allows new ENGINE
...
implementations to be loaded from self-contained shared-libraries. It also
provides (in engine.h) definitions and macros to help implement a
self-contained ENGINE. Version control is handled in a way whereby the
loader or loadee can veto the load depending on any objections it has with
each other's declared interface level. The way this is currently
implemented assumes a veto will only take place when one side notices the
other's interface level is too *old*. If the other side is newer, it should
be assumed the newer version knows better whether to veto the load or not.
Version checking (like other "dynamic" settings) can be controlled using
the "dynamic" ENGINE's control commands. Also, the semantics for the
loading allow a shared-library ENGINE implementation to handle differing
interface levels on the fly (eg. loading secondary shared-libraries
depending on the versions required).
Code will be added soon to the existing ENGINEs to illustrate how they can
be built as external libraries rather than building statically into
libcrypto.
NB: Applications wanting to support "dynamic"-loadable ENGINEs will need to
add support for ENGINE "control commands". See apps/engine.c for an example
of this, and use "apps/openssl engine -vvvv" to test or experiment.
2001-09-03 19:15:29 +00:00
Geoff Thorpe
5b16639538
Note the "ERR_unload_strings" function.
2001-09-03 18:27:22 +00:00
Geoff Thorpe
1738bb61e1
Add a new ERR function, "ERR_unload_strings", to complement the existing
...
"ERR_load_strings" function.
2001-09-03 18:24:56 +00:00
Geoff Thorpe
91b3f0e691
Correct a typo.
2001-09-03 17:24:27 +00:00
Bodo Möller
6ac4e8bd6e
Rename recently introduced functions for improved code clarity:
...
[DR]SA_up => [DR]SA_up_ref
2001-09-03 13:40:07 +00:00
Bodo Möller
983495c4b2
Use uniformly chosen witnesses for Miller-Rabin test
...
(by using new BN_pseudo_rand_range function)
2001-09-03 12:58:16 +00:00
Bodo Möller
931a23a5a5
rearrange #includes because trying to include <crypto/cryptodev.h>
...
is a bad idea if OPENSSL_OPENBSD_DEV_CRYPTO is not defined
2001-09-03 12:37:13 +00:00
Geoff Thorpe
72849dce81
Convert "max" to "mx" for variable names (brought to my attention by Steve
...
Henson). Also, reverse a previous change that used an implicit function
pointer cast rather than an explicit data pointer cast in the STACK cleanup
code.
2001-09-02 20:41:34 +00:00
Ben Laurie
2618893114
Make MD functions take EVP_MD_CTX * instead of void *, add copy() function.
2001-09-02 20:05:27 +00:00
Geoff Thorpe
36026dfc01
Note the "ex_data" changes.
2001-09-01 20:20:16 +00:00
Geoff Thorpe
79aa04ef27
Make the necessary changes to work with the recent "ex_data" overhaul.
...
See the commit log message for that for more information.
NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented
(initialisation by "memset" won't/can't/doesn't work). This fixes that but
requires that X509_STORE_CTX_init() be able to handle errors - so its
prototype has been changed to return 'int' rather than 'void'. All uses of
that function throughout the source code have been tracked down and
adjusted.
2001-09-01 20:02:13 +00:00
Geoff Thorpe
3a0799977b
First step in fixing "ex_data" support. Warning: big commit log ...
...
Currently, this change merely addresses where ex_data indexes are stored
and managed, and thus fixes the thread-safety issues that existed at that
level. "Class" code (eg. RSA, DSA, etc) no longer store their own STACKS
and per-class index counters - all such data is stored inside ex_data.c. So
rather than passing both STACK+counter to index-management ex_data
functions, a 'class_index' is instead passed to indicate the class (eg.
CRYPTO_EX_INDEX_RSA). New classes can be dynamically registered on-the-fly
and this is also thread-safe inside ex_data.c (though whether the caller
manages the return value in a thread-safe way is not addressed).
This does not change the "get/set" functions on individual "ex_data"
structures, and so thread-safety at that level isn't (yet) assured.
Likewise, the method of getting and storing per-class indexes has not
changed, so locking may still be required at the "caller" end but is
nonetheless thread-safe inside "ex_data"'s internal implementation.
Typically this occurs when code implements a new method of some kind and
stores its own per-class index in a global variable without locking the
setting and usage of that variable. If the code in question is likely to be
used in multiple threads, locking the setting and use of that index is
still up to the code in question. Possible fixes to this are being
sketched, but definitely require more major changes to the API itself than
this change undertakes.
The underlying implementation in ex_data.c has also been modularised so
that alternative "ex_data" implementations (that control all access to
state) can be plugged in. Eg. a loaded module can have its implementation
set to that of the application loaded it - the result being that
thread-safety and consistency of "ex_data" classes and indexes can be
maintained in the same place rather than the loaded module using its own
copy of ex_data support code and state.
Due to the centralisation of "state" with this change, cleanup of all
"ex_data" state can now be performed properly. Previously all allocation of
ex_data state was guaranteed to leak - and MemCheck_off() had been used to
avoid it flagging up the memory debugging. A new function has been added to
perfrom all this cleanup, CRYPTO_cleanup_all_ex_data(). The "openssl"
command(s) have been changed to use this cleanup, as have the relevant test
programs. External application code may want to do so too - failure to
cleanup will not induce more memory leaking than was the case before, but
the memory debugging is not tricked into hiding it any more so it may
"appear" where it previously did not.
2001-09-01 19:56:46 +00:00
Geoff Thorpe
e19ea55783
Only OPENSSL_free() non-NULL pointers.
2001-09-01 18:37:17 +00:00
Ulf Möller
8716dbea40
undo, didn't work
2001-09-01 05:59:27 +00:00
Ulf Möller
e9bc66c84f
*** empty log message ***
2001-09-01 05:30:45 +00:00
Ulf Möller
c078798c60
strsep implementation to allow the file to compile on non-BSD systems
...
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au >
2001-09-01 05:05:32 +00:00
Ulf Möller
de73cca923
make update
2001-09-01 04:25:50 +00:00
Ulf Möller
b1051789d6
zlib default was broken on most platforms.
...
-mcpu=i486 is new as of gcc 2.95, and if you have that, you wouldn't
want to optimize for 486 anyway.
2001-09-01 04:18:00 +00:00
Geoff Thorpe
4db73c1bb8
(A version of) gcc had been giving somewhat odd "trigraph" warnings about
...
this construct, and Ulf provided the following insight as to why;
> ANSI C compliant compilers must substitute "??)" for "]" because your
> terminal might not have a "]" key if you bought it in the early 1970s.
So we escape the final '?' to avoid this pathological case.
2001-08-28 19:32:16 +00:00
Geoff Thorpe
3ae34e3a8c
Ensure that failure to create the BIO in 'CRYPTO_mem_leaks_fp' doesn't
...
leave memory debugging turned off.
[Spotted by Götz Babin-Ebell]
2001-08-28 15:54:57 +00:00
Ben Laurie
1f3b65801b
Fix SSL memory leak.
2001-08-28 13:45:41 +00:00
Geoff Thorpe
5e2c4e23f4
Make sure "CRYPTO_mem_leaks_fp" doesn't itself create a reportable memory
...
leak.
2001-08-27 22:12:56 +00:00
Geoff Thorpe
35780c2139
"make update"
2001-08-26 21:06:22 +00:00
Geoff Thorpe
ceff5fec5a
gcc can't spot that 'derlst' is not used uninitialised, so appease it.
2001-08-26 21:04:21 +00:00
Ben Laurie
4897dc4056
Test digests.
2001-08-26 17:09:31 +00:00
Ben Laurie
35e33f0e52
Add digests.
2001-08-26 17:09:00 +00:00
Geoff Thorpe
a844e27baa
Tidy up some code formatting.
2001-08-25 18:01:36 +00:00
Geoff Thorpe
0783bf151c
Note the "ERR" changes.
2001-08-25 17:59:13 +00:00
Geoff Thorpe
566bdf2bda
This changes the "ERR" code to have all access to state (a hash table of
...
error strings and a hash table storing per-thread error state) go via an
ERR_FNS function table. The first time an ERR operation occurs, the
implementation that will be used (from then on) is set to the internal
"defaults" implementation if it has not already been set. The actual LHASH
tables are only accessed by this implementation.
This is primarily for modules that can be loaded at run-time and bound into
an application (or a shared-library version of OpenSSL). If the module has
its own statically-linked copy of OpenSSL code - this mechanism allows it
to *not* create and use ERR information in its own linked "ERR" code, but
instead to use and interact with the state stored in the loader
(application or shared library). The loader calls ERR_get_implementation()
and the return value is what the module should use when calling its own
copy of ERR_set_implementation().
2001-08-25 17:51:59 +00:00
Geoff Thorpe
eb6dc02b23
Make a note of the "up" functions.
2001-08-25 17:37:46 +00:00
Geoff Thorpe
78435364ec
Changes crypto/evp/ and ssl/ code from directly incrementing reference
...
counts in DH, DSA, and RSA structures. Instead they use the new "***_up()"
functions that handle this.
2001-08-25 17:28:23 +00:00
Geoff Thorpe
5cbc2e8bc1
Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
...
dependant code has to directly increment the "references" value of each
such structure using the corresponding lock. Apart from code duplication,
this provided no "REF_CHECK/REF_PRINT" checking and violated
encapsulation.
2001-08-25 17:24:21 +00:00
Lutz Jänicke
e7cf7fcd21
Allow client certificate lists > 16kB ("Douglas E. Engert" <deengert@anl.gov>.)
2001-08-25 11:49:24 +00:00
Lutz Jänicke
bb8aab0211
Wording of comment...
2001-08-25 11:33:34 +00:00
Lutz Jänicke
0fbf5f7102
Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).
2001-08-25 11:31:19 +00:00
Lutz Jänicke
f1b2807478
More docs.
2001-08-24 14:29:48 +00:00
Lutz Jänicke
faacb092f8
-passin argument not used when actually loading the key
...
(found by Massimiliano Pala <madwolf@hackmasters.net >).
2001-08-24 13:33:15 +00:00
Dr. Stephen Henson
b439a74620
Load OCSP responder key before waiting for an incoming
...
connection so it can prompt for pass phrase on startup
instead of after the first connection.
Add -port switch to usage message.
2001-08-23 23:54:11 +00:00
Dr. Stephen Henson
3132ab8ce6
Add #ifdefs to some devcrypto code
2001-08-23 23:52:38 +00:00
Lutz Jänicke
bfd7bb3eb6
Typo.
2001-08-23 17:41:20 +00:00
Lutz Jänicke
11c8f0b79d
More manual pages. Constify.
2001-08-23 17:22:43 +00:00
Lutz Jänicke
c4068186ac
As discussed recently on openssl-users.
2001-08-23 15:00:11 +00:00
Lutz Jänicke
0a93a68020
Make clear, that using the compression layer is currently not recommended.
2001-08-23 09:42:12 +00:00
Ulf Möller
f2ab7d1392
typo.
2001-08-22 18:35:17 +00:00
Ben Laurie
c41ab9ade5
More tests.
2001-08-22 16:09:57 +00:00
Lutz Jänicke
141e584998
One more manual page...
2001-08-21 14:54:54 +00:00
Lutz Jänicke
336736ef35
Documentation on how to handle compression methods.
...
Hopefully it is clear enough, that it is currently not recommended.
2001-08-21 13:02:58 +00:00
Lutz Jänicke
df7cb13525
Checked in from the wrong !@#$%&*() copy...
2001-08-21 07:27:02 +00:00
Lutz Jänicke
d93eb21c7c
More interdependencies with respect to shutdown behaviour.
2001-08-20 14:34:16 +00:00
Lutz Jänicke
a403188f92
Alert description strings for TLSv1 and documentation.
2001-08-19 16:20:42 +00:00
Ben Laurie
82b2230527
Add RC4 support to OpenBSD.
2001-08-18 16:04:36 +00:00
Ben Laurie
a8a004987c
Add AES tests.
2001-08-18 16:02:52 +00:00
Ben Laurie
0e36019977
Add EVP test program.
2001-08-18 13:53:01 +00:00
Ben Laurie
354c3ace73
Add first cut symmetric crypto support.
2001-08-18 10:22:54 +00:00
Lutz Jänicke
52129c0b0b
More details about session timeout settings.
2001-08-17 16:36:51 +00:00
Lutz Jänicke
a52877a2f1
One more function documented.
2001-08-17 15:54:50 +00:00
Lutz Jänicke
cdd7c3ce92
SSL_shutdown() has even more properties...
2001-08-17 15:09:31 +00:00
Lutz Jänicke
c1497b4d19
One more step on the way for complete documentation...
2001-08-17 14:32:38 +00:00
Lutz Jänicke
b2ed462934
Unidirectional shutdown is allowed according to the RFC.
2001-08-17 09:08:32 +00:00
Richard Levitte
bb766a0ad6
Make sure evil file name characters, like spaces or ampersands (!),
...
don't disturb the rehashing process.
Spotted and suggested patch from Rudo Thomas <rudo@internet.sk >
2001-08-17 04:35:58 +00:00
Dr. Stephen Henson
b65f851318
Make -passin -passout etc work again.
...
Fix leak in ca.c when using -passin.
2001-08-17 01:09:54 +00:00
Dr. Stephen Henson
35bf35411c
Add CRL utility functions to allow CRLs to be
...
built up without accessing structures directly.
Update ca.c to use new functions.
Fix ca.c so it now build CRLs correctly again.
2001-08-17 00:33:43 +00:00
Lutz Jänicke
54fbc77dc8
Bugfixes provided by "Stephen Hinton" <shinton@netopia.com>.
2001-08-16 15:28:00 +00:00
Lutz Jänicke
9e09eebf94
Better description of the behaviour of SSL_shutdown() as it is now, broken
...
or not.
2001-08-16 14:27:55 +00:00
Richard Levitte
45a2f93906
gcc 3.0 tells me that -m486 is deprecated. The gcc 2.95 manual tells
...
me the same and that the correct option is -mcpu=i486. I'm assuming
-mcpu has been around for some time, and that it's therefore safe to
change all occurences of -m486 to -mcpu=i486.
2001-08-13 14:09:31 +00:00
Geoff Thorpe
6982c0da4e
The indexes returned by ***_get_ex_new_index() functions are used when
...
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
2001-08-12 17:14:35 +00:00
Geoff Thorpe
b7727ee616
The indexes returned by ***_get_ex_new_index() functions are used when
...
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
2001-08-12 16:52:00 +00:00
Ben Laurie
f0446ca8d7
Move CIPHER_CTX cleanups to _Final routines instead of _Init, which avoids
...
problems with leaks and uninitialised structures.
2001-08-11 11:32:54 +00:00
Richard Levitte
6bc847e49e
Apply the Tru64 patch from Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
...
His comments are:
1) Changes all references for `True64' to be `Tru64', which is the correct
spelling for the OS name.
2) Makes `alpha-cc' be the same as `alpha164-cc', and adds an `alphaold-cc'
entry that is the same as the previous `alpha-cc'. The reason is that most
people these days are using the newer compiler, so it should be the default.
3) Adds a bit of commentary to Configure, regarding the name changes of
the OS over the years, so it's not so confusing to people that haven't been
with the OS for a while.
4) Adds an `alpha-cc-rpath' target (which is *not* selected automatically
by Configure under any circumstance) that builds an RPATH into the
shared libraries. This is explained in the comment in Configure. It's
very very useful for people that want it, and people that don't want it
just shouldn't choose that target.
5) Adds the `-pthread' flag as the best way to get POSIX thread support
from the newer compiler.
6) Updates the Makefile targets, so that when the `alpha164-cc', `alpha-cc',
or `alpha-cc-rpath' target is what Configure is set to use, it uses a Makefile
target that includes the `-msym' option when building the shared library.
This is a performance enhancement.
7) Updates `config' so that if it detects you're running version 4 or 5
of the OS, it automatically selects `alpha-cc', but uses `alphaold-cc'
for versions 1-3 of the OS.
8) Updates the comment in opensslv.h, fixing both the OS name typo and
adding a reference to IRIX 6.x, since the shared library semantics are
virtually identical there.
2001-08-10 15:26:21 +00:00
Bodo Möller
3f1c4e49a3
add missing link
2001-08-08 15:09:06 +00:00
Bodo Möller
37a7cd1a11
Bugfix: larger message size in ssl3_get_key_exchange() because
...
ServerKeyExchange message may be skipped.
Submitted by: Petr Lampa <lampa@fee.vutbr.cz >
2001-08-07 09:30:18 +00:00
Lutz Jänicke
3a2d9c4dd0
Fix typos (shinagawa@star.zko.dec.com)
2001-08-07 07:52:53 +00:00
Bodo Möller
e51d1321fc
More typedef'd struct names as search targets
2001-08-06 11:57:08 +00:00
Bodo Möller
b9fdb3eb99
Reinsert typedef'ed names for structs to help those trying to read the
...
sourcecode (including fgrep)
2001-08-06 11:49:31 +00:00
Ben Laurie
d66ace9da5
Start to reduce some of the header bloat.
2001-08-05 18:02:16 +00:00
Ben Laurie
db75357110
Fix memory leak.
2001-08-05 16:13:49 +00:00
Ben Laurie
0713f8abe6
Parameter correction for CIOFSESSION.
2001-08-04 12:16:56 +00:00
Ben Laurie
93d9121a77
Remove extra whitespace. Sorry.
2001-08-03 21:09:21 +00:00
Ben Laurie
92dad6cc84
Reinstate accidentally deleted code.
2001-08-03 19:00:43 +00:00
Ben Laurie
61454a9f8c
Get rid of the stuff we, err, got rid of.
2001-08-03 18:52:50 +00:00
Ben Laurie
bb2297a41d
Header bloat reduction for EVP_PKEY.
2001-08-03 18:48:35 +00:00
Ben Laurie
75e98d0563
This ghastly hack prevents CVS wars over Kerberos (which is disabled by default).
2001-08-03 18:45:35 +00:00
Lutz Jänicke
e9eb000c53
Oops, one SSL_OP_NON_EXPORT_FIRST was left.
2001-08-03 13:05:44 +00:00
Ben Laurie
1ba01caaa3
Make /dev/crypto work with new EVP structures.
2001-08-03 11:54:37 +00:00
Richard Levitte
5cd6571fae
Make sure memcpy() gets properly declared by including string.h.
2001-08-03 10:54:00 +00:00
Bodo Möller
6383bbe525
remove a comma
2001-08-03 09:28:02 +00:00
Lutz Jänicke
06da6e4977
Don't disable rollback attack detection as a recommended bug workaround.
2001-08-03 08:45:13 +00:00
Lutz Jänicke
b72faddc47
Mention removed option.
2001-08-01 10:07:55 +00:00
Lutz Jänicke
d92f0bb6e9
Remove SSL_OP_NON_EXPORT_FIRST:
...
It did not work, it was deactivated by #if 0/#endif anyway _and_ we now have
the working SSL_OP_CIPHER_SERVER_PREFERENCE.
2001-08-01 10:06:32 +00:00
Richard Levitte
710e5d5639
make update
2001-07-31 17:07:24 +00:00
Richard Levitte
6da980e2b5
Make sure the source file is included among the dependencies. This is
...
the norm for 'gcc -M' but not for 'makedepend', and is merely
introduced here to avoid commit wars.
2001-07-31 17:02:44 +00:00
Lutz Jänicke
37f599bcec
Reworked manual pages with a lot of input from Bodo Moeller.
2001-07-31 15:04:50 +00:00
Ben Laurie
8408f4fbc7
Document DES changes better.
2001-07-31 13:33:58 +00:00
Ben Laurie
534164ef90
Remove old unused stuff.
2001-07-31 12:03:26 +00:00
Lutz Jänicke
e32c852e1e
Indent.
2001-07-31 10:19:20 +00:00
Richard Levitte
dbfc0f8c2b
Vade retro C++ comments!
...
(Latin for "comments", anyone?)
2001-07-31 09:15:52 +00:00
Richard Levitte
3728974460
Make as sure as possible that gethostname() will be properly declared.
2001-07-31 08:50:20 +00:00
Richard Levitte
fdc2bbcacb
Correct most of the unsigned vs. signed warnings (or int vs. size_t),
...
and rename some local variables to avoid name shadowing.
2001-07-31 08:45:40 +00:00
Richard Levitte
c2a3358b60
Whoops, my fault, a backslash got converted to a slash...
2001-07-31 08:44:28 +00:00
Richard Levitte
882e891284
More Kerberos SSL changes from Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
First, it corrects a problem introduced in the last patch where the
kssl_map_enc() would intentionally return NULL for valid ENCTYPE
values. This was done to prevent verification of the kerberos 5
authenticator from being performed when Derived Key ciphers were
in use. Unfortunately, the authenticator verification routine was
not the only place that function was used. And it caused core dumps.
Second, it attempt to add to SSL_SESSION the Kerberos 5 Client
Principal Name.
2001-07-31 07:21:06 +00:00
Ben Laurie
05bbf78afd
Remove //.
2001-07-31 06:47:23 +00:00
Richard Levitte
99ecb90a99
make update
2001-07-31 06:40:10 +00:00
Ben Laurie
dbad169019
Really add the EVP and all of the DES changes.
2001-07-30 23:57:25 +00:00
Ben Laurie
3ba5d1cf2e
Make EVPs allocate context memory, thus making them extensible. Rationalise
...
DES's keyschedules.
I know these two should be separate, and I'll back out the DES changes if they
are deemed to be an error.
Note that there is a memory leak lurking in SSL somewhere in this version.
2001-07-30 17:46:22 +00:00
Ben Laurie
be2e2c3297
Only set the verify callback if there's one to set!
2001-07-30 17:17:26 +00:00
Andy Polyakov
ed0015284b
Just a "get to know your system" bit.
2001-07-30 16:46:37 +00:00
Andy Polyakov
6d03b73e35
Enhanced support for IA-64 Linux and HP-UX (as well as better support for
...
HP-UX in common in ./config). Note that for the moment of this writing
none of 64-bit platforms pass bntest. I'm committing this anyway as it's
too frustrating to patch snapshots over and over while 0.9.6 is known to
work.
2001-07-30 16:42:15 +00:00
Andy Polyakov
622d3d3592
Support for Intel and HP-UXi assemblers.
2001-07-30 15:54:13 +00:00
Ben Laurie
0e06354402
ANSIfication.
2001-07-30 15:33:46 +00:00
Andy Polyakov
62c271610b
Typo in stty command lines.
2001-07-30 14:33:58 +00:00
Lutz Jänicke
db089ad60d
Don't miss files...
2001-07-30 11:50:37 +00:00
Lutz Jänicke
1f0c9ad7e1
Fix inconsistent behaviour with respect to verify_callback handling.
2001-07-30 11:45:34 +00:00
Lutz Jänicke
06efc222f9
Forgot to mention second fix.
2001-07-30 11:33:53 +00:00
Bodo Möller
de3333bae4
length of secret exponent is needed only when we create one
2001-07-27 22:45:35 +00:00
Bodo Möller
924875e53b
Undo DH_generate_key() change: s3_srvr.c was using it correctly
2001-07-27 22:34:25 +00:00
Lutz Jänicke
3a64458217
Another uninitialized static that may lead to problems on Solaris under some
...
circumstances.
2001-07-27 12:35:27 +00:00
Richard Levitte
ea71c22731
Addapt VMS script to the latest changes in the makefiles.
2001-07-27 07:47:51 +00:00
Dr. Stephen Henson
dc706cd35f
Make sure *outl is always initialized in EVP_EncryptUpdate().
2001-07-27 02:24:47 +00:00
Dr. Stephen Henson
1241126adf
More linker bloat reorganisation:
...
Split private key PEM and normal PEM handling. Private key
handling needs to link in stuff like PKCS#8.
Relocate the ASN1 *_dup() functions, to the relevant ASN1
modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously
these were all in crypto/x509/x_all.c along with every ASN1
BIO/fp function which linked in *every* ASN1 function if
a single dup was used.
Move the authority key id ASN1 structure to a separate file.
This is used in the X509 routines and its previous location
linked in all the v3 extension code.
Also move ASN1_tag2bit to avoid linking in a_bytes.c which
is now largely obsolete.
So far under Linux stripped binary with single PEM_read_X509
is now 238K compared to 380K before these changes.
2001-07-27 02:22:42 +00:00
Dr. Stephen Henson
19da130053
First of several reorganisations to
...
reduce linker bloat. For example the
single line:
PEM_read_X509()
results in a binary of around 400K in Linux!
This first step separates some of the PEM functions and
avoids linking in some PKCS#7 and PKCS#12 code.
2001-07-26 22:34:45 +00:00
Lutz Jänicke
a75b191502
Fix problem occuring when used from OpenSSH on Solaris 8.
2001-07-26 09:02:44 +00:00
Bodo Möller
e5cb260365
DH key generation should not use a do ... while loop,
...
or bogus DH parameters can be used for launching DOS attacks
2001-07-25 17:48:51 +00:00
Bodo Möller
6aecef815c
Don't preserve existing keys in DH_generate_key.
2001-07-25 17:20:34 +00:00
Bodo Möller
daba492c3a
md_rand.c thread safety
2001-07-25 17:17:24 +00:00
Bodo Möller
24cff6ced5
always reject data >= n
2001-07-25 17:02:58 +00:00
Andy Polyakov
ac7b42610f
Support for 64-bit Solaris build with GCC 3.0 and later. It should be
...
explicitely noted that 64-bit SPARCv9 ABI is not officially supported
by GCC 3.0 (support is scheduled for 3.1 release), but it appears to
work, at the very least 'make test' passes...
2001-07-25 15:58:57 +00:00
Lutz Jänicke
7abe76e1bd
Fix wrong information about SSL_set_connect_state()...
2001-07-25 12:12:51 +00:00
Bodo Möller
7bc03ded12
add a comment
2001-07-25 10:04:14 +00:00
Bodo Möller
ea3b8af50a
avoid warnings
2001-07-24 14:20:36 +00:00
Bodo Möller
badb910f3c
Avoid race condition.
...
Submitted by: Travis Vitek <vitek@roguewave.com >
2001-07-24 12:31:14 +00:00
Geoff Thorpe
3866752e7e
- New INSTALL document describing different ways to build "tunala" and
...
possible problems.
- New file breakage.c handles (so far) missing functions.
- Get rid of some signed/unsigned/const warnings thanks to solaris-cc
- Add autoconf/automake input files, and helper scripts to populate missing
(but auto-generated) files.
This change adds a configure.in and Makefile.am to build everything using
autoconf, automake, and libtool - and adds "gunk" scripts to generate the
various files those things need (and clean then up again after). This means
that "autogunk.sh" needs to be run first on a system with the autotools,
but the resulting directory should be "configure"able and compilable on
systems without those tools.
2001-07-23 19:03:48 +00:00
Lutz Jänicke
3e3dac9f97
Additional inline reference.
2001-07-23 12:57:37 +00:00
Lutz Jänicke
397ba0f08a
Add missing reference.
2001-07-23 12:52:05 +00:00
Geoff Thorpe
07ad8f5d17
Tidy up "cvs update" output a bit.
2001-07-22 23:21:33 +00:00
Richard Levitte
47c3448a97
Not all platforms have the OpenBSD crypto device.
2001-07-21 11:54:24 +00:00
Lutz Jänicke
4db48ec0bd
Documentation about ephemeral key exchange
2001-07-21 11:02:17 +00:00
Ben Laurie
c518ade1fd
Clean up EVP macros, rename DES EDE3 modes correctly, temporary support for
...
OpenBSD /dev/crypto (this will be revamped later when the appropriate machinery
is available).
2001-07-21 10:24:07 +00:00
Richard Levitte
acdf4afb91
More Kerberos SSL patches from Vern Staats <staatsvr@asc.hpc.mil>.
...
His comments are:
This patch fixes the problem of modern Kerberos using "derived keys"
to encrypt the authenticator by disabling the authenticator check
for all derived keys enctypes.
I think I've got all the bugfixes that Jeffrey and I discussed rolled
into this. There were some problems with Jeffrey's code to convert
the authenticator's Kerberos timestring into struct tm (e.g. Z, -1900;
it helps to have an actual decryptable authenticator to play with).
So I've shamelessly pushed in my code, while stealing some bits from
Jeffrey.
2001-07-21 09:43:43 +00:00
Lutz Jänicke
6d3dec92fb
Updated explanation.
2001-07-20 19:23:43 +00:00
Lutz Jänicke
2d3b6a5be7
Some more documentation bits.
2001-07-20 18:57:15 +00:00
Geoff Thorpe
81d1998e09
Currently, RSA code, when using no padding scheme, simply checks that input
...
does not contain more bytes than the RSA modulus 'n' - it does not check
that the input is strictly *less* than 'n'. Whether this should be the
case or not is open to debate - however, due to security problems with
returning miscalculated CRT results, the 'rsa_mod_exp' implementation in
rsa_eay.c now performs a public-key exponentiation to verify the CRT result
and in the event of an error will instead recalculate and return a non-CRT
(more expensive) mod_exp calculation. As the mod_exp of 'I' is equivalent
to the mod_exp of 'I mod n', and the verify result is automatically between
0 and n-1 inclusive, the verify only matches the input if 'I' was less than
'n', otherwise even a correct CRT calculation is only congruent to 'I' (ie.
they differ by a multiple of 'n'). Rather than rejecting correct
calculations and doing redundant and slower ones instead, this changes the
equality check in the verification code to a congruence check.
2001-07-20 15:16:10 +00:00
Andy Polyakov
6b46ca135a
Missing line 0.9.6b release and IA-64 patch advertisement:-)
2001-07-17 14:39:26 +00:00
Richard Levitte
fa293e4e4b
SSL_get_rfc were documented but not implemented.
2001-07-16 10:50:29 +00:00
Richard Levitte
24cbf3efc6
SSL_get_[rw]fd were documented but not implemented.
2001-07-15 20:11:57 +00:00
Dr. Stephen Henson
534a1ed0cb
Allow OCSP server to handle multiple requests.
...
Document new OCSP options.
2001-07-13 13:13:44 +00:00
Dr. Stephen Henson
ee306a1332
Initial OCSP server support, using index.txt format.
...
This can process internal requests or behave like a
mini responder.
Todo: documentation, update usage info.
2001-07-12 20:41:51 +00:00
Richard Levitte
45442167b0
Prevent KSSL server from requesting a client certificate.
...
Submitted by Jeffrey Altman <jaltman@columbia.edu >
2001-07-12 16:17:33 +00:00
Richard Levitte
131645ecce
paddr may be NULL. Do not crash if it is.
2001-07-12 15:54:10 +00:00
Richard Levitte
f1ca5f5b89
Clarify that zlib-dynamic is the default choice.
2001-07-12 09:19:34 +00:00
Richard Levitte
e452de9d87
Add the possibility to specify the use of zlib compression and
...
decompression. It can be set up to link at link time or to load the
zlib library at run-time.
2001-07-12 09:11:14 +00:00
Lutz Jänicke
a0256f462a
Clarify actual state.
2001-07-12 08:53:50 +00:00
Richard Levitte
82d5d46c14
Some of the Kerberos code had dissapeared. Reapply.
2001-07-12 08:51:47 +00:00
Richard Levitte
0665dd6852
Document the recent Kerberos SSL changes.
2001-07-12 04:23:57 +00:00
Dr. Stephen Henson
98fc09b18a
Delete extra ;
2001-07-11 22:54:24 +00:00
Dr. Stephen Henson
192ebef8cf
In ocsp_match_issuerid() we are passed the CA that signed the responder
...
certificate so need to match its subject with the certificate IDs in the
response.
2001-07-11 22:42:20 +00:00
Richard Levitte
b01ab14338
make update
...
Note that since some private kssl functions were exported, the
simplest way to rebuild the number table was to toss everything that
was new since OpenSSL 0.9.6b. This is safe, since those functions
have not yet been exported in an OpenSSL release. Beware, people who
trust intermediary snapshots!
2001-07-11 21:15:03 +00:00
Richard Levitte
2a96235bf7
Include kssl_lcl.h where needed.
2001-07-11 21:11:40 +00:00
Richard Levitte
1cf9bf00f4
Private functions do not belong in an exported header file, so move
...
them to one that won't get exported.
2001-07-11 21:09:30 +00:00
Richard Levitte
a5224c3420
Changes to the Kerberos SSL code by Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
. adds use of replay cache to protect against replay attacks
. adds functions kssl_tgt_is_available() and
kssl_keytab_is_available() which are used within s3_lib.c
and ssl_lib.c to determine at runtime whether or not
KRB5 ciphers can be supported during the current session.
2001-07-11 19:03:58 +00:00
Geoff Thorpe
af436bc158
openssl speed is quite useful for testing hardware support (among other
...
things), especially as the RSA keys are fixed. However, DSA only fixes the
DSA parameters and then generates the public and private components on the
fly each time - this commit hard-codes some sampled key values so that this
is no longer the case.
2001-07-11 18:59:25 +00:00
Richard Levitte
ab603c6987
Code to avoid the use of non-standard strptime(). By
...
Jeffrey Altman <jaltman@columbia.edu >
(Really, the time that's being parsed is a GeneralizedTime, so if
ASN1_GENERALIZEDTIME_get() ever gets implemented, it should be used
instead)
2001-07-11 16:13:36 +00:00
Lutz Jänicke
9c11a0e541
Typo...
2001-07-11 15:49:35 +00:00
Richard Levitte
8de83bf876
Changes to the Kerberos SSL code by Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
. Fixed all of the Windows dynamic loading functions, prototypes, etc.
. Corrected all of the unsigned/signed comparison warnings
. Replaced the references to krb5_cksumarray[] for two reasons.
First, it was an internal variable that should not have been
referenced outside the library; nor could it have been with
a shared library with restricted exports. Second, the
variable is no longer used in current Kerberos implementations.
I replaced the code with equivalent functionality using functions
that are exported from the library.
2001-07-11 15:31:45 +00:00
Lutz Jänicke
679df234b7
What is an '-engine' version?
2001-07-11 15:31:21 +00:00
Richard Levitte
26eaab0990
The implementation of the TKTBODY ASN.1 functions was missing.
2001-07-11 15:29:33 +00:00
Richard Levitte
7be96d7c9f
make update
2001-07-11 15:16:15 +00:00
Richard Levitte
d11493934c
Make sure crypto/krb5/krb5_asn.h is copied to the directory of
...
exported header files.
2001-07-11 15:15:31 +00:00
Richard Levitte
c62da732a4
Make sure crypto/krb5/krb5_asn.h becomes part of libeay.num.
2001-07-11 15:14:22 +00:00
Lutz Jänicke
a1a63a4239
Clarify! (based on recent mailing-list discussions)
2001-07-11 15:10:28 +00:00
Richard Levitte
103a434386
One forgotten function.
2001-07-11 07:10:43 +00:00
Richard Levitte
567671e291
make update
2001-07-10 21:00:37 +00:00
Richard Levitte
d8a750ee7f
EVP_Digest() takes one more parameter.
2001-07-10 20:58:13 +00:00
Bodo Möller
9c10b2c8d3
For consistency with the terminology used in my SAC2001 paper, avoid
...
the term "simultaneous multiplication" (which -- acording to the
paper, at least -- applies only to certain methods which we don't use
here)
2001-07-10 11:41:29 +00:00
Bodo Möller
56a106115f
comment change
2001-07-10 11:28:53 +00:00
Bodo Möller
e9ad0d2c31
Fix PRNG.
2001-07-10 10:49:34 +00:00
Bodo Möller
97639f0d73
In version numbers, there is just one "M" nybble.
2001-07-10 10:04:26 +00:00
Bodo Möller
e3a4f8b84c
Precomputation will not necessarily be LIm-Lee precomputation.
2001-07-10 10:04:05 +00:00
Richard Levitte
7e99812432
If I define _XOPEN_SOURCE before including *any* system header file,
...
things will work much more smoothly.
2001-07-09 21:51:03 +00:00
Richard Levitte
2a1ef75435
Patches from Vern Staats <staatsvr@asc.hpc.mil> to get Kerberos 5 in
...
SSL according to RFC 2712. His comment is:
This is a patch to openssl-SNAP-20010702 to support Kerberized SSL
authentication. I'm expecting to have the full kssl-0.5 kit up on
sourceforge by the end of the week. The full kit includes patches
for mod-ssl, apache, and a few text clients. The sourceforge URL
is http://sourceforge.net/projects/kssl/ .
Thanks to a note from Simon Wilkinson I've replaced my KRB5 AP_REQ
message with a real KerberosWrapper struct. I think this is fully
RFC 2712 compliant now, including support for the optional
authenticator field. I also added openssl-style ASN.1 macros for
a few Kerberos structs; see crypto/krb5/ if you're interested.
2001-07-09 21:46:58 +00:00
Ben Laurie
c148d70978
A better compromise between encrypt and decrypt (but why isn't it as fast
...
for encrypt?).
2001-07-09 21:00:36 +00:00
Ben Laurie
7b6055d1af
Handle the common case first (where input size is a multiple of block size).
...
Worth around 5% for encrypt. Slows down decrypt slightly, but I expect to
regain that later.
2001-07-08 19:42:10 +00:00
Ben Laurie
f31b12503e
Use & instead of % - worth about 4% for 8 byte blocks.
2001-07-08 17:27:32 +00:00
Ben Laurie
f82197ad75
Don't update argc, argv for decrypt flag!
2001-07-08 12:58:10 +00:00
Ben Laurie
3f37e73bae
Speed test decrypt EVP operations.
2001-07-08 12:14:41 +00:00
Ben Laurie
0774f470d9
Correct const-ness.
2001-07-08 11:42:38 +00:00
Ben Laurie
d7a9e91688
Remove unnecessary casts.
2001-07-06 22:06:08 +00:00
Ben Laurie
601cb9be20
Constification.
2001-07-06 21:35:00 +00:00
Richard Levitte
f3229ee19a
Use one address consistently.
2001-07-05 10:20:07 +00:00
Richard Levitte
219a3580b7
Change info to correct values.
2001-07-05 10:19:13 +00:00
Bodo Möller
d63c6bd397
Align with 0.9.6-stable CHANGES file, and make some corrections.
2001-07-04 20:56:47 +00:00
Bodo Möller
fdb61e583a
Engine memory leaks have been fixed by now.
2001-07-04 20:56:08 +00:00
Bodo Möller
b8e2f83ae6
Call ENGINE_cleanup() to avoid memory leak.
2001-07-04 20:55:36 +00:00
Bodo Möller
93dbd83570
Entry for Andy's mips3.s fix.
2001-07-04 20:17:27 +00:00
Ben Laurie
5be022712a
Update nCipher header with more liberal licence.
2001-07-04 12:26:39 +00:00
Lutz Jänicke
43f9391bcc
When only the key is given to "enc", the IV is undefined
...
(found by Andy Brown <logic@warthog.com >).
2001-07-03 10:31:11 +00:00
Richard Levitte
c1c971654b
Make an extra note about shared libraries and backward compatibility.
2001-07-03 01:43:11 +00:00
Richard Levitte
72b1072fbd
Let's include cryptlib.h *before* things like NO_SYSLOG are tested or
...
used.
2001-07-02 20:43:01 +00:00
Richard Levitte
3bfd99bfbb
[Forgotten commits?]
...
Changes to have OpenSSL compile on OS/2.
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au >
2001-07-02 20:41:05 +00:00
Ben Laurie
a169e82065
Fix warning.
2001-07-02 12:50:30 +00:00
Richard Levitte
c80410c50c
Insuline shot
2001-07-01 23:15:43 +00:00
Richard Levitte
dc01b6b1f2
Changes to have OpenSSL compile on OS/2.
...
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au >
2001-07-01 22:39:46 +00:00
Dr. Stephen Henson
b7a26e6daf
Modify apps to use NCONF code instead of old CONF code.
...
Add new extension functions which work with NCONF.
Tidy up extension config routines and remove redundant code.
Fix NCONF_get_number().
Todo: more testing of apps to see they still work...
2001-06-28 11:41:50 +00:00
Richard Levitte
ce16450a89
Make better use of load_cert, load_certs and load_key.
2001-06-27 09:12:43 +00:00
Dr. Stephen Henson
9d2e51c199
Another empty X509_NAME fix.
2001-06-26 12:39:22 +00:00
Dr. Stephen Henson
1e325f6149
Handle empty X509_NAME in printing routines.
2001-06-26 12:04:35 +00:00
Bodo Möller
c458a33196
DSA verification should insist that r and s are in the allowed range.
2001-06-26 09:48:17 +00:00
Richard Levitte
7953b8ff1b
Make better use of load_cert, load_certs and load_key.
2001-06-25 14:23:36 +00:00
Richard Levitte
b1460627f3
Make get_ip() a bit more strict in it's parsing of IP addresses, and
...
at the same time a bit more accepting with host names.
2001-06-25 14:12:45 +00:00
Richard Levitte
5abc8ae6f9
Make better use of load_cert, load_certs and load_key.
2001-06-25 14:00:47 +00:00
Bodo Möller
6a184a6098
Translate into valid C (don't call functions with wrong prototypes).
2001-06-25 10:09:55 +00:00
Richard Levitte
3d5e97f560
Call apps_shutdown() to take down what apps_startup() set up.
2001-06-25 08:35:59 +00:00
Richard Levitte
54c7559a7e
Make sure we don't return 0 on error.
2001-06-24 07:00:41 +00:00
Dr. Stephen Henson
0c9de428ae
In {RSA,DSA,DH}_new_method(x) need to increase the reference
...
count of the ENGINE is x is not NULL since it will be freed
in {RSA,DSA,DH}_free().
2001-06-23 23:07:34 +00:00
Richard Levitte
f13def508c
Use the new UI features, among others the new boolean input.
...
NOTE: Boolean input hasn't been very well tested yet, so this part may
fail miserably.
2001-06-23 16:46:14 +00:00
Richard Levitte
1ae6ddac91
Including stdio.h before setting _XOPEN_SOURCE and
...
_XOPEN_SOURCE_EXTENDED wasn't very smart...
2001-06-23 16:44:15 +00:00
Richard Levitte
55dcfa421c
make update
2001-06-23 16:43:03 +00:00
Richard Levitte
c04f8cf44a
Use apps_shutdown() in all applications, in case someone decides not
...
to go the monolith way (does anyone do that these days?).
NOTE: a few applications are missing in this commit. I've a few more
changes in them that I haven't tested yet.
2001-06-23 16:37:32 +00:00
Richard Levitte
870d986131
apps_startup() needs a corresponding apps_shutdown().
2001-06-23 16:31:41 +00:00
Richard Levitte
4f272c17f5
Make use of new features in UI's. Among others, the application
...
password callbak doesn't need to check for sizes any more.
2001-06-23 16:30:14 +00:00
Richard Levitte
fd3e027faa
Oops, applies to 0.9.7 only.
2001-06-23 16:28:21 +00:00
Richard Levitte
235dd0a22a
Document recent changes.
2001-06-23 16:27:37 +00:00
Richard Levitte
b589977b9e
Do not loop i the OpenSSL UI method any more. Instead, letthe
...
application do that.
NOTE: there's no requirement for other UI_METHODs to avoid this kind
of loop. For example, a GUI UI_METHOD would probably check the
lengths of the answers from within instead of being constantly
redisplayed for everything that is wrong.
2001-06-23 16:25:56 +00:00
Richard Levitte
291e4a6ebe
make update
2001-06-23 16:23:17 +00:00
Richard Levitte
2d2ed9dffd
Implement boolean (yes/no or OK/Cancel, ...) input.
...
Implement UI controls. Current controls are the possibility to output
the OpenSSL error stack on the same channel from within UI_process()
and to check if the same user interface can be redone without being
rebuilt (this is often more a question of philosophy than
technicalities).
2001-06-23 16:22:48 +00:00
Richard Levitte
8ada6e7705
New error printing function that gives the possibility to print the
...
errors through an arbitrary function.
2001-06-23 15:06:17 +00:00
Richard Levitte
7f657f342a
Include the UI error strings.
2001-06-23 15:04:51 +00:00
Richard Levitte
20e8f0ee27
For the UI functions that return an int, 0 or any positive number is a
...
success return, any negative number is a failure. Make sure we check
the return value with that in mind.
2001-06-23 14:51:53 +00:00
Dr. Stephen Henson
429266b7e4
Fix hwcrhk_insert_card.
2001-06-23 12:50:06 +00:00
Dr. Stephen Henson
2c7bc88d78
Fix UI leak in apps.
2001-06-23 12:48:46 +00:00
Dr. Stephen Henson
54f7ebe789
In UI_dup_*() function, use the duped string, not the original.
2001-06-23 11:51:16 +00:00
Dr. Stephen Henson
dd499e74de
Update my config entry to allow use of DSOs.
2001-06-23 11:49:33 +00:00
Andy Polyakov
19a6e8b32c
This fixes "Spurious test failures on IRIX?" reported in April. Apparently
...
I was wrong in conclusions about when addition starts overflowing in combaX
routines.
2001-06-22 19:17:42 +00:00
Dr. Stephen Henson
ed5538dc2b
Fix memory leak when RAND is used: need to cleanup
...
RANDs ENGINE reference in ENGINE_cleanup().
2001-06-21 12:19:10 +00:00
Richard Levitte
b8ffcf49ed
Update my status.
2001-06-20 15:11:15 +00:00
Richard Levitte
eb929eef14
Since there is a way to create UI_METHODs, implement a destructor as
...
well.
This probably requires reference counters and locks as well. To be
implemented later.
2001-06-20 15:00:08 +00:00
Richard Levitte
2cd3ad9bdd
Modify "openssl engine" to handle and display internal control
...
commands appropriately.
2001-06-20 06:35:46 +00:00
Dr. Stephen Henson
323f289c48
Change all calls to low level digest routines in the library and
...
applications to use EVP. Add missing calls to HMAC_cleanup() and
don't assume HMAC_CTX can be copied using memcpy().
Note: this is almost identical to the patch submitted to openssl-dev
by Verdon Walker <VWalker@novell.com > except some redundant
EVP_add_digest_()/EVP_cleanup() calls were removed and some changes
made to avoid compiler warnings.
2001-06-19 22:30:40 +00:00
Dr. Stephen Henson
a45e4a5537
Fix memory leaks.
2001-06-19 17:13:48 +00:00
Richard Levitte
b7fe2f9675
cp is only used when DSA is built.
2001-06-19 16:40:36 +00:00
Richard Levitte
6dcd1c9109
Do a proof of concept. "openssl genrsa" will make the name of the
...
file part of the password prompt unless it's standard input...
More will be added...
2001-06-19 16:34:53 +00:00
Richard Levitte
2fe5adc36c
Change the common application routines to use a UI_METHOD for password
...
prompting, even when done through the callback.
2001-06-19 16:26:30 +00:00
Richard Levitte
839590f576
- Add the possibility to control engines through control names but
...
with arbitrary arguments instead of just a string.
- Change the key loaders to take a UI_METHOD instead of a callback
function pointer. NOTE: this breaks binary compatibility with
earlier versions of OpenSSL [engine].
- Addapt the nCipher code for these new conditions and add a card
insertion callback.
2001-06-19 16:12:18 +00:00
Richard Levitte
e0a8d1f94e
The default flag should be for default passwords only. Otherwise,
...
someone having a default that is not a password will be confused.
2001-06-19 15:54:47 +00:00
Richard Levitte
9ad0f6812f
Enhance the user interface with better support for dialog box
...
prompting, application-defined prompts, the possibility to use
defaults (for example default passwords from somewhere else) and
interrupts/cancelations.
2001-06-19 15:52:00 +00:00
Dr. Stephen Henson
a3376fe8fc
make apps compile again
2001-06-19 00:23:47 +00:00
Dr. Stephen Henson
3cc1f498a1
Don't set pointer if add_lock_callback used.
2001-06-19 00:04:57 +00:00
Richard Levitte
c6c0035ea5
One feature wasn't quite commited yet
2001-06-18 06:30:12 +00:00
Richard Levitte
531d630b5c
Provide an application-common setup function for engines and use it
...
everywhere.
2001-06-18 06:22:33 +00:00
Ben Laurie
853b1eb424
Fix a memory leak (there's another around here somewhere, though).
...
PR:
2001-06-17 14:42:57 +00:00
Ben Laurie
09a2615fb2
Delete a redundant line.
2001-06-16 21:51:26 +00:00
Bodo Möller
285b42756a
pay attention to blocksize before attempting decryption
2001-06-15 18:05:09 +00:00
Bodo Möller
508f15cdab
For MSDOS, the tty filename still is "con", not "/dev/tty" ...
2001-06-11 15:21:33 +00:00
Andy Polyakov
52c0d30078
Get rid of "possible WAW dependency" warnings.
...
Submitted by:
Reviewed by:
PR:
2001-06-11 12:47:52 +00:00
Bodo Möller
10997ee8ab
even use of default engines leaks memory
2001-06-11 09:55:54 +00:00
Bodo Möller
8a774dc9a6
Add directory name to the entry on /crypto/ui/.
2001-06-11 09:55:20 +00:00
Bodo Möller
200bc9e3e8
Earlier OpenSSL versions printed prompts to stderr.
...
In the new crypto/ui/, this was changed into tty (which is usually
/dev/tty), i.e. the FILE * used for reading passwords from the user.
However stdio buffering for read/write streams is not without pitfalls
(passwords would be echoed on some systems).
To avoid problems, split tty into tty_in and tty_out (which are
opened separately).
2001-06-11 09:54:28 +00:00
Dr. Stephen Henson
7dd0ee0495
Make update
2001-06-11 00:48:09 +00:00
Dr. Stephen Henson
76569fc662
Initialize UI ex_data.
2001-06-11 00:45:33 +00:00
Dr. Stephen Henson
f2a253e0dd
Add support for MS CSP Name PKCS#12 attribute.
2001-06-11 00:43:20 +00:00
Ulf Möller
0ad0eaf61c
more error codes fixed
2001-06-08 14:16:39 +00:00
Lutz Jänicke
47b0f48dd9
ERR_peek_error() returns "unsigned long".
2001-06-07 17:20:50 +00:00
Richard Levitte
44e48abc44
Use memmove() instead of memcpy() on areas that may overlap.
...
Spotted by Nalin Dahyabhai <nalin@redhat.com >
2001-06-07 04:42:34 +00:00
Richard Levitte
f420de027f
Don't forget to initialise.
2001-06-06 23:12:41 +00:00
Bodo Möller
ecf186065c
OAEP fix
2001-06-06 21:44:28 +00:00
Bodo Möller
20e021bf41
when checking OAEP, signal just a single kind of 'decoding error'
2001-06-06 18:48:49 +00:00
Ulf Möller
8ca2ae775d
move check to avoid memory leak.
2001-06-06 17:23:23 +00:00
Ulf Möller
ee8aa8217a
make sure we don't write to seed[-1]
2001-06-06 17:17:53 +00:00
Richard Levitte
2b49dd1e8f
'make update'
2001-06-05 20:32:36 +00:00
Richard Levitte
30a54b9085
Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
...
_XOPEN_SOURCE.
2001-06-05 20:29:26 +00:00
Richard Levitte
1e7e62f8cd
A good use of the UI interface is as a password callback replacement
...
(for new functions...). One might still want to be able to pass down
a user-data pointer to be used by the UI. However, ex_data doesn't
quite cut it, since that means the appropriate index to it might need
to be shared between parts that aren't really related in that sense,
and would require the currently hidden (static) index holders to be
uncovered. Not a good thing. Therefore, add the possibility to add a
user-data pointer to a UI.
2001-06-05 19:05:52 +00:00
Richard Levitte
5352823fbf
Small detail about AIX forgotten...
2001-06-05 04:41:57 +00:00
Richard Levitte
20251f01ea
Accept digits in symbol names. Spotted by Brian Havard <brianh@kheldar.apana.org.au>
2001-06-04 16:34:31 +00:00
Richard Levitte
528f6b81db
More info on SRP.
2001-06-04 16:23:15 +00:00
Richard Levitte
27bfba299e
Added more info in SRP.
2001-06-04 06:51:43 +00:00
Richard Levitte
1690863acc
Confusion between algorithms resolved.
2001-06-01 15:30:13 +00:00
Richard Levitte
397211323c
nCipher callbacks shall return 0 on success, something else otherwise.
2001-06-01 15:29:32 +00:00
Richard Levitte
a87f50fb5a
Stop mishandling the type number in dynlock locking
2001-06-01 15:21:01 +00:00
Bodo Möller
31bc51c8cf
Fix Bleichenbacher PKCS #1 1.5 countermeasure.
...
(The attack against SSL 3.1 and TLS 1.0 is impractical anyway,
otherwise this would be a security relevant patch.)
2001-06-01 09:41:25 +00:00
Bodo Möller
be487c429e
increase DEFAULT_BUFFER_SIZE (4K instead of just 1K)
2001-06-01 08:38:29 +00:00
Richard Levitte
80340f1fe9
Don't decrement the reference counter twice when destroying dynamic
...
links.
2001-05-31 22:25:30 +00:00
Geoff Thorpe
d918f85146
Fix a memory leak in 'sk_dup' in the case a realloc() fails. Also, tidy up
...
a bit of weird code in sk_new.
2001-05-31 19:01:08 +00:00
Andy Polyakov
a95541d61e
Get rid of RAW dependency warnings.
...
Submitted by:
Reviewed by:
PR:
2001-05-30 22:01:33 +00:00
Richard Levitte
30b4c2724e
Extend all the loading functions to take an engine pointer, a pass
...
string (some engines may have certificates protected by a PIN!) and
a description to put into error messages.
Also, have our own password callback that we can send both a password
and some prompt info to. The default password callback in EVP assumes
that the passed parameter is a password, which isn't always the right
thing, and the ENGINE code (at least the nCipher one) makes other
assumptions...
Also, in spite of having the functions to load keys, some utilities
did the loading all by themselves... That's changed too.
2001-05-30 15:29:28 +00:00
Richard Levitte
2adc929367
A wish was expressed.
2001-05-30 14:59:14 +00:00
Lutz Jänicke
7e97837274
Don't forget responsible person so that its clear who is to blame.
2001-05-29 13:52:21 +00:00
Andy Polyakov
4cb73bf8e4
Assembler support for IA-64. See the source code commentary for further
...
details (performance numbers and accompanying discussions:-). Note that
the code is not engaged in ./Configure yet. I'll add it later this week
along with updates for .spec file.
Submitted by:
Reviewed by:
PR:
2001-05-28 20:02:51 +00:00
Richard Levitte
79bb8d0077
Document the latest change in ENGINEs.
2001-05-26 16:58:34 +00:00
Richard Levitte
6c1a3e4f58
We had the password callback for ENGINEs pretty much wrong. And
...
passwords that were given to the key loading functions were completely
ignored, at least in the ncipher code, and then we made the assumption
that the callback wanted a prompt as user argument.
All that is now changed, and the application author is forced to give
a callback function of type pem_callback_cb and possibly an argument
for it, just as for all other functions that want to generate password
prompting.
NOTE: this change creates binary and source incompatibilities with
previous versions of OpenSSL [engine]. It's worth it this time, to
get it right (or at least better and with a chance that it'll work).
2001-05-25 21:08:56 +00:00
Dr. Stephen Henson
76c919c1a3
Add missing variable length cipher flag for Blowfish.
...
Only use trust settings if either trust or reject settings
are present, otherwise use compatibility mode. This stops
root CAs being rejected if they have alias of keyid set.
2001-05-24 22:58:35 +00:00
Richard Levitte
98405f240b
VMS doesn't support more than on period in a file name
2001-05-22 12:47:38 +00:00
Dr. Stephen Henson
181355616e
Add examples to EVP_EncryptInit manual page.
2001-05-17 13:03:20 +00:00
Dr. Stephen Henson
b49a5b2dc0
Fix for new UI functions under Win32.
...
For some unknown reason fopen("con", "w") is the
only way to make this work. Using "r+" and "w+"
causes the fopen call to fail and the fallback
(using stdin) doesn't work because writing to stdin
fails.
2001-05-17 11:47:08 +00:00
Richard Levitte
713f226114
Add a requirements section for OpenVMS.
2001-05-17 04:21:00 +00:00
Richard Levitte
d57d85ff35
Add a few more details on what one might need. make and a development
...
environment were a part of a Unix operating systems, but these days
you see an increasing number of installations that do not necessarely
have these crucial parts by default, so it's needs mentioning.
2001-05-17 04:16:19 +00:00
Lutz Jänicke
74daa124c2
Add missing item(s) SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT.
2001-05-16 09:43:51 +00:00
Richard Levitte
b8e35bd66e
New internal function OPENSSL_gmtime, which is intended to do the same
...
as gmtime_r() on the systems where that is defined.
2001-05-16 08:44:09 +00:00
Lutz Jänicke
e8734731d3
Increase ENTROPY_NEEDED to support Rijndael's larger key size.
2001-05-15 16:02:35 +00:00
Richard Levitte
9e0fcabeca
Do not forget to increment the pointers...
2001-05-15 15:49:54 +00:00
Richard Levitte
6482dec1bb
Low-case the names of the system routines, since some versions of
...
DEC C only have them declared that way (it doesn't really matter,
since the linker is case-insensitive by default)
2001-05-15 05:15:47 +00:00
Richard Levitte
81b5eeed6a
branch on equal is beql, not beq...
2001-05-14 22:10:09 +00:00
Richard Levitte
365359dd79
Make sure strdup() is properly declared.
2001-05-14 12:23:28 +00:00
Richard Levitte
2757be06de
Make sure memset() is properly declared.
2001-05-14 12:22:58 +00:00
Richard Levitte
d0afe49d3e
ui was forgotten when installing libcrypto and it's headers.
2001-05-14 12:22:27 +00:00
Richard Levitte
81b31b7087
ui_compat.h was forgotten in the "symlinking" routine.
2001-05-14 12:21:16 +00:00
Richard Levitte
2643b122fc
Remove the password reading objects from LIB_DES.
2001-05-14 11:59:02 +00:00
Richard Levitte
88db657ac2
Make more short aliases for symbols that are longer than 31
...
characters.
2001-05-14 11:58:08 +00:00
Richard Levitte
1f0af2c073
len is a size_t, which is an unsigned integer. Therefore, some
...
compilers will complain against the check for less than zero.
2001-05-14 11:56:47 +00:00
Richard Levitte
2ed2d1515e
Use ui_compat.h to get the password reading functions.
2001-05-14 11:54:36 +00:00
Richard Levitte
bb5b16a36c
Make it so the compiler doesn't inform me about the dollars in some
...
symbols.
2001-05-14 11:53:37 +00:00
Lutz Jänicke
5892855c5f
Typos.
2001-05-14 09:52:44 +00:00
Lutz Jänicke
a6e859e9ec
One more point to clarify, pointed out by "Greg Stark" <ghstark@pobox.com>
2001-05-14 09:02:38 +00:00
Richard Levitte
99c65cef0f
It seems like the removal of "extern" before "static" wasn't a
...
mistake.
2001-05-13 17:55:30 +00:00
Richard Levitte
496da8b918
Document the addition.
2001-05-13 10:37:02 +00:00
Richard Levitte
739862384c
A randomizer for OpenVMS, using the statistics that are easily
...
reachable.
It's completely untested for now. To be done in the next few days.
2001-05-13 10:34:18 +00:00
Richard Levitte
0a647c2b8b
Define `ok' and better error detection.
2001-05-13 05:34:39 +00:00
Richard Levitte
429e4f0de8
make update
2001-05-13 05:16:58 +00:00
Richard Levitte
2d10c7156c
Win16 too :-).
2001-05-13 05:01:58 +00:00
Richard Levitte
299053becd
des_read_password() and des_read_2passwords() can only appear if DES
...
is compiled.
2001-05-13 04:59:09 +00:00
Richard Levitte
1449bda052
When doing rewrites on ssleay.num, the file was prematurely closed.
...
Make rewrites the default, since it works, and people get confused if
changed information doesn't get rewritten automagically.
2001-05-13 04:48:07 +00:00
Richard Levitte
56bb1a7c83
Move the password reading functions completely away from the DES
...
section.
Add ui_compat.h for inclusion by those who want the old functions and
provide all of them, not just the higher-level ones, in ui_compat.c.
2001-05-13 04:40:44 +00:00
Richard Levitte
96aaf806d8
Put back a removed "extern", or many compilers will complain about
...
redefined variables.
2001-05-13 04:34:57 +00:00
Dr. Stephen Henson
d70e5100c0
#if 0 out deleted (?) functions to stop Win32 DLL
...
build falling over.
2001-05-13 00:33:55 +00:00
Dr. Stephen Henson
4831e626aa
Change Win32 to use EXPORT_VAR_AS_FN.
...
Fix OPENSSL_IMPLEMENT_GLOBAL.
Allow Win32 to use EXPORT_VAR_AS_FN in mkdef.pl
make update.
2001-05-12 23:57:41 +00:00
Lutz Jänicke
33ab4699ba
Clarify behaviour with respect to SSL/TLS records.
2001-05-12 09:49:02 +00:00
Dr. Stephen Henson
595cc5b4b8
Under VC++ _DLL is set to indicate that the application
...
will be linked against the DLL runtime library. It is
automatically set when /MD is used.
As a result OpenSSL shouldn't use _DLL to determine if
it should set OPENSSL_OPT_WINDLL because this will
cause linkage conflicts with static builds which do
include the /MD compiler switch.
2001-05-12 00:16:56 +00:00
Dr. Stephen Henson
29fb08c2de
Typo.
2001-05-12 00:09:04 +00:00
Richard Levitte
7babdf2029
e_os2.h defines things like OPENSSL_SYS_MSDOS, not opensslconf.h...
...
(basically: whooops :-))
2001-05-11 11:20:26 +00:00
Lutz Jänicke
4b3270f78e
Clarify behaviour of SSL_write() by mentioning SSL_MODE_ENABLE_PARTIAL_WRITE
...
flag as discussed on the mailing list.
2001-05-11 09:53:10 +00:00
Lutz Jänicke
3351b8d007
Update changelog to reflect additional changes made to the egd-locations.
2001-05-10 09:45:31 +00:00
Bodo Möller
4b49bf6a93
restore change undone in 1.831 (apparently by accident)
2001-05-10 09:33:18 +00:00
Dr. Stephen Henson
926a56bfe3
Purpose and trust setting functions for X509_STORE.
...
Tidy existing code.
2001-05-10 00:13:59 +00:00
Dr. Stephen Henson
d6f188be71
Fix warning with DEBUG_SAFESTACK
2001-05-10 00:09:43 +00:00
Dr. Stephen Henson
016cadfb54
Fix to allow multiple NONE libraries in mkerr.pl .
2001-05-10 00:07:45 +00:00
Dr. Stephen Henson
bdee69f718
Allow various X509_STORE_CTX properties to be
...
inherited from X509_STORE.
Add CRL checking options to other applications.
2001-05-09 00:30:39 +00:00
Bodo Möller
ff43e2e155
fix an old entry
2001-05-08 12:45:55 +00:00
Richard Levitte
f53948856e
There is no uitest
2001-05-08 04:23:25 +00:00
Richard Levitte
14056ee2ee
Don't forget crypto/ui...
2001-05-08 04:09:19 +00:00
Dr. Stephen Henson
b545dc6775
Initial CRL based revocation checking.
2001-05-07 22:52:50 +00:00
Richard Levitte
027902999e
Clarify the license and copyright, make preprocessor dirctives a
...
little bit clearer and use the new OPENSSL_SYS_* macros.
2001-05-07 06:33:35 +00:00
Richard Levitte
9a310a5d4e
make update
2001-05-06 23:51:37 +00:00
Richard Levitte
a63d5eaab2
Add a general user interface API. This is designed to replace things
...
like des_read_password and friends (backward compatibility functions
using this new API are provided). The purpose is to remove prompting
functions from the DES code section as well as provide for prompting
through dialog boxes in a window system and the like.
2001-05-06 23:19:37 +00:00
Ulf Möller
6af59bc095
the backslash is significant...
2001-05-04 15:03:59 +00:00
Bodo Möller
24cc290b85
.rnd issues
2001-05-03 09:27:43 +00:00
Bodo Möller
8e264a933f
bctest changes for Ultrix (don't return 1 from bctest, otherwise make aborts)
2001-05-03 08:50:27 +00:00
Richard Levitte
f0b54fefe9
Some platforms (most notably Windows) do not have a $HOME by default.
...
For those, unless the environment variables RANDFILE or HOME are
defined (the default case!), RAND_file_name() will return NULL.
This change adds a default HOME for those platforms.
To add a default HOME for any platform, just define DEFAULT_HOME in
the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
2001-05-03 07:50:11 +00:00
Richard Levitte
cf2d9e09b3
Add support for Sun C on Solaris x86. Contributed by Ben <mouring@etoh.eviladmin.org>
2001-05-03 06:14:47 +00:00
Richard Levitte
d02408ad8a
Remove part conflict indicator...
2001-05-02 07:15:03 +00:00
Geoff Thorpe
7ae551fd03
In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
...
ENGINE code does not return a default, set an error.
2001-04-30 15:24:41 +00:00
Dr. Stephen Henson
c2e45f6ddf
Win32 fixes:
...
define LLONG properly for VC++.
stop compiler complaining about signed/unsigned mismatch in apps/engine.c
2001-04-29 16:30:59 +00:00
Richard Levitte
f9a4ad4fa6
A method to create shared libraries on AIX, and according to
...
"Howard Chu" <hyc@highlandsun.com >, it may be general enough
to work on any Unixly system.
2001-04-27 21:33:44 +00:00
Richard Levitte
10645a4f13
make update
2001-04-27 08:59:00 +00:00
Geoff Thorpe
06cb0353e5
For some inexplicable reason, I'd (a) left the debugging irreversibly
...
turned on, and (b) left a somewhat curious debugging string in the output.
2001-04-27 00:31:21 +00:00
Geoff Thorpe
b41f836e5f
Some fixes to the reference-counting in ENGINE code. First, there were a
...
few statements equivalent to "ENGINE_add(ENGINE_openssl())" etc. The inner
call to ENGINE_openssl() (as with other functions like it) orphans a
structural reference count. Second, the ENGINE_cleanup() function also
needs to clean up the functional reference counts held internally as the
list of "defaults" (ie. as used when RSA_new() requires an appropriate
ENGINE reference). So ENGINE_clear_defaults() was created and is called
from within ENGINE_cleanup(). Third, some of the existing code was
logically broken in its treatment of reference counts and locking (my
fault), so the necessary bits have been restructured and tidied up.
To test this stuff, compiling with ENGINE_REF_COUNT_DEBUG will cause every
reference count change (both structural and functional) to log a message to
'stderr'. Using with "openssl engine" for example shows this in action
quite well as the 'engine' sub-command cleans up after itself properly.
Also replaced some spaces with tabs.
2001-04-26 23:04:30 +00:00
Richard Levitte
26a81abffc
Make proper use of all disabling variables.
2001-04-26 21:02:57 +00:00
Geoff Thorpe
ab03b0df4c
"make update"
2001-04-26 20:56:30 +00:00
Geoff Thorpe
e5a77633cf
Make notes about ENGINE changes.
2001-04-26 20:42:12 +00:00
Richard Levitte
6f8a82c7af
Linux shared libraries can be linked with debug symbols.
...
Tru64 shared libraries can be linked with static libraries.
2001-04-26 20:17:59 +00:00
Richard Levitte
7a7f47ea80
make update
2001-04-26 19:45:31 +00:00
Geoff Thorpe
0ce5f3e4f5
This adds 2 things to the ENGINE code.
...
* "ex_data" - a CRYPTO_EX_DATA structure in the ENGINE structure itself
that allows an ENGINE to store its own information there rather than in
global variables. It follows the declarations and implementations used
in RSA code, for better or worse. However there's a problem when storing
state with ENGINEs because, unlike related structure types in OpenSSL,
there is no ENGINE-vs-ENGINE_METHOD separation. Because of what ENGINE
is, it has method pointers as its structure elements ... which leads
to;
* ENGINE_FLAGS_BY_ID_COPY - if an ENGINE should not be used just as a
reference to an "implementation" (eg. to get to a hardware device), but
should also be able to maintain state, then this flag can be set by the
ENGINE implementation. The result is that any call to ENGINE_by_id()
will not result in the existing ENGINE being returned (with its
structural reference count incremented) but instead a new copy of the
ENGINE will be returned that can maintain its own state independantly of
any other copies returned in the past or future. Eg. key-generation
might involve a series of ENGINE-specific control commands to set
algorithms, sizes, module-keys, ids, ACLs, etc. A final command could
generate the key. An ENGINE doing this would *have* to declare
ENGINE_FLAGS_BY_ID_COPY so that the state of that process can be
maintained "per-handle" and unaffected by other code having a reference
to the same ENGINE structure.
2001-04-26 19:35:44 +00:00
Richard Levitte
21023745e2
Clean up ENGINE before exiting.
2001-04-26 16:08:10 +00:00
Richard Levitte
a679116f6f
Provide the possibility to clean up internal ENGINE structures. This
...
takes care of what would otherwise be seen as a memory leak.
2001-04-26 16:07:08 +00:00
Richard Levitte
3988bb34aa
gcc warns when certain values of an enumeration aren't taken care of,
...
unless there's a default clause.
2001-04-26 15:53:42 +00:00
Richard Levitte
9e78e6c3f8
Check for OPENSSL_NO_RSA, OPENSSL_NO_DSA and OPENSSL_NO_DH and disable
...
appropriate code if any of them is defined.
2001-04-26 15:45:12 +00:00
Richard Levitte
3caff6092a
engine.h includes all the needed header files, so don't do it again
...
here.
2001-04-26 15:04:22 +00:00
Richard Levitte
0d96bf8950
We shouldn't skip over header files to avoid functions of disabled algorithms. The selection is done in a different way
2001-04-26 12:01:12 +00:00
Richard Levitte
91dc71f98d
User OPENSSL_UNISTD instead of <unistd.h>.
...
Spotted by Mark Crispin <MRC@Panda.COM >
2001-04-26 08:26:18 +00:00
Geoff Thorpe
b7b6c047ca
This change to the "dl", "dlfcn", and "win32" DSO_METHODs adds the filename
...
or symbol name to the error stack in the event a load or bind operation
failed.
2001-04-25 22:40:55 +00:00
Lutz Jänicke
0ea659475c
Typo (reported by Petr Lancaric <Petr.Lancaric@ips-ag.cz>)
2001-04-25 15:24:47 +00:00
Geoff Thorpe
1e20bb0648
Make update.
2001-04-22 17:21:19 +00:00
Dr. Stephen Henson
c962479bdf
Fix ASN1 bug when decoding OTHER type.
...
Various S/MIME DSA related fixes.
2001-04-21 12:06:01 +00:00
Richard Levitte
b31ccc362c
Script to create shareable images (shared libraries in Unixly terms)
...
on VMS.
2001-04-20 13:09:10 +00:00
Richard Levitte
0cd5866726
VMS was behind when it comes to OCSP.
2001-04-20 12:37:14 +00:00
Geoff Thorpe
2a8a10eda6
Add notes about the new ENGINE functionality.
2001-04-19 23:06:00 +00:00
Geoff Thorpe
f11bc84080
Changes to "openssl engine" to support the new control command code in
...
ENGINE.
* Extra verbosity can be added with more "v"'s, eg. '-vvv' gives
information about input flags and descriptions for each control command
in each ENGINE. Check the output of "openssl engine -vvv" for example.
* '-pre <cmd>' and '-post <cmd>' can be used to invoke control commands on
the specified ENGINE (or on all of them if no engine id is specified,
although that usually gets pretty ugly). '-post' commands are only
attempted if '-t' is specified and the engine successfully initialises.
'-pre' commands are always attempted whether or not '-t' causes an
initialisation to be tried afterwards. Multiple '-pre' and/or '-post'
commands can be specified and they will be called in the order they
occur on the command line.
Parameterised commands (the normal case, there are currently no
unparameterised ones) are split into command and argument via a separating
colon. Eg. "openssl engine -pre SO_PATH:/lib/libdriver.so <id>" results in
the call;
ENGINE_ctrl_cmd_string(e, "SO_PATH", "/lib/libdriver.so", 0);
Application code should similarly allow arbitrary name-value string pairs
to be passed into ENGINEs in a manner matching that in apps/engine.c,
either using the same colon-separated format, or entered as two distinct
strings. Eg. as stored in a registry. The last parameter of
ENGINE_ctrl_cmd_string can be changed from 0 to 1 if the command should
only be attempted if it's supported by the specified ENGINE (eg. for
commands like "FORK_CHECK:1" that may or may not apply to the run-time
ENGINE).
2001-04-19 02:08:26 +00:00
Geoff Thorpe
e2f3ae1252
Some more tweaks to ENGINE code.
...
This change adds some basic control commands to the existing ENGINEs
(except the software 'openssl' engine). All these engines currently load
shared-libraries for hardware APIs, so they've all been given "SO_PATH"
commands that will configure the chosen ENGINE to load its shared library
from the given path. Eg. by calling;
ENGINE_ctrl_cmd_string(e, "SO_PATH", <path>, 0).
The nCipher 'chil' ENGINE has also had "FORK_CHECK" and "THREAD_LOCKING"
commands added so these settings could be handled via application-level
configuration rather than in application source code.
Changes to "openssl engine" to test and examine these control commands will
be made shortly. It will also provide the necessary tips to application
programs wanting to support these dynamic control commands.
2001-04-19 01:45:40 +00:00
Geoff Thorpe
40fcda292f
Some BIG tweaks to ENGINE code.
...
This change adds some new functionality to the ENGINE code and API to
make it possible for ENGINEs to describe and implement their own control
commands that can be interrogated and used by calling applications at
run-time. The source code includes numerous comments explaining how it all
works and some of the finer details. But basically, an ENGINE will normally
declare an array of ENGINE_CMD_DEFN entries in its ENGINE - and the various
new ENGINE_CTRL_*** command types take care of iterating through this list
of definitions, converting command numbers to names, command names to
numbers, getting descriptions, getting input flags, etc. These
administrative commands are handled directly in the base ENGINE code rather
than in each ENGINE's ctrl() handler, unless they specify the
ENGINE_FLAGS_MANUAL_CMD_CTRL flag (ie. if they're doing something clever or
dynamic with the command definitions).
There is also a new function, ENGINE_cmd_is_executable(), that will
determine if an ENGINE control command is of an "executable" type that
can be used in another new function, ENGINE_ctrl_cmd_string(). If not, the
control command is not supposed to be exposed out to user/config level
access - eg. it could involve the exchange of binary data, returning
results to calling code, etc etc. If the command is executable then
ENGINE_ctrl_cmd_string() can be called using a name/arg string pair. The
control command's input flags will be used to determine necessary
conversions before the control command is called, and commands of this
form will always return zero or one (failure or success, respectively).
This is set up so that arbitrary applications can support control commands
in a consistent way so that tweaking particular ENGINE behaviour is
specific to the ENGINE and the host environment, and independant of the
application or OpenSSL.
Some code demonstrating this stuff in action will applied shortly to the
various ENGINE implementations, as well as "openssl engine" support for
executing arbitrary control commands before and/or after initialising
various ENGINEs.
2001-04-19 00:41:55 +00:00
Geoff Thorpe
59bc3126c5
Some more tweaks to ENGINE code.
...
The existing ENGINEs (including the default 'openssl' software engine) were
static, declared inside the source file for each engine implementation. The
reason this was not going boom was that all the ENGINEs had reference
counts that never hit zero (once linked into the internal list, each would
always have at least 1 lasting structural reference).
To fix this so it will stay standing when an "unload" function is added to
match ENGINE_load_builtin_engines(), the "constructor" functions for each
ENGINE implementation have been changed to dynamically allocate and
construct their own ENGINEs using API functions. The other benefit of this
is that no ENGINE implementation has to include the internal "engine_int.h"
header file any more.
2001-04-18 21:46:00 +00:00
Geoff Thorpe
4d6115a5cc
Make a note of the recent ENGINE developments.
2001-04-18 21:12:02 +00:00
Bodo Möller
3a25b96caf
typo
2001-04-18 15:11:42 +00:00
Bodo Möller
6e6d04e29a
fix md_rand.c locking bugs
2001-04-18 15:07:35 +00:00
Geoff Thorpe
48ff225300
Make the shared library name and function symbol for the "nuron" ENGINE
...
static data where they could be parameterised by ctrl() commands.
2001-04-18 04:47:01 +00:00
Geoff Thorpe
a4a9d97a3e
Some more tweaks from ENGINE code.
...
Previously RAND_get_rand_method was returning a non-const pointer, but it
should be const. As with all other such cases, METHOD pointers are stored and
returned as "const". The only methods one should be able to alter are methods
"local" to the relevant code, in which case a non-const handle to the methods
should already exist.
This change has been forced by the constifying of the ENGINE code (before
which RAND_METHOD was the only method pointer in an ENGINE structure that was
not constant).
2001-04-18 04:18:16 +00:00
Geoff Thorpe
404f952aa3
Some more tweaks to ENGINE code.
...
ENGINE handler functions should take the ENGINE structure as a parameter -
this is because ENGINE structures can be copied, and like other
structure/method setups in OpenSSL, it should be possible for init(),
finish(), ctrl(), etc to adjust state inside the ENGINE structures rather
than globally. This commit includes the dependant changes in the ENGINE
implementations.
2001-04-18 03:57:05 +00:00
Geoff Thorpe
dcd87618ab
Some more tweaks to ENGINE code.
...
Previous changes permanently removed the commented-out old code for where
it was possible to create and use an ENGINE statically, and this code gets
rid of the ENGINE_FLAGS_MALLOCED flag that supported the distinction with
dynamically allocated ENGINEs. It also moves the area for ENGINE_FLAGS_***
values from engine_int.h to engine.h - because it should be possible to
declare ENGINEs just from declarations in exported headers.
2001-04-18 03:03:16 +00:00
Geoff Thorpe
d54bf14559
Some more tweaks to ENGINE code.
...
* Constify the get/set functions, and add some that functions were missing.
* Add a new 'ENGINE_cpy()' function that will produce a new ENGINE based
copied from an original (except for the references, ie. the new copy will
be like an ENGINE returned from 'ENGINE_new()' - a structural reference).
* Removed the "null parameter" checking in the get/set functions - it is
legitimate to set NULL values as a way of *changing* an ENGINE (ie.
removing a handler that previously existed). Also, passing a NULL pointer
for an ENGINE is obviously wrong for these functions, so don't bother
checking for it. The result is a number of error codes and strings could
be removed.
2001-04-18 02:01:36 +00:00
Geoff Thorpe
ea3a429efe
Structural references should never be decremented directly - so leave that
...
to ENGINE_free(). Also, remove "#if 0" code that has no useful future.
2001-04-18 01:07:28 +00:00
Geoff Thorpe
e3f1223fe4
This moves string constants out of vendor headers and into C files.
2001-04-18 00:43:23 +00:00
Geoff Thorpe
7ef6e3fe2f
'make update'
2001-04-17 23:53:58 +00:00
Lutz Jänicke
197322455d
Clarify request of client certificates. This is a FAQ.
2001-04-17 13:18:56 +00:00
Ben Laurie
4f19a0672b
Fix warning.
2001-04-16 03:00:57 +00:00
Lutz Jänicke
854e076df8
Constify (Jason Molenda <jason@molenda.com>)
2001-04-14 14:50:02 +00:00
Lutz Jänicke
cb2a0e1319
Missing link ("Greg Stark" <gstark@ethentica.com>)
2001-04-12 21:11:31 +00:00
Lutz Jänicke
638b0d4277
Fix wrong information with respect to CAs listed to the client
...
(follows from technical discussion with Amit Chopra <amitc@pspl.co.in >).
2001-04-12 16:02:34 +00:00
Bodo Möller
f2346808de
update so that changes going into the 0.9.6 tree can be logged
2001-04-12 12:42:20 +00:00
Bodo Möller
d7818facb9
undo previous change ...
2001-04-12 12:03:41 +00:00
Bodo Möller
bcf95a2183
update from 0.9.6a
2001-04-12 12:01:47 +00:00
Lutz Jänicke
f7181a9179
Typo (Jun-ichiro itojun Hagino <itojun@iijlab.net>)
2001-04-12 11:45:42 +00:00
Richard Levitte
9237ba8b66
Correct typo.
2001-04-11 14:14:54 +00:00
Richard Levitte
95874603b0
Add -keyform.
2001-04-11 14:11:55 +00:00
Richard Levitte
ed2e24d564
Show an example of moving the emailAddress object from the subkect DN
...
to subjectAltName when signing a certificate.
2001-04-11 13:04:20 +00:00
Richard Levitte
c9fd77e9dd
Make it possible to move the emailAddress object to the subjectAltName
...
extension instead of just copying it. That makes a certificate comply
even more with PKIX recommendations according to RFC 2459.
2001-04-11 12:55:06 +00:00
Bodo Möller
a9d2bc4902
Add information on 0.9.6a (in a form such that the list can be
...
verified by looking at 'diff -u ../openssl-0.9.6a/CHANGES CHANGES')
2001-04-11 10:35:38 +00:00
Richard Levitte
c3bdbcf639
NetBSD and OpenBSD use TOD as well
2001-04-11 10:06:02 +00:00
Bodo Möller
d9a770e6ea
Mention automatically queried EGD sockets (OpenSSL 0.9.7).
...
0.9.5 is obsolete, so we don't have to discuss its 'openssl rsa'
seeding bug.
2001-04-10 07:59:43 +00:00
Lutz Jänicke
35feed50f0
Some clarifications about $RANDFILE usage.
2001-04-09 16:01:38 +00:00
Lutz Jänicke
a116afa42e
OpenSSH 1.2.2p1 is dead and gone. Errors detecting the OpenSSL library
...
are however still common and are solved by checking config.log.
2001-04-09 15:55:58 +00:00
Richard Levitte
b4542fb307
Correct info in the FAQ.
2001-04-09 14:17:26 +00:00
Bodo Möller
1f224bf029
Adjust BN_mod_inverse algorithm selection according to experiments on
...
Ultra-Sparcs (both 32-bit and 64-bit compilations)
2001-04-09 09:28:24 +00:00
Bodo Möller
4d231b4359
update (0.9.6a)
2001-04-09 07:15:16 +00:00
Bodo Möller
ac0f1d0b14
comment
2001-04-08 18:47:23 +00:00
Bodo Möller
124d8cf701
code documentation
2001-04-08 18:41:35 +00:00
Bodo Möller
7d0d0996aa
binary algorithm for modular inversion
2001-04-08 18:23:44 +00:00
Bodo Möller
9cddbf14db
avoid '||' since Ultrix apparently doesn't understand it
2001-04-08 18:22:53 +00:00
Bodo Möller
5f1fddbbe7
'||', '&&' and 'test -x' apparently don't work on Ultrix;
...
also 'test' appears to be available as '[' only in 'if' conditions.
2001-04-08 13:49:45 +00:00
Bodo Möller
027e257b1d
Avoid assert() in the library.
2001-04-08 13:47:51 +00:00
Lutz Jänicke
93f117003e
Add forgotten "-passin" option to smime.c usage help.
2001-04-08 10:51:14 +00:00
Richard Levitte
42748c084e
Resize a local buffer to accomodate the size requirements of AES.
...
Protect against future mistakes with an assert().
2001-04-08 05:41:42 +00:00
Richard Levitte
77dd9c1850
Add the possibility to have AES removed in Windows as well.
...
Spotted by Harald Koch <chk@pobox.com >
2001-04-08 04:35:58 +00:00
Bodo Möller
83d968df60
Don't use 'tt' uninitialized when reporting an error
...
(we don't have an ASN1_TEMPLATE to complain about at this stage,
so errtt == NULL should be OK)
2001-04-05 11:40:16 +00:00
Richard Levitte
4ac881ede3
Fix couple of memory leaks in PKCS7_dataDecode().
...
(provided by Stephen)
2001-04-05 10:19:12 +00:00
Richard Levitte
ccd2cd3e64
Unixware config.
2001-04-05 10:09:53 +00:00
Bodo Möller
6186ef9338
don't use shell functions
2001-04-04 16:26:31 +00:00
Richard Levitte
6bcac6e578
Correct a typo. linux != linus.
2001-04-04 16:03:00 +00:00
Richard Levitte
967d95f096
Incorporate some changes that make OpenSSL compilable in CygWin.
2001-04-04 15:50:30 +00:00
Richard Levitte
26c7750827
Since vms.mar handles 32-bit integers, do not use it on Alpha, that's
...
just a slowdown.
2001-04-04 13:52:56 +00:00
Richard Levitte
5a16d270ab
OpenVMS/Alpha should use 64 bits. If nothing else, there's
...
performance to gain.
2001-04-04 13:51:35 +00:00
Richard Levitte
3a465d5ec9
Make do_bsd-gcc-shared depend on do_gnu-shared instead of the non-existent linux-shared
2001-04-04 04:24:24 +00:00
Bodo Möller
413a4a0461
Fix warnings.
2001-04-03 14:03:47 +00:00
Bodo Möller
a95d2c5133
Make sure OPENSSL_SYS_... is defined when we need it.
2001-04-03 14:03:19 +00:00
Bodo Möller
1876cc32ae
This change should be suitable as a workaround for the Solaris x86
...
compiler bug reported in <01032110293775.22278@weba3.iname.net >
(the '++seq[i]' condition is evaluated as 256 rather than 0
when the previous value is 255).
2001-04-03 13:50:30 +00:00
Richard Levitte
4e2a08ddd4
Plug a memory leak. Spotted by "Shijin" <shijin@comex.com>
2001-04-03 09:42:36 +00:00
Richard Levitte
61e2c34a10
Reports on Windows, DG-UX and older OpenVMS.
2001-04-03 09:02:07 +00:00
Richard Levitte
e56b54a376
libfisdef.h and LIB do not exist on older VMS versions
2001-04-03 08:31:39 +00:00
Richard Levitte
0da945bb20
Remove a typo in dgux-R4-gcc.
2001-04-03 08:05:03 +00:00
Geoff Thorpe
69443d0da0
ENGINE_load_[private|public]_key had error handling that could return
...
without releasing a lock. This is the same fix as applied to
OpenSSL-engine-0_9_6-stable, minus the ENGINE_ctrl() change - the HEAD
already had that fixed.
2001-04-02 17:47:16 +00:00
Geoff Thorpe
e4dc18d7e5
Actually there were two error cases that could return without releasing the
...
lock - stupidly, my last change addressed only one of them.
2001-04-02 17:21:36 +00:00
Geoff Thorpe
3f86a2b147
Don't return an error until the global lock is released.
2001-04-02 17:06:36 +00:00
Richard Levitte
fd664b9fc6
Reports on VMS.
2001-04-02 14:39:20 +00:00
Dr. Stephen Henson
722ca2781c
Rewrite CHOICE field setting code to properly handle
...
combine in CHOICE options.
This was causing d2i_DSAPublicKey() to misbehave.
2001-04-02 00:59:19 +00:00
Richard Levitte
1c72eebf89
A few more reports.
2001-04-01 15:18:35 +00:00
Richard Levitte
69ce8bb952
Note reports.
2001-03-31 14:03:09 +00:00
Bodo Möller
50b8ba0201
avoid buffer overflow
2001-03-31 07:48:07 +00:00
Ulf Möller
c9fd9152bd
Note the Alpha asm change
2001-03-31 01:23:10 +00:00
Richard Levitte
f891abccf2
linux-elf verified.
2001-03-30 21:43:06 +00:00
Richard Levitte
e2effdbc6b
Beta 3 has been released and announced.
2001-03-30 20:54:12 +00:00
Bodo Möller
b10ae320f7
this time *really* fix the /../ check ...
2001-03-30 14:55:50 +00:00
Bodo Möller
5d3ab9b096
For -WWW, fix test for ".." directory references (and avoid warning for
...
index -1).
2001-03-30 10:47:21 +00:00
Bodo Möller
4fea8145e2
News for 0.9.6a.
2001-03-30 10:46:15 +00:00
Bodo Möller
884e26080f
Fix bctest, and add a workaround that should solve the problem with
...
FreeBSD's /bin/sh.
2001-03-30 09:19:18 +00:00
Richard Levitte
9946491fcc
Complete the des_encrypt to des_encrypt1 rename in the main
...
development line as well.
2001-03-30 07:26:54 +00:00
Richard Levitte
ae6dfff5bf
One des_encrypt to des_encrypt1 I forgot to commit...
2001-03-29 20:30:23 +00:00
Richard Levitte
307bf4dae2
Stress the news about the name change.
2001-03-29 15:15:10 +00:00
Richard Levitte
96d65fc022
I forgot to rename des_encrypt to des_encrypt1 in libeay.num.
2001-03-29 10:49:27 +00:00
Richard Levitte
080b8cadfa
Since there has been reports of clashes between OpenSSL's
...
des_encrypt() and des_encrypt() defined on some systems (Solaris and
Unixware and maybe others), we rename des_encrypt() to des_encrypt1().
This should have very little impact on external software unless
someone has written a mode of DES, since that's all des_encrypt() is
meant for.
2001-03-29 07:45:37 +00:00
Richard Levitte
7cdd2aa128
Add news section for OpenSSL 0.9.6a. Please add what's missing
2001-03-28 13:36:13 +00:00
Ulf Möller
7d7672f119
check CRT
2001-03-28 05:10:38 +00:00
Ulf Möller
6a5b52efa0
check CRT
2001-03-28 04:56:58 +00:00
Ulf Möller
6d864b7030
mips
2001-03-28 02:41:02 +00:00
Richard Levitte
71a39dd4be
Restore asm/mips3.s to be compiled and linked in, since the bug has
...
(at least hopefully :-)) been fixed.
2001-03-27 23:42:36 +00:00
Andy Polyakov
500230ee94
The IRIX fix. Asm recap and corresponding declation.
...
Submitted by:
Reviewed by:
PR:
2001-03-27 22:30:46 +00:00
Richard Levitte
347177e052
Include bn.h so we get BN_LLONG properly defined. Otherwise, we can forget things like %lld
2001-03-27 18:34:04 +00:00
Richard Levitte
b7883fbb6e
Reports seem to show that asm/mips3.s has faults. To be investigated, but let's avoid using it in the mean time
2001-03-27 09:13:03 +00:00
Richard Levitte
a77e023ab4
For mips3 and alpha, put the assembler file directives in separate
...
variables and disable the Alpha assembler for now, since it has been
shown to fail.
The Alpha failure can be shown by adding the following numbers:
FFFFFFFFFFFFFF0000FF2E00000000EBFFFFFF0000D1
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF46FFE0FFFF0000
The result is:
1FFFFFFFFFFFEFF0000FF2E0000000032FFE0FEFF00D1
The result should really be:
1FFFFFFFFFFFFFF0000FF2E0000000032FFE0FEFF00D1
2001-03-26 16:16:12 +00:00
Richard Levitte
812cb5638c
make update
2001-03-24 12:39:59 +00:00
Richard Levitte
77a0f1d727
When using the native tools on Solaris, make damn sure the native ld
...
is used, even if the user has GNU ld earlier in his $PATH.
2001-03-24 12:31:11 +00:00
Richard Levitte
b9a18f3b8d
gcc uses collect2, not ld, to link things. Therefore, when using gcc
...
there's no need fooling ourselves, it's the gnu-shared method that we
should use. Do it for Solaris to begin with.
2001-03-24 12:29:21 +00:00
Richard Levitte
73aeb61c3f
ln on Solaris expects -f to come before -s.
...
The linux-shared method is actually gcc-specific, so call it
gnu-shared as well.
2001-03-24 11:45:57 +00:00
Richard Levitte
3041903844
Small AIX problems solved.
2001-03-22 22:13:16 +00:00
Richard Levitte
ad8ee98617
A lot of reports.
2001-03-22 21:32:26 +00:00
Richard Levitte
bc29d0e5d4
We really have no need for PEX_LIBS, so empty it.
2001-03-22 21:20:54 +00:00
Bodo Möller
f89aebb1c4
Add missing '#ifndef OPENSSL_NO_DSA'.
2001-03-22 15:06:19 +00:00
Richard Levitte
1d7fb4f0c5
Remove redundant operations and update version info.
2001-03-22 12:14:37 +00:00
Bodo Möller
81a6c7817f
Harmonize CHANGES and STATUS files between the 0.9.6a branch and
...
the trunk to keep diffs small.
2001-03-22 10:59:41 +00:00
Richard Levitte
5238fccc15
Use stdlib.h to get size_t.
2001-03-21 18:43:12 +00:00
Bodo Möller
fba9046490
Update docs.
2001-03-21 15:25:56 +00:00
Richard Levitte
8a2908a24a
Since they aren't implemented yet, EC_GFp_{recp,nist}_method() need to
...
be "#if 0"'d, or they will (re)appear as existing functions in
util/libeay.num.
2001-03-21 12:34:34 +00:00
Bodo Möller
e8b12f7a6f
Tag EC_GFp_{nist,recp}_method as "NOEXIST" because they have
...
not yet been implemented.
2001-03-21 09:58:57 +00:00
Richard Levitte
271da5a2e0
avoid linking problems when OpenSSL is built with no-dsa. Spotted by Hellan,Kim KHE <khe@kmd.dk>
2001-03-20 15:36:59 +00:00
Bodo Möller
26fbabf3d1
Increase boundaries in EC_window_bits_for_scalar_size table.
2001-03-20 11:16:12 +00:00
Bodo Möller
37cdcb4d8a
Table for window sizes.
2001-03-19 22:38:24 +00:00
Bodo Möller
57b6534e53
Update.
2001-03-19 22:38:01 +00:00
Richard Levitte
8bf49ea170
New cofiguration for Unixwre and SCO,with slightly better granularity. Contributed by Tim Rice <tim@multitalents.net>
2001-03-18 14:25:01 +00:00
Dr. Stephen Henson
02ee8626fb
Fix PKCS#12 key generation bug.
2001-03-18 02:11:42 +00:00
Bodo Möller
6276e5b41b
Explicitly ignore the exit code of ./bctest. Usually the shell
...
ignores it anyway in command substitution, but Ultrix reportedly
aborted the test when bctest returned 1.
2001-03-17 09:51:25 +00:00
Richard Levitte
51740b12ae
Correct a typo which might have lead to a dump.
...
Noted by Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com >
2001-03-16 10:30:10 +00:00
Richard Levitte
6e6783056e
An enhanced bctest submitted by Tim Rice <tim@multitalents.net>.
...
It now looks along $PATH for a working bc and returns the absolute
path to one that does work.
2001-03-16 09:13:11 +00:00
Dr. Stephen Henson
791bd0cd2b
Add copy_extensions option to 'ca' utility.
2001-03-16 02:04:17 +00:00
Dr. Stephen Henson
e890dcdb19
Add 'align' option to nameopt.
...
Add default values for display by the 'ca' utility
to openssl.cnf
Update docs.
2001-03-15 22:45:20 +00:00
Richard Levitte
5ddcb8664a
Minimise the amount of -L. when linking the shared libraries. It
...
seems like some Unixen (SCO) have opinions about too many -L.
2001-03-15 22:10:07 +00:00
Richard Levitte
09c4b4e0b7
bsdi-elf needs to link with -ldl.
2001-03-15 20:48:27 +00:00
Richard Levitte
368101778e
For AIX 4.3 or above, allow the use of dlfcn.
2001-03-15 20:23:22 +00:00
Dr. Stephen Henson
535d79da63
Overhaul the display of certificate details in
...
the 'ca' utility. This can now be extensively
customised in the configuration file and handles
multibyte strings and extensions properly.
This is required when extensions copying from
certificate requests is supported: the user
must be able to view the extensions before
allowing a certificate to be issued.
2001-03-15 19:13:40 +00:00
Bodo Möller
4f69172d25
Completely remove mont2 stuff.
...
It does not appear to be faster than the current Montgomery code
except for very small moduli (somewhere between 192 and 224 bits
in a 64-bit Sun environment, and even less than 192 bits
on 32 bit systems).
2001-03-15 18:17:40 +00:00