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
Dr. Stephen Henson
bb9dcc99cf
Always init ctx_tmp in PKCS7_dataFinal since it is always cleaned up.
2002-02-26 19:32:16 +00:00
Richard Levitte
3d59821134
make update
2002-02-26 14:37:25 +00:00
Dr. Stephen Henson
e36e473859
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:22:20 +00:00
Dr. Stephen Henson
d7fb66aa82
Remove old comment
2002-02-23 13:43:07 +00:00
Dr. Stephen Henson
344b3b5ce1
OPENSSL_LOAD_CONF define as in main trunk
2002-02-23 02:09:29 +00:00
Dr. Stephen Henson
3f7cf29124
Update from main branch.
2002-02-23 01:47:59 +00:00
cvs2svn
63dc69fef6
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_7-stable'.
2002-02-23 01:00:45 +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
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
Dr. Stephen Henson
0cd8572b2d
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 13:58:15 +00:00
Bodo Möller
de603b75fc
disable '#ifdef DEBUG' sections
2002-02-21 14:08:47 +00:00
Bodo Möller
3e563bcea7
disable '#ifdef DEBUG' sections
2002-02-21 13:07:44 +00:00
Bodo Möller
1244be2eda
disable '#ifdef DEBUG' sections
2002-02-21 13:00:45 +00:00
Dr. Stephen Henson
92f91ff48b
Config file updates from stable branch
2002-02-21 00:54:54 +00:00
Richard Levitte
b0701709c1
Add comfy aliases for AES in CBC mode.
2002-02-20 18:00:23 +00:00
Richard Levitte
5b7848a345
Add comfy aliases for AES in CBC mode.
2002-02-20 17:59:49 +00:00
Richard Levitte
34aa216a65
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:56:01 +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
a76a29f233
Merge in recent changes from the main trunk.
2002-02-20 17:53:17 +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
Bodo Möller
3613e6fc57
simplifications
...
Submitted by: Nils Larsch
2002-02-20 13:08:17 +00:00
Richard Levitte
bd53a054b1
Merg in recent changes from the main trunk.
2002-02-20 12:28:32 +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
Bodo Möller
211b8685d3
bugfix: allocate sufficiently large buffer
...
Submitted by: Nils Larsch
2002-02-20 11:58:17 +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