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
Richard Levitte
bf625abe29
The applications 'ecdsa' and 'ecparam' were missing from the VMS
...
build.
2002-08-14 11:16:20 +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
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
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
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
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
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
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
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
Richard Levitte
456bc309d8
make update
2002-08-01 19:45:54 +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
5575f781ad
Cut'n'paste error with other reposnder certificates cleared.
...
PR: 190
2002-08-01 13:39:39 +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
Lutz Jänicke
3aecef7697
"make update"
2002-07-30 12:44:33 +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
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
402bcde847
Allow subjects with more than 255 characters to be properly printed.
...
PR: 147
2002-07-18 17:59:21 +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
f5db08e57a
On MacOS X, the shared library editor uses DYLD_LIBRARY_PATH
2002-07-17 11:09:44 +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
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
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
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
5585f4eca4
have 'openssl pkcs7' exit with code 1 on error instead of 0.
...
PR: 119
2002-06-27 10:26:40 +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
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
1c02ca537a
load_netscape_key is static.
2002-06-18 17:44:56 +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
Bodo Möller
254ef80db1
simplify asn1_flag
...
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-06-12 14:01:17 +00:00
Ben Laurie
d15711efc6
Handle read errors.
2002-06-11 12:41:37 +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
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
bb0db9c491
The correct PERL interpreter is passed via commandline.
2002-06-05 07:03:17 +00:00
Richard Levitte
a81e9d3dc4
CAformat should not be used for CA key format.
2002-05-30 16:24:18 +00:00
Richard Levitte
c56fb0f1a3
Remove the duplicate description of -out.
...
PR: 28
2002-05-30 06:24:35 +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
Richard Levitte
b935754cb0
Allow the use of the TCP/IP stack keyword TCPIP and NONE
2002-05-22 11:37:20 +00:00
Dr. Stephen Henson
eee6c81af8
Reorganise -subj option code, fix buffer overrun.
2002-05-19 16:31:10 +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
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
Richard Levitte
6991bf196c
Potential memory leak removed. Notified by <threaded@totalise.co.uk>
2002-04-25 10:11:21 +00:00
Bodo Möller
c6efe6f59e
fix usage (no 'key')
2002-04-23 13:56:14 +00:00
Bodo Möller
1064acafc4
check return values
...
Submitted by: Nils Larsch
2002-04-17 09:31:34 +00:00