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
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
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
Richard Levitte
d1465bac90
make update
2003-05-01 04:10:32 +00:00
Richard Levitte
1a0c1f9052
make update
2003-04-10 20:11:09 +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
Dr. Stephen Henson
5cc5ec1bba
make update
2003-03-21 16:28:29 +00:00
Richard Levitte
ea17e1f00f
make update
2003-03-20 23:54:33 +00:00
Dr. Stephen Henson
ce06265a37
make update
2003-03-20 14:21:36 +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
132eaa59da
Allow building applications against static libraries with Makefile.shared.
2003-02-22 14:41:34 +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
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
8cbb91c857
DJGPP doesn't have DLLs, so skip adding to %PATH% in that environment.
...
PR: 453
2003-01-13 15:16:40 +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
Richard Levitte
c8a647846c
Rijndael should be called AES everywhere
2003-01-03 08:51:45 +00:00
Richard Levitte
5e42f9ab46
make update
2002-12-29 01:38:15 +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
0d3f2ccb62
Skip DH-specific tests when no-dh has been configured.
...
PR: 353
2002-12-12 18:43:10 +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
f68bb3c51f
Corrected DJGPP patch
2002-12-05 20:50:25 +00:00
Richard Levitte
8cbccedf7c
make update
2002-12-05 01:55:48 +00:00
Richard Levitte
5319be4438
DJGPP patches.
...
PR: 347
2002-12-04 09:54:10 +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
fcc764639d
make update
2002-11-19 11:40:14 +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
Ben Laurie
54a656ef08
Security fixes brought forward from 0.9.7.
2002-11-13 15:43:43 +00:00
Ben Laurie
eb43641dd3
Fix warnings, makefile cockup.
2002-11-13 11:59:48 +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
6722b62b36
Make the programs link against the static library on MacOS X.
...
PR: 335
2002-11-11 20:46:52 +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
1e5c205ccb
Remove redundancy and use the main makefile better
2002-10-09 15:12:36 +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
Richard Levitte
8435a755fd
q may be used uninitialised
2002-08-15 22:06:00 +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
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
Richard Levitte
da0bca6466
Synchronise tests with Unix.
2002-08-10 01:35:10 +00:00
Bodo Möller
74cc4903ef
make update
2002-08-09 12:16:15 +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
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
Richard Levitte
456bc309d8
make update
2002-08-01 19:45:54 +00:00
Lutz Jänicke
3aecef7697
"make update"
2002-07-30 12:44:33 +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
Richard Levitte
f5db08e57a
On MacOS X, the shared library editor uses DYLD_LIBRARY_PATH
2002-07-17 11:09:44 +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
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
451dc18f10
Add support for DJGPP.
...
PR: 75
2002-06-13 20:42:35 +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
Richard Levitte
b2c04539a1
Merge from 0.9.7-stable.
2002-06-06 07:22:33 +00:00
Lutz Jänicke
bb0db9c491
The correct PERL interpreter is passed via commandline.
2002-06-05 07:03:17 +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
5c5143de48
Make it so one can select tests from within the test directory
2002-03-04 15:58:38 +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
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
Bodo Möller
dda640835f
move ECDSA test right after EC test
2002-02-14 14:03:32 +00:00
Bodo Möller
4d94ae00d5
ECDSA support
...
Submitted by: Nils Larsch <nla@trustcenter.de>
2002-02-13 18:21:51 +00:00
Richard Levitte
de2f6e4dae
'make update'
2002-02-05 17:34:58 +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
Bodo Möller
508d8b1617
run test_evp before test_ssl
2002-01-15 11:43:51 +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
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
dbec19622e
make sure .rnd exists
2001-10-15 17:58:00 +00:00
Richard Levitte
3a457cca86
Typo...
2001-10-04 19:25:12 +00:00
Richard Levitte
f8000b9345
'make update'
2001-10-04 07:49:09 +00:00
Richard Levitte
e32587d5a6
Synchronise with Unixly build.
2001-09-27 16:07:36 +00:00
Geoff Thorpe
534aaf3731
"make update".
2001-09-25 20:39:59 +00:00
Ulf Möller
14cfde9c83
make engine file names unique in 8.3
2001-09-07 04:14:48 +00:00
Ulf Möller
9d07fd03e3
Use GCC 2.95/3.0 optimization
2001-09-05 02:18:40 +00:00
Ben Laurie
0e36019977
Add EVP test program.
2001-08-18 13:53:01 +00:00
Ben Laurie
d66ace9da5
Start to reduce some of the header bloat.
2001-08-05 18:02:16 +00:00
Ben Laurie
bb2297a41d
Header bloat reduction for EVP_PKEY.
2001-08-03 18:48:35 +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
Richard Levitte
567671e291
make update
2001-07-10 21:00:37 +00:00
Richard Levitte
55dcfa421c
make update
2001-06-23 16:43:03 +00:00
Richard Levitte
2b49dd1e8f
'make update'
2001-06-05 20:32:36 +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
Bodo Möller
124d8cf701
code documentation
2001-04-08 18:41:35 +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
6186ef9338
don't use shell functions
2001-04-04 16:26:31 +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
812cb5638c
make update
2001-03-24 12:39:59 +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
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
Richard Levitte
20a9b1a7cf
Too many dollars...
2001-03-08 21:12:58 +00:00
Richard Levitte
a2b03690a8
Write a small comment so we know...
2001-03-08 17:22:38 +00:00
Richard Levitte
abb48d5a5f
Build ectest too.
2001-03-08 17:22:05 +00:00
Richard Levitte
e0a9ba9c3c
VMS catches up on the EC modifications.
2001-03-08 14:40:20 +00:00
Bodo Möller
3285076c8e
Integrate ec_err.[co].
...
"make depend"
2001-03-08 12:30:12 +00:00
Bodo Möller
adfe54b7be
Integrate ectest.c (which does not yet do anything).
2001-03-08 11:59:48 +00:00
Richard Levitte
d88a26c489
make update
...
Note that all *_it variables are suddenly non-existant according to
libeay.num. This is a bug that will be corrected. Please be patient.
2001-02-26 10:54:08 +00:00
Richard Levitte
41d2a336ee
e_os.h does not belong with the exported headers. Do not put it there
...
and make all files the depend on it include it without prefixing it
with openssl/.
This means that all Makefiles will have $(TOP) as one of the include
directories.
2001-02-22 14:45:02 +00:00
Richard Levitte
38f3b3e29c
OpenVMS catches up.
2001-02-20 17:14:30 +00:00
Richard Levitte
cf1b7d9664
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.
I've checked fairly well that nothing breaks with this (apart from
external software that will adapt if they have used something like
NO_KRB5), but I can't guarantee it completely, so a review of this
change would be a good thing.
2001-02-19 16:06:34 +00:00
Ben Laurie
4978361212
Make depend.
2001-02-04 21:06:55 +00:00
Bodo Möller
739423fceb
Remove serial number file during 'make clean'.
2001-01-29 11:41:12 +00:00
Richard Levitte
701adceb12
"make update" plus a rewrite of both .num files.
2000-12-29 00:19:12 +00:00
Richard Levitte
66a0def81b
Update VMS build procedures to match the current status.
2000-12-28 22:26:11 +00:00
Bodo Möller
daea0ff8a9
Change/add comments
2000-12-11 17:28:07 +00:00
Ulf Möller
448701473a
Stop on bntest error.
2000-12-10 04:25:57 +00:00
Ulf Möller
572f0017d5
*** empty log message ***
2000-12-10 04:22:45 +00:00
Bodo Möller
23e2947cc8
Use continuation lines in test/bctest as far as it is possible
...
to dermine what the expression should look like.
Apparently CVS does not like lines longer than about 2^10 characters.
2000-12-09 10:07:47 +00:00
Bodo Möller
44b51ca36c
Don't throw away bctest's error messages.
2000-12-09 10:05:03 +00:00
Ulf Möller
bbf848ce8d
Test for SCO bc bug
2000-12-09 02:45:59 +00:00
Bodo Möller
c5e48d8b01
Placeholder for SCO bc bug detection
2000-12-08 08:30:38 +00:00
Bodo Möller
1a4d6400ae
Printing "verify ..." should not be counted as a test for the
...
"xxx tests passed" message.
2000-12-06 12:24:27 +00:00
Bodo Möller
0a52d38b31
Use bc's "print" feature whenever it is available,
...
not just on certain platforms.
2000-12-06 10:32:55 +00:00
Bodo Möller
902d1051b1
Add a comment.
2000-12-06 09:53:29 +00:00
Bodo Möller
f67868ff4c
Workaround for broken (or missing) bc.
2000-12-06 09:48:57 +00:00
Ulf Möller
d29b63bc9b
Move the rijndael "test" to the bf and cast tests.
2000-12-02 08:11:55 +00:00
Bodo Möller
b5a25a430a
"make depend"
2000-12-01 08:48:42 +00:00
Richard Levitte
f9b3bff6f7
First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu>
2000-11-30 22:53:34 +00:00
Richard Levitte
23f80f46a4
Make it possible to test SSL compression
2000-11-30 11:57:31 +00:00
Richard Levitte
d53d271728
Addapt the VMS scripts to the changes in the Makefiles.
2000-11-22 18:17:16 +00:00
Ulf Möller
6a8ba34f9d
in some new file names the first 8 characters were not unique
2000-11-12 22:32:18 +00:00
Richard Levitte
f777408fc5
For a long time, I've wanted to be able to easily run one or a few
...
individual tests. I finally got myself to implement it...
2000-11-12 20:24:30 +00:00
Richard Levitte
ccb9643f02
Remove references to RSAref. The glue library is but a memory to fade
...
away now...
2000-11-08 17:51:37 +00:00
Richard Levitte
5270e7025e
Merge the engine branch into the main trunk. All conflicts resolved.
...
At the same time, add VMS support for Rijndael.
2000-10-26 21:07:28 +00:00
Richard Levitte
3ab5651112
The experimental Rijndael code moved to the main trunk.
...
make update done.
2000-10-14 20:09:54 +00:00
Richard Levitte
eec79f9bab
Synchronise the VMS build with the Unix one.
2000-09-08 20:25:49 +00:00
Richard Levitte
62ab514e98
'make update'
2000-09-07 08:46:51 +00:00
Dr. Stephen Henson
dcb1ef5c22
Change PKCS#7 test data to take account of removal of
...
indefinite length encoding.
2000-08-25 01:29:41 +00:00
Richard Levitte
3009458e2f
MD4 implemented. Assar Westerlund provided the digest code itself and the test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-08-14 14:05:53 +00:00
Richard Levitte
c2bbf9cf6c
I got sick and tired of having to keep track of NIDs when such a thing
...
could be done automagically, much like the numbering in libeay.num and
ssleay.num. The solution works as follows:
- New object identifiers are inserted in objects.txt, following the
syntax given in objects.README.
- objects.pl is used to process obj_mac.num and create a new
obj_mac.h.
- obj_dat.pl is used to create a new obj_dat.h, using the data in
obj_mac.h.
This is currently kind of a hack, and the perl code in objects.pl
isn't very elegant, but it works as I intended. The simplest way to
check that it worked correctly is to look in obj_dat.h and check the
array nid_objs and make sure the objects haven't moved around (this is
important!). Additions are OK, as well as consistent name changes.
2000-07-05 02:45:36 +00:00
Geoff Thorpe
1c4f90a05d
Enable DSO support on alpha (OSF1), cc and gcc.
...
Also, "make update" has added some missing functions to libeay.num,
updated the TABLE for the alpha changes, and updated thousands of
dependancies that have changed from recent commits.
2000-06-13 12:59:38 +00:00
Richard Levitte
cde245bdcd
Small bugs in the test scripts removed.
2000-03-18 09:11:00 +00:00
Richard Levitte
2202d75ed7
Typo corrected.
2000-03-16 21:20:35 +00:00
Bodo Möller
5d8118d218
another typo
2000-03-13 23:06:03 +00:00
Bodo Möller
8a270a0f41
typo
2000-03-13 23:01:32 +00:00
Richard Levitte
c13ee21492
Synchronise with Unixly tests
2000-03-13 22:27:52 +00:00
Bodo Möller
66b9c3cae0
Run test_ssl last -- it's the only test that really uses the SSL library
...
in addition to the crypto library.
2000-03-13 20:47:45 +00:00
Bodo Möller
46c4647e3c
"openssl no-..." commands for avoiding the need to grep
...
"openssl list-standard-commands".
2000-03-13 20:31:46 +00:00
Bodo Möller
d58d6c2783
Include a timing test that works without RSA.
2000-03-13 19:44:45 +00:00
Bodo Möller
95fabd2fbc
Corrections.
...
In testss, use MD5 as digest algorithm so that the resulting
certificates can be used for testssl with RSA.
2000-03-13 19:35:37 +00:00
Bodo Möller
65b002f399
Update test suite so that 'make test' succeeds in 'no-rsa' configuration.
2000-03-13 19:24:39 +00:00
Richard Levitte
bc23b70e47
Synchronise with Unix.
2000-03-13 19:05:18 +00:00
Richard Levitte
41f0aae69b
Correct a potential bug.
2000-03-13 18:59:11 +00:00
Bodo Möller
ee607d338a
Don't try to test the RSA command if it is not available.
2000-03-13 18:05:59 +00:00
Bodo Möller
563f1503a8
Connection timings (using ISO C function clock()).
2000-03-13 15:06:54 +00:00
Bodo Möller
e458958280
Always use fixed DH parameters created with 'dhparam -C',
...
don't dynamically create them. This allows using ssltest
for approximate performance comparisons:
$ time ./ssltest -num 50 -tls1 -cert ../apps/server2.pem \
[-no_dhe|-dhe1024dsa|-dhe1024]
(server2.pem contains a 1024 bit RSA key, the default has only
512 bits.) Note that these timings contain both the server's and
the client's computations, they are not a good indicator for
server workload in different configurations.
2000-03-10 13:23:20 +00:00
Richard Levitte
cde28e18bf
New logical names to skip algorithms are now supported.
2000-02-27 10:41:31 +00:00
Richard Levitte
921c9bd539
Make sure that all test files are gone before starting the tests, or
...
backup will complain about some version not existing. Perhaps.
2000-02-26 03:59:46 +00:00
Richard Levitte
8072c135cb
Move to using the same perl code as Makefile.ssl
2000-02-26 03:58:36 +00:00
Richard Levitte
1472f300d5
Just as in Unix, make sure to generate some kind of "random data".
2000-02-26 03:57:35 +00:00
Richard Levitte
60b8e17568
Typo corrected.
2000-02-26 03:56:09 +00:00
Richard Levitte
3e0f27f3c9
Changes to synchronise with Unix.
...
(actually, much more is needed, like a real config script)
2000-02-25 20:37:46 +00:00