Richard Levitte
69a305d434
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:27 +00:00
Lutz Jänicke
ab5b1cf86b
ERR_file_name is no longer being used.
...
Submitted by:
Reviewed by:
PR:
2002-04-22 13:55:37 +00:00
Lutz Jänicke
365c6e4661
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
...
Submitted by:
Reviewed by:
PR:
2002-04-18 11:53:35 +00:00
Lutz Jänicke
e9caaa4ad9
Use the "mail" short name according to RFC2798 (Michael Bell
...
<michael.bell@rz.hu-berlin.de>).
Submitted by:
Reviewed by:
PR:
2002-04-15 13:28:53 +00:00
Lutz Jänicke
a6198b9ed1
Some more OID enhancements.
...
Submitted by:
Reviewed by:
PR:
2002-04-15 10:38:37 +00:00
Lutz Jänicke
a7be294ed7
Fix CRLF problem in BASE64 decode.
...
Submitted by:
Reviewed by:
PR:
2002-04-15 09:53:47 +00:00
Bodo Möller
617f461c9d
remove disabled code
2002-04-14 13:28:41 +00:00
Richard Levitte
7b907f0bb5
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:14:10 +00:00
Richard Levitte
9dfcad117c
Change the date to XX xxx XXXX in development versions.
2002-04-11 21:53:57 +00:00
Richard Levitte
248252682c
make update
2002-04-06 19:15:27 +00:00
Lutz Jänicke
ce34d0ac09
Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).
...
Submitted by:
Reviewed by:
PR:
2002-04-04 17:49:39 +00:00
Richard Levitte
4e9dd6b0f5
Forgot one of the casts
2002-04-03 15:02:00 +00:00
Richard Levitte
b6ccbffe2b
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:50 +00:00
Richard Levitte
1aecc34e9e
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:43 +00:00
Lutz Jänicke
75b9c0044c
Make short names of objects RFC2256-compliant.
...
Submitted by:
Reviewed by:
PR:
2002-03-26 17:15:32 +00:00
Richard Levitte
600b77a93f
Add the possibility to enable olde des support, not just disable it, for future support. Redocument
2002-03-26 14:26:08 +00:00
Richard Levitte
39335c356b
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:58:30 +00:00
Richard Levitte
a3c62bb737
Correct the mapping for des_read_pw()
2002-03-26 13:54:04 +00:00
Bodo Möller
2f6263a696
fix memory leak
...
Submitted by: Nils Larsch
2002-03-25 23:17:35 +00:00
Bodo Möller
35748f40d6
add missing declaration
...
Submitted by: Nils Larsch
2002-03-25 23:14:50 +00:00
Bodo Möller
9e7733a743
fix conditational compilation for OPENSSL_NO_...
2002-03-22 11:02:45 +00:00
Richard Levitte
fc0bdd1aa8
Key schedules are given as arguments a bit differently in 0.9.6 and
...
earlier. Also, it was an error to define crypt() at all times.
2002-03-22 10:46:13 +00:00
Richard Levitte
e9dad4048f
Key schedules are given as arguments a bit differently in 0.9.6 and
...
earlier. Also, a few 0.9.6 functions were missing their mappings.
2002-03-22 10:29:56 +00:00
Richard Levitte
e9f970891d
Change des_old.h so OpenSSL 0.9.6 compatibility is default. One must
...
define OPENSSL_DES_LIBDES_COMPATIBILITY to get libdes compatibility.
At the same time, correct a couple of argument errors for the cfb
encryption routines.
Make destest use as much of the old API as possible, to make sure it
works properly. Other tests will use the new API...
2002-03-22 02:33:24 +00:00
Lutz Jänicke
f90c544039
Remove superflous statement <justin.fletcher@ntlworld.com>.
...
Submitted by:
Reviewed by:
PR:
2002-03-21 19:10:07 +00:00
Bodo Möller
afcf54a5c9
fix DH_generate_parameters for general 'generator'
2002-03-20 16:02:46 +00:00
Dr. Stephen Henson
59a941e4a4
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:19:25 +00:00
Dr. Stephen Henson
b74dfe6e8e
Initialize cipher context in KRB5
...
("D. Russell" <russelld@aol.net>)
Allow HMAC functions to use an alternative ENGINE.
2002-03-14 18:16:49 +00:00
Bodo Möller
d80f6e0f8c
Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.
...
Fix dsaparam usage output.
Submitted by: Nils Larsch (for 0.9.8-dev; backported to 0.9.7-dev)
2002-03-14 09:53:30 +00:00
Bodo Möller
2fc1f3dd48
disable '#ifdef DEBUG' code
2002-03-14 09:35:15 +00:00
Dr. Stephen Henson
e50baf58ab
Fix various warnings when compiling with KRB5 code.
2002-03-12 03:00:59 +00:00
Dr. Stephen Henson
c77bd28775
Make ciphers and digests obtain an ENGINE functional reference
...
if impl is explicitly supplied.
2002-03-09 18:56:38 +00:00
Dr. Stephen Henson
1619add90c
Make {RSA,DSA,DH}_new_method obtain and release an ENGINE
...
functional reference.
2002-03-09 18:24:14 +00:00
Richard Levitte
121cb9ee38
Synchronise the AEP engine in all branches. For 0.9.6-stable [engine], implement software fallback
2002-03-07 19:39:19 +00:00
Richard Levitte
bc173b9fb0
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:49 +00:00
Richard Levitte
4fd9c70f06
Change des_old.c to use types prefixed with _ossl_old_des_.
2002-03-07 15:38:40 +00:00
Dr. Stephen Henson
c913cf446f
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:09:46 +00:00
Bodo Möller
022b31a8c8
typo
2002-03-05 15:03:16 +00:00
Dr. Stephen Henson
dd6b494eb3
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:49:27 +00:00
Richard Levitte
c9bea5bad3
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:25:46 +00:00
Richard Levitte
9e77b7075a
A dash was missing in this branch as well.
2002-03-04 18:09:10 +00:00
Richard Levitte
5c7f9a627f
Rename des_SPtrans to DES_SPtrans to differentiate from libdes and avoid certain linkage clashes.
2002-03-04 16:08:53 +00:00
Dr. Stephen Henson
66bd86e2c2
Fix warnings about signed/unsigned mismatch and global
...
shadowing (random, index) in hw_4758.c
2002-03-03 17:07:27 +00:00
Richard Levitte
69c48301e0
make update
2002-02-28 20:28:23 +00:00
Bodo Möller
98fa4fce09
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:03:41 +00:00
Richard Levitte
1ec1d17e16
VMS addaptation, including a few more long names that needed hacking.
2002-02-28 13:18:47 +00:00
Richard Levitte
1e11df0dc3
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:59:03 +00:00
Richard Levitte
421d474332
Increase internal security when using strncpy, by making sure the resulting string is NUL-terminated
2002-02-28 12:44:05 +00:00
Richard Levitte
58060fa11b
Updated AEP engine, submitted by Diarmuid O'Neill <Diarmuid.ONeill@aep.ie>
2002-02-28 11:37:35 +00:00
Geoff Thorpe
6d1a837df7
This adds a new ENGINE to support IBM 4758 cards, contributed by Maurice
...
Gittens.
2002-02-27 22:45:48 +00:00