Dr. Stephen Henson
c0711f7f0f
Initial support for DSA_METHOD...
1999-08-22 17:57:38 +00:00
Dr. Stephen Henson
8484721adb
Allow memory bios to be read only and change PKCS#7 routines to use them.
1999-08-19 13:07:43 +00:00
Bodo Möller
6e4a3b5529
Really undo the base64 change so that make test survives
1999-08-18 16:42:27 +00:00
Dr. Stephen Henson
c6c3450643
Fix PKCS7_ENC_CONTENT_new() to include a sensible default content type and add
...
support for encrypted content type in PKCS7_set_content().
1999-08-17 12:58:01 +00:00
Ulf Möller
364836ca1c
Undo base64 decoding change (was not a bug fix).
1999-08-14 20:49:37 +00:00
Ulf Möller
2b7af70139
Fix faulty base64 decoding of data that was 46 or 47 bytes long.
...
Submitted by: Ivan Nejgebauer <ian@uns.ns.ac.yu>
1999-08-13 19:42:33 +00:00
Ulf Möller
1bf0b46b13
Add pkcs7 and des apps to "make all".
1999-08-13 19:21:53 +00:00
Ulf Möller
27ad06a627
Compile pkcs7 and des apps.
1999-08-13 18:04:04 +00:00
Bodo Möller
690233bccc
Submitted by: Lidong Zhou <ldzhou@cs.cornell.edu>
1999-08-11 13:31:03 +00:00
Dr. Stephen Henson
fd52057729
Add functions to allow extensions to be added to certificate requests.
...
Modify obj_dat.pl to take its files from the command line. Usage is now
perl obj_dat.pl objects.h obj_dat.h
this should avoid redirection shell escape problems under Win32.
1999-08-11 13:08:58 +00:00
Bodo Möller
8b94634428
Fix typo.
1999-08-11 08:28:40 +00:00
Bodo Möller
019a7aba4a
Updates.
...
Prototypes and constant declarations for non-copying reads and writes for
BIO pairs (which is totally untested as of now, so I don't yet commit
the actual source code, but reserve the numbers to avoid conflicts).
1999-08-10 11:36:22 +00:00
Dr. Stephen Henson
87c49f622e
Support for parsing of certificate extensions in PKCS#10 requests: these are
...
used by things like Xenroll. Also include documentation for extendedKeyUsage
extension.
1999-08-09 22:38:05 +00:00
Ralf S. Engelschall
d91e201e96
Bump after tarball rolling.
...
Friends, feel free to start again hacking for 0.9.5... ;)
1999-08-09 11:14:08 +00:00
Ralf S. Engelschall
2c720c746b
Bump version to 0.9.4
1999-08-09 10:40:38 +00:00
Bodo Möller
a9642be663
more consistent formatting
1999-08-08 14:06:29 +00:00
Ralf S. Engelschall
1d5edd0882
Fix two remaining prototype-related warnings
1999-08-08 11:25:32 +00:00
Ralf S. Engelschall
9639515871
A few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
...
Hint from: Andrija Antonijevic <TheAntony2@bigfoot.com>
1999-08-08 10:15:43 +00:00
Bodo Möller
9918762413
change formatting a bit
1999-08-07 02:45:31 +00:00
Bodo Möller
a12258fcd2
fix the bug
1999-08-06 12:27:39 +00:00
Bodo Möller
48c843c367
New function DSA_dup_DH, and fixes for bugs that were found
...
while implementing and using it.
1999-08-05 11:50:18 +00:00
Ben Laurie
ab8f6b415f
More diagnostics.
1999-08-03 10:19:02 +00:00
Ben Laurie
97e84e38df
Make it compile under -pedantic.
1999-08-03 10:18:27 +00:00
Bodo Möller
316d5cdc85
comment
1999-08-03 08:31:13 +00:00
Bodo Möller
4c8319c0f5
Revert erroneous change.
1999-08-03 06:05:54 +00:00
Bodo Möller
50ccbc13f6
automatically use no-mdc2 if no-des is requested.
1999-08-02 22:13:46 +00:00
Bodo Möller
a851544169
avoid some NO_<cipher> problems
1999-08-02 21:44:49 +00:00
Bodo Möller
927ddaffeb
avoid cast
1999-08-02 19:55:51 +00:00
Andy Polyakov
4c22909e31
Extra i386+gcc bn_div.c tune-up featuring inline division and saving
...
the remainder left in %edx. Here is the resulting performance improvement
matrix (improvement as a result of this *and* previous tune-up committed
two days ago). The results were obtained by profiling the "div" part of
the crypto/bn/bnspeed.c.
CPU BN_div bn_div_words overall comment
------------------------------------------------------------------------
PII +16% accumulated by +2-3% PII multiplies damn fast! Taking
inlining multiplication out of the loop
didn't make too much difference.
Eliminating of the multiplication
involved in remainder calculation
is the major factor.
Pentium +45% accumulated by +7-9% mull isn't that fast and replacing
inlining multiplications with additions in
the loop has more visible effect:-)
MIPS +75% +12% +20-25% In addition to the taking mults
R10000 out of the loop (giving 12% in the
asm/mips3.s) three mults were
eliminated in BN_div.
Alpha +30% +50% +10-15% Same as above. But remember that
EV4 bn_div_words is a C implementation.
It takes 4 Alpha mults in C to do
the same thing as 1 MIPS mult in
assembler does. So the effect (50%)
is more impressive. But not the
overall one... Well, if Alpha
bn_mul_add would be implemented
in assembler overall improvement
would be closer to MIPS...
1999-07-31 23:27:41 +00:00
Bodo Möller
8d85b33eb5
by request: let BN_dup(NULL) just return NULL
1999-07-30 19:22:57 +00:00
Andy Polyakov
0dd25e3606
Bignum division tune-up. Idea is to move multiplications in front of
...
loop body and replace 'em with addition/subtraction.
1999-07-30 11:43:43 +00:00
Bodo Möller
a40f6dce87
correct error signalling for opendir() failure
1999-07-30 10:43:34 +00:00
Dr. Stephen Henson
08dbdb85ee
Fix to PKCS#12 code to use the cipher block length when allocating a buffer
...
for encrypted data, rather than hard coding '8'.
1999-07-30 10:11:21 +00:00
Dr. Stephen Henson
922180d794
Allow the PKCS#7 (S/MIME encrypt) application to support more than one
...
recipient.
1999-07-30 01:12:46 +00:00
Ulf Möller
fd556cbfb6
No use in naming the cblock _; the structure still is incompatible
...
to Kerberos.
1999-07-29 16:15:48 +00:00
Ulf Möller
7463ca9acc
obj_dat.h is autogenerated (it was in the CVS because old versions of
...
Configure didn't generate the file in Windows builds).
1999-07-29 14:10:20 +00:00
Bodo Möller
571199434c
Always use buildinf.h, which now includes the mk1mfinf.h data.
...
Using different files caused problems because the dependencies
in the Makefiles produced by mk1mf.pl were for the standard case,
i.e. mentioned buildinf.h and not mk1mfinf.h.
1999-07-29 12:57:23 +00:00
Ulf Möller
37b7185b5d
Restore compability with kerberos/des.h (I had deleted some seemingly useless
...
definitions such as C_Block earlier).
1999-07-29 00:09:49 +00:00
Ulf Möller
8c197cc55e
VMS updates.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-07-28 23:25:59 +00:00
Dr. Stephen Henson
3e3d2ea2fc
New function OBJ_obj2txt()
1999-07-27 22:22:58 +00:00
Dr. Stephen Henson
770d19b862
New RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.
1999-07-27 21:58:08 +00:00
Andy Polyakov
5965902e6e
when invoking bn_*_comba[48] result->top wasn't always set correctly.
1999-07-27 09:36:59 +00:00
Bodo Möller
2e0fc87599
Use correct CFLAG definition for makefile.one builds.
1999-07-27 09:10:36 +00:00
Andy Polyakov
1656ef2997
SPARC Solaris config updates.
...
./config sences whole range of SPARC instruction sets. Do note that
it favors Sun C now if both gcc and cc 4.2 or later are present!
1999-07-25 22:25:12 +00:00
Andy Polyakov
6841fb0d1e
Minor MD5 tune-up for WIN32 on Intel.
1999-07-25 15:25:30 +00:00
Andy Polyakov
a0618e3e5e
Added support for SPARC Linux.
1999-07-25 15:13:49 +00:00
Andy Polyakov
ccb8a026c0
GNU assembler (read SPARC Linux) support added.
1999-07-25 14:07:48 +00:00
Andy Polyakov
fccbb9b34f
- performance retunes, v8plus bn_*_comba routines are reimplemented;
...
- support for GNU assembler (read SPARC Linux);
1999-07-25 12:34:30 +00:00
Bodo Möller
f66c303201
Don't include x509.h when we just need asn1.h
1999-07-24 03:09:01 +00:00
Ulf Möller
40e29b1976
Remove obsolete files.
1999-07-22 21:57:41 +00:00
Bodo Möller
22341d4085
ignore r586unix.cpp
1999-07-22 16:23:54 +00:00
Bodo Möller
cad4e62b24
date.h no longer to be deleted by "make clean"
1999-07-22 16:22:11 +00:00
Ulf Möller
49b8142262
Make the perl module compile and eliminate some of the warnings.
...
Still doesn't work (the destructor on BIO and SSL is called immediately
after creating the object. Why that??)
1999-07-22 16:10:31 +00:00
Bodo Möller
f0e8ae723c
Torture weak compilers less by not automatically including x509.h where
...
it is not needed.
1999-07-21 22:10:23 +00:00
Bodo Möller
74678cc2f8
Additional user data argument to pem_password_cb function type
...
and to lots of PEM_... functions.
Submitted by: Damien Miller <dmiller@ilogic.com.au>
1999-07-21 20:57:16 +00:00
Bodo Möller
664b99853c
avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
...
use new file buildinf.h instead.
1999-07-21 20:49:15 +00:00
Bodo Möller
16bc9fea4d
slight clean-up
1999-07-21 20:47:51 +00:00
Bodo Möller
ae6767430e
Auto-generated file -- this should not be under version control
...
(and the other */asm/*.cpp files are not)
1999-07-21 20:47:19 +00:00
Andy Polyakov
cea538154b
Get rid of redundant multiplications in bn_div_words.
1999-07-21 13:53:01 +00:00
Andy Polyakov
7363455fac
MIPS III/IV assembler module is reimplemented.
1999-07-20 15:50:20 +00:00
Andy Polyakov
eaccfe8b29
crypto/bn/asm/mips3.s is moved to crypto/bn/asm/obsolete/
1999-07-20 13:43:26 +00:00
Andy Polyakov
d2759c2135
crypto/bn/asm/mips3.s is obsolete. I'm moving it to crypto/bn/asm/obsolete
...
in order to replace it with a new version.
1999-07-20 13:40:02 +00:00
Bodo Möller
e391116a48
New compile time option -DCRYPTO_MDEBUG_THREAD.
1999-07-19 10:36:10 +00:00
Bodo Möller
458cddc104
Have CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
...
and make it the default for some debugging configurations.
1999-07-19 09:25:35 +00:00
Bodo Möller
3dff94c2e4
Add optional (compile-time configurable) time to CRYPTO_mem_leaks output.
...
This is much more helpful than the counter when doing tests with the library
interactively.
1999-07-18 22:39:45 +00:00
Bodo Möller
dc347119e6
"make clean" has to delete date.h
1999-07-17 15:17:14 +00:00
Ulf Möller
cfa3747ba9
More DES library cleanups: remove references to srand/rand
...
and delete an unused file.
1999-07-15 23:47:02 +00:00
Ulf Möller
4f6235f701
RSA private keys without dmp1/dmq1/iqmp are also valid (but slower).
1999-07-15 23:45:04 +00:00
Ulf Möller
9a3bbbce91
NO_HMAC.
1999-07-15 23:44:04 +00:00
Dr. Stephen Henson
924154d9f2
Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
...
unnecessary cast.
1999-07-13 00:00:05 +00:00
Bodo Möller
7eea36bb48
cosmetic changes
1999-07-12 18:50:34 +00:00
Dr. Stephen Henson
bbdb543844
More NASM support code it still doesn't work but it doesn't work less than it
...
didn't work before :-)
1999-07-12 18:12:43 +00:00
Bodo Möller
d9f0016bc5
typo in string
1999-07-12 16:46:28 +00:00
Dr. Stephen Henson
72e2ffee20
Beginnings of experimental support for NASM assembler. This is a free
...
assembler for various X86 platforms including Win32. It can output object files
that VC++ will tolerate so it could be used to provide assembly language support
to Win32 without the need for MASM.
This is preliminary stuff: it doesn't even work yet.
1999-07-12 12:33:16 +00:00
Bodo Möller
3a55fc1aab
correct error handling
...
insert spaces in products that occur in error codes
1999-07-12 09:46:34 +00:00
Bodo Möller
8735ee6f5d
typo
1999-07-11 22:06:54 +00:00
Bodo Möller
6519b2cb92
New function RSA_check_key.
1999-07-11 22:01:41 +00:00
Bodo Möller
03cd49447f
New function RSA_check_key,
...
openssl rsa -check
1999-07-11 22:00:55 +00:00
Dr. Stephen Henson
f598cd13a3
Various changes to stop VC++ choking under Win32.
1999-07-11 17:09:04 +00:00
Dr. Stephen Henson
f513939ebb
Add a debugging option to PKCS#5 v2.0 key generation function.
1999-07-11 12:40:46 +00:00
Dr. Stephen Henson
0ab8beb480
Copy flags in ASN1_STRING_dup()
1999-07-11 12:30:55 +00:00
Dr. Stephen Henson
f8be08d200
SXnet code was freeing up the extension data rather than the temporary
...
zone number.
1999-07-10 12:48:31 +00:00
Bodo Möller
777ab7e611
Fix memory checking.
1999-07-09 16:27:30 +00:00
Ulf Möller
a026fd201f
Obsolete/experimental code.
1999-07-09 15:23:11 +00:00
Bodo Möller
5685dcd445
improve readability of #if conditions (ELF, if defined, supersedes BSDI
...
[which we don't really define if ELF is defined, but who knows])
1999-07-06 17:28:29 +00:00
Bodo Möller
c91b5c717c
avoid confliction definitions of NDEBUG
1999-07-05 11:01:16 +00:00
Bodo Möller
e334d78b87
Disable asserts for standard configurations.
1999-07-05 10:18:51 +00:00
Ulf Möller
5271ebd9a3
More no-xxx option tweaks.
1999-06-30 00:42:56 +00:00
Ulf Möller
5676d8cb76
Fix no-hmac and no-ripemd.
1999-06-29 23:52:08 +00:00
Dr. Stephen Henson
ce8b257413
New functions to allow RSA_METHODs to be changed without poking round in
...
RSA structure internals.
1999-06-29 22:22:42 +00:00
Ulf Möller
e371828067
Use "long long" for all Win32 gcc ports.
1999-06-28 16:17:38 +00:00
Bodo Möller
7722424462
With mingw32, use "long long" rather than "_int64" (the latter does
...
not work, at least the package mentioned in INSTALL.W32 does not know
about it).
1999-06-28 14:38:31 +00:00
Bodo Möller
baac3b4b5f
Close another memory hole.
1999-06-25 13:49:55 +00:00
Bodo Möller
227cd06ffe
Avoid some memory holes, one of which was pointed out by
...
"Chad C. Mulligan" <mulligan@antipope.org>.
1999-06-25 13:41:35 +00:00
Dr. Stephen Henson
034292ad6a
Fix d2i_ASN1_INTEGER() and i2d_ASN1_INTEGER() so it correctly works out
...
the length of negative integers.
1999-06-24 01:50:27 +00:00
Bodo Möller
946cbf67af
Don't use inline assembler when configured for "no-asm".
1999-06-23 12:18:31 +00:00
Dr. Stephen Henson
170afce58d
New function PKCS7_signatureVerify to allow the signing certificate to
...
be explicitly stated with PKCS#7 verify.
Also fix for util/mkerr.pl: if the -nostatic option is being used this will be
for an external library so the autogenerated C file should include the
header file as:
#include "any/path/to/header.h"
rather than the internal library form:
#include <openssl/header.h>
1999-06-22 13:33:22 +00:00
Dr. Stephen Henson
dbd665c210
Change the PEM_* function prototypes to use DECLARE_PEM macros and change
...
util/mkdef.pl to handle this. Also do a 'make update'.
1999-06-22 01:38:31 +00:00
Dr. Stephen Henson
66ab08b1cf
Implement STACK_OF(ANS1_OBJECT) for extended key usage extension, change the
...
documentation to reflect the STACK_OF(CONF_VALUE) change to the CONF lib and
use ANSI typedefs for X509V3_EXT_I2D and X509V3_EXT_FREE.
1999-06-21 23:59:09 +00:00
Ben Laurie
10cea23bd4
Don't shadow.
1999-06-21 10:08:56 +00:00
Bodo Möller
a6c1b3a9ac
"make update"
1999-06-21 10:04:48 +00:00
Dr. Stephen Henson
ba404b5e86
Convert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). It
...
seemed like a good idea at the time... several hours later it was rather
obvious that these are used all over the place making the changes rather
extensive.
1999-06-20 22:18:16 +00:00
Dr. Stephen Henson
8623f693d9
New functions CONF_load_bio() and CONF_load_fp() to load a configuration
...
file from a bio or fp. Added some more constification to the BN library.
1999-06-20 17:36:11 +00:00
Bodo Möller
a111306bbc
New function CRYPTO_num_locks.
1999-06-18 16:14:18 +00:00
Bodo Möller
2de625408a
Use same name in the definition as in the header file declaration :-/
...
(the extra "get" makes the name quite long, but otherwise it'd sound
as if you could request something rather than obtain information
about what the peer did).
1999-06-18 12:28:29 +00:00
Bodo Möller
2eae234023
Some people don't have /dev/fd/0 on Solaris, so use - instead.
1999-06-15 23:17:09 +00:00
Bodo Möller
6c82fda2dd
Don't try to use zero-byte buffers.
1999-06-15 18:07:44 +00:00
Bodo Möller
b52d109518
long obsolete
1999-06-14 15:51:26 +00:00
Bodo Möller
11e4b79a3a
rc4_locl.h and bf_locl.h incorrectly defined _HEADER_...;
...
opensslconf.h always expects HEADER_... (no leading underscore).
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-06-14 14:48:25 +00:00
Bodo Möller
d7fcc7f6c6
Bugfix.
1999-06-12 11:07:52 +00:00
Bodo Möller
e0f12c41de
Avoid some warnings (on silly compilers).
1999-06-12 09:52:44 +00:00
Bodo Möller
95d29597b7
BIO pairs.
1999-06-12 01:03:40 +00:00
Dr. Stephen Henson
9bce3070ac
Fix to i2d_DSAPublicKey() to return the correct length.
...
Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr>
1999-06-11 22:30:45 +00:00
Dr. Stephen Henson
565d1065c3
Document the X509V3 code and change some of the extension function pointers
...
to use 'void *' rather than 'char *' for an "arbitrary extension".
1999-06-11 01:58:42 +00:00
Ben Laurie
84757d677f
Fix warnings.
1999-06-10 19:45:25 +00:00
Bodo Möller
247cf8d279
Avoid warning.
1999-06-10 18:03:14 +00:00
Dr. Stephen Henson
b7d135b353
Two new functions to write out PKCS#8 private keys. Also fixes for some of
...
the the PBE code and a new constant PKCS5_DEFAULT_ITER for the default
iteration count if it is passed as zero.
1999-06-10 17:32:52 +00:00
Bodo Möller
d58d092bc9
Avoid warnings.
1999-06-10 16:29:32 +00:00
Bodo Möller
0b977773d2
Repair PEM_write_PrivateKey and PEM_write_bio_PrivateKey.
1999-06-09 23:12:08 +00:00
Ulf Möller
adc7fe123b
Circumvent bug in SC5 without patch #107357-01.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-06-09 21:13:27 +00:00
Dr. Stephen Henson
f62676b92d
Change the PEM function implementation to use a common set of macros: this
...
should make modifying them easier.
Fix the selfsign demo: it was rather ancient and used deleted functions.
1999-06-09 18:05:30 +00:00
Bodo Möller
a7bd03960c
des_cbc_encrypt / des_ncbc_encrypt issue.
1999-06-09 18:01:49 +00:00
Bodo Möller
5765e24f14
Update dependencies.
1999-06-09 17:38:32 +00:00
Bodo Möller
3bcfce2881
Unify DES library: ncbc_enc.c wasn't used, but its content was almost
...
duplicated in cbc_enc.c (without IV updating) and in des_enc.c
As pointed out by others on the openssl-dev list, des_cbc_encrypt (without
IV updating; defined in cbc_enc.c) exists only for historical reasons:
des_ncbc_encrypt should be used instead (and the caller does not have
to manually update the IV).
If des_cbc_enrypt is not needed for backwards compatibility, the
definition of des_ncbc_encrypt should be put back into des_enc.c, and
both cbc_enc.c and ncbc_enc.c can be deleted.
If des_cbc_encrypt *is* needed for backwards compatibility, its behaviour
obviously should not change (i.e., don't add IV updating).
1999-06-09 17:28:30 +00:00
Ulf Möller
4e6ec1da04
Remove old libdes version number.
1999-06-09 16:26:50 +00:00
Bodo Möller
7740a1c6ef
"make update" (added to top Makefile, and applied).
1999-06-09 16:18:53 +00:00
Bodo Möller
c77f47abfa
DES CBC change looks dubious to me.
1999-06-09 13:41:51 +00:00
Bodo Möller
e766a681aa
Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
...
Allow configuring the name of that header file.
1999-06-09 13:23:38 +00:00
Ben Laurie
9e952fc877
Oops. Get rid of now incorrect comment.
1999-06-09 11:09:12 +00:00
Ben Laurie
05861c77e7
I keep forgetting to fix this: update the IV! Most important!
1999-06-09 11:08:36 +00:00
Ben Laurie
233bf734d3
Make "make test" fail if bntest fails an internal selfcheck.
1999-06-09 10:19:53 +00:00
Ulf Möller
9fe6729b46
The des app.
1999-06-08 20:11:02 +00:00
Ben Laurie
72fbe87dc6
Survive pedanticism.
1999-06-08 18:37:43 +00:00
Ulf Möller
908eb7b85a
Call our crypt implementation des_crypt(). crypt() now is a wrapper if
...
there is no system crypt() available.
1999-06-08 16:35:11 +00:00
Ulf Möller
bf0870ac73
Casts.
1999-06-08 16:25:21 +00:00
Ulf Möller
f947eb318e
Warnings and casts.
1999-06-08 16:17:25 +00:00
Ulf Möller
93fd0fd61f
Don't #define _, and eliminate casts.
1999-06-08 15:52:47 +00:00
Ulf Möller
bebf2787ea
Fix to compile the des app.
1999-06-08 15:35:57 +00:00
Bodo Möller
c035b0c3b2
"request" added.
1999-06-08 10:18:48 +00:00
Dr. Stephen Henson
8eb57af5fe
Complete support for PKCS#5 v2.0. Still needs extensive testing.
1999-06-08 00:09:51 +00:00
Bodo Möller
1aad3392e5
Fix for BIO pairs.
1999-06-07 22:51:55 +00:00
Bodo Möller
ba9f280885
Use locking in a way that makes more sense.
1999-06-07 22:50:12 +00:00
Dr. Stephen Henson
97e4a93245
This is the main PKCS#5 v2.0 key generation function, it parses the ASN1
...
structure and decides what key to generate (if any). Not currently added to
the PBE algorithm list because it is largely untested.
1999-06-07 21:00:19 +00:00
Bodo Möller
3928b6bf48
treat init properly
1999-06-07 20:34:36 +00:00
Bodo Möller
b1c4fe3625
Don't mix real tabs with tabs expanded as 8 spaces -- that's
...
a pain to read when using 4-space tabs.
1999-06-07 20:26:51 +00:00
Bodo Möller
9e06f6f601
Introduce "BIO pairs", which (when finished) will relay data
...
so that the SSL library can be used for applications that
have to handle all the actual I/O themselves.
1999-06-07 16:04:45 +00:00
Dr. Stephen Henson
8e21c14607
More PKCS#5 v2.0 development. Add a function to setup a PKCS#5 v2.0
...
AlgorithmIdentifier and make various ASN1 fixes.
1999-06-06 23:34:44 +00:00
Dr. Stephen Henson
2bd83ca1c9
Change PBE handling a bit more: now the key and iv generator does calls
...
EVP_CipherInit() this because the IV wont be easily available when doing
PKCS#5 v2.0
1999-06-06 18:41:52 +00:00
Dr. Stephen Henson
69cbf46811
Rewrite PBE handling read to support PKCS#5 v2.0 and update the function
...
list for Win32.
1999-06-06 13:07:13 +00:00
Dr. Stephen Henson
095ce35378
Change so PEM private key read routines can handle PKCS#8 transparently.
1999-06-05 18:40:51 +00:00
Dr. Stephen Henson
e7871ffaa8
More PKCS#8 stuff. Support for unencrypted forms of private key.
1999-06-05 12:39:10 +00:00
Ben Laurie
8d8a8041ec
const/type fixes.
1999-06-05 12:16:33 +00:00
Dr. Stephen Henson
3cbb7937fa
Add d2i,i2d bio and fp functions for PKCS#8 and add -inform and -outform
...
arguments to pkcs8 application.
1999-06-05 01:45:20 +00:00
Dr. Stephen Henson
600dec1586
Add a 'pkcs8' application for initial PKCS#8 support. Still needs lots more
...
options to handle encrypted and unencrypted forms and DER format input and
output.
1999-06-05 00:32:16 +00:00
Dr. Stephen Henson
b0c6fb8064
The rest of the PKCS#5, PKCS#8 patch I forgot before :-)
1999-06-04 23:33:48 +00:00
Dr. Stephen Henson
ef8335d900
Add PKCS#5 v1.5 compatible algorithms and initial PKCS#8 support. PKCS#8 needs
...
more work: need an application and make the private key routines automatically
handle PKCS#8.
1999-06-04 23:32:14 +00:00
Ben Laurie
84c15db551
Some constification and stacks that slipped through the cracks (how?).
1999-06-04 22:23:10 +00:00
Ulf Möller
1ec7ac3ce7
Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).
...
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-06-04 21:47:27 +00:00
Ulf Möller
a53955d8ab
Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).
...
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-06-04 21:35:58 +00:00
Ulf Möller
5c03115af1
Test apps.
1999-06-04 21:31:48 +00:00
Ben Laurie
b4f76582d4
More evil cast removal.
1999-06-03 18:04:04 +00:00
Ben Laurie
213a75dbf2
Make samples compile.
1999-06-03 16:07:37 +00:00
Ben Laurie
5c0a48655f
stack
1999-06-02 22:01:56 +00:00
Ben Laurie
8188e1537b
Evil cast extermination.
1999-06-02 21:34:46 +00:00
Ben Laurie
8f0edcd142
stack.
1999-06-02 21:13:45 +00:00
Ben Laurie
a1195a19f5
Move stack implementations to more natural places.
1999-06-02 17:14:44 +00:00
Ben Laurie
b05b50e67b
Stack.
1999-06-02 17:11:53 +00:00
Ulf Möller
778ec213fb
Remove redundant line.
1999-06-01 22:47:40 +00:00
Ulf Möller
0a78c29760
Borland C fix.
...
Submitted by: Andy Polyakov
1999-06-01 09:41:13 +00:00
Ben Laurie
6d114240b9
stack.
1999-05-31 21:00:25 +00:00
Ben Laurie
426edadf98
Stack.
1999-05-31 20:35:31 +00:00
Ben Laurie
b6436ff2c2
More stack.
1999-05-31 11:57:32 +00:00
Ben Laurie
7e258a56da
Yet another stack.
1999-05-30 22:25:19 +00:00
Ben Laurie
fc875472d0
Another stack.
1999-05-30 21:16:24 +00:00
Ben Laurie
e5e932d212
Another safe stack.
1999-05-30 15:40:21 +00:00
Ben Laurie
ee8ba0b26c
Another safe stack.
1999-05-30 15:25:47 +00:00
Ben Laurie
80c38957bc
And carry on with development...
1999-05-29 14:18:27 +00:00
Ben Laurie
033d858cc2
Oops!
1999-05-29 14:14:56 +00:00
Ben Laurie
31fab3e8da
Prepare to release 0.9.3a
1999-05-29 14:13:15 +00:00
Ben Laurie
4da88a8d92
Update dependencies.
1999-05-29 14:10:58 +00:00
Bodo Möller
8e228dc56a
Pass INSTALL_PREFIX to subdirectories of crypto
...
Submitted by: strube@physik3.gwdg.de (Hans Werner Strube)
1999-05-28 23:27:09 +00:00
Bodo Möller
436a376bb0
Some assembler-related clean-ups.
1999-05-28 23:18:51 +00:00
Bodo Möller
410aa5227b
Include <stdio.h>.
1999-05-28 20:21:33 +00:00
Bodo Möller
58c7977cfa
I386_ONLY is defined in opensslconf.h, so we need to include it.
...
Submitted by: John Keith <jtkeith@kavi.com>
1999-05-27 00:17:53 +00:00
Bodo Möller
b14d0e0590
Circument egcs bug.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-26 19:59:36 +00:00
Dr. Stephen Henson
f3c751067a
Fix for memory leak.
1999-05-26 12:40:08 +00:00
Dr. Stephen Henson
f9073fce9b
Update md5 assembly source for Win32.
1999-05-26 00:39:20 +00:00
Bodo Möller
9890b00082
Temporary workaround for IRIX64 build.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-25 20:27:41 +00:00
Ben Laurie
767d6bfb87
Move on to 0.9.4.
1999-05-24 20:59:34 +00:00
Ben Laurie
09befa1905
Here we go: prepare to roll 0.9.3.
1999-05-24 20:52:13 +00:00
Ben Laurie
e09632f986
Move to beta 3.
1999-05-23 16:38:07 +00:00
Ben Laurie
24abc46963
Prepare for final(?) beta.
1999-05-23 16:35:29 +00:00
Dr. Stephen Henson
3550ec4f1f
Set ext_list to NULL after use.
1999-05-23 12:02:18 +00:00
Dr. Stephen Henson
4b55c2a3a9
Move the Win32 #undefs of X509_NAME and PKCS7_ISSUER_AND_SERIAL so they will
...
always get included with the relevant files.
1999-05-21 12:14:35 +00:00
Bodo Möller
96a099f93e
Remove traces of bad idea :-)
1999-05-21 11:21:19 +00:00
Bodo Möller
7e70181723
It was a very bad idea to use #include "../e_os.h" -- when this occurs
...
in cryptlib.h (which is often included as "../cryptlib.h"), then the
question remains relative to which directory this is to be interpreted.
gcc went one further directory up, as intended; but makedepend thinks
differently, and so probably do some C compilers. So the ../ must go away;
thus e_os.h goes back into include/openssl (but I now use
#include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) --
and we have another huge bunch of dependency changes. Argh.
1999-05-21 11:16:48 +00:00
Dr. Stephen Henson
31a352d191
The last argument in the d2i_XXX_fp and d2i_XXX_bio functions should be
...
of type XXX ** not XXX *
1999-05-21 01:06:23 +00:00
Bodo Möller
d6847aed10
Add a kludge :-(
...
There were problems with putting e_os.h just into the top directory,
because the test programs are compiled within test/ in the "standard"
case in in their original directories in the makefile.one case;
and in the latter symlinks may not be available.
1999-05-20 22:18:49 +00:00
Bodo Möller
17e3dd1c62
Don't install e_os.h in include/openssl, use it only as a local
...
include file.
1999-05-20 21:59:20 +00:00
Ulf Möller
9dff4cc051
Bring VMS in sync with the recent changes.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-05-20 21:00:29 +00:00
Ben Laurie
60ed228e71
On seconds thoughts, the version number shoud _never_ decrease.
1999-05-20 19:57:53 +00:00
Ben Laurie
c1c96de01c
Revert.
1999-05-20 19:46:23 +00:00
Ben Laurie
6b6596202b
Prepare for a beta release.
1999-05-20 19:33:46 +00:00
Bodo Möller
4d5d543e3c
Some solaris-usparc MD5 fixes.
1999-05-20 13:11:43 +00:00
Ulf Möller
7a01a45bc4
Declare test key data as static.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-20 01:46:39 +00:00
Ulf Möller
e14d4443a2
Bignum library bug fix. IRIX 6 passes "make test" now!
...
This also avoids the problems with SC4.2 and unpatched SC5.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-20 01:43:07 +00:00
Bodo Möller
06064bb512
Note that the numbering scheme used to be different.
1999-05-19 18:08:35 +00:00
Ben Laurie
e90c772946
Switch to new version numbering scheme.
1999-05-19 17:36:40 +00:00
Dr. Stephen Henson
e84240d422
New functions sk_set, sk_value and sk_num to replace existing macros: this is
...
to minimise the effects on existing code.
1999-05-19 12:45:16 +00:00
Dr. Stephen Henson
35f7324c23
Change default PKCS#12 iteration count to 2048, include rsa_oeap_test in the
...
test batch file.
1999-05-18 20:12:54 +00:00
Ulf Möller
5d818c3051
Spelling error.
1999-05-18 14:53:39 +00:00
Ralf S. Engelschall
09ad8001be
Protect applications from failing to compile when they
...
try to directly include opensslv.h.
1999-05-18 09:19:28 +00:00
Ulf Möller
fb92ba64a0
Move prototypes to the right place.
1999-05-17 22:25:31 +00:00
Dr. Stephen Henson
703126f027
Various clarifications to extension docs: change the name of literal
...
extensions from RAW to DER to avoid confusion with raw extensions.
Update NEWS file.
1999-05-17 20:05:36 +00:00
Bodo Möller
db2b98359b
Make MD5 work on Alpha, and fix a bug.
...
Submitted by: Andy Polyakov
1999-05-17 11:21:52 +00:00
Bodo Möller
27a186cd5d
gcc (in some versions) doesn't like the const_des_cblock typedef.
...
So omit it for now :-(
1999-05-17 10:54:18 +00:00
Dr. Stephen Henson
1b266dabf5
Fix various less obvious bugs in PKCS#7 handling: such as not zeroing
...
the secret key before we've encrypted it and using the right NID for RC2-64.
Add various arguments to the experimental programs 'dec' and 'enc' to make
testing less painful.
This stuff has now been tested against Netscape Messenger and it can encrypt
and decrypt S/MIME messages with RC2 (128, 64 and 40 bit) DES and triple DES.
Its still experimental though...
1999-05-16 17:32:32 +00:00
Bodo Möller
edf0bfb52b
Change type of various DES function arguments from des_cblock
...
(meaning pointer to char) to des_cblock * (meaning pointer to
array with 8 char elements), which allows the compiler to
do more typechecking. (The changed argument types were of type
des_cblock * back in SSLeay, and a lot of ugly casts were
used then to turn them into pointers to elements; but it can be
done without those casts.)
Introduce new type const_des_cblock -- before, the pointers rather
than the elements pointed to were declared const, and for
some reason gcc did not complain about this (but some other
compilers did).
1999-05-16 12:26:16 +00:00
Ben Laurie
e1a228fbce
Convert void *.
1999-05-16 11:26:46 +00:00
Dr. Stephen Henson
84fa704c6f
Fix some obvious bugs in the PKCS#7 library handling. It didn't try to
...
find the right RecipientInfo based on the recipient certificate (so would
fail a lot of the time) and fixup cipher structures to correctly (maybe)
modify the AlgorithmIdentifiers. Largely untested at present... this will be
fixed in due course. Well the stuff was broken to begin with so if its broken
now then you haven't lost anything :-)
1999-05-16 00:25:36 +00:00
Dr. Stephen Henson
a74c55cd8f
Various Win32 fixes. Change args in do_ms.bat to put platform last. Fix
...
unsigned/signed cmp error in asn1parse. Change various pem_all.c args to
use pem_password_cb.
1999-05-15 20:33:15 +00:00
Ben Laurie
ac7d07851c
Get rid of casts.
1999-05-15 16:03:26 +00:00
Ben Laurie
62bad77124
Add actual testing to bntest...
1999-05-15 15:59:28 +00:00
Bodo Möller
e1999b1dab
Use OPENSSL_GLOBAL, OPENSSL_EXTERN instead of GLOBAL and EXTERN.
1999-05-15 14:38:10 +00:00
Bodo Möller
3398f6cc21
OPENSSL_EXTERN
1999-05-15 14:30:31 +00:00
Bodo Möller
7f0dae3276
OPENSSL_EXTERN, OPENSSL_GLOBAL
1999-05-15 14:23:29 +00:00
Bodo Möller
127640b449
Update dependencies.
1999-05-15 13:38:48 +00:00
Bodo Möller
cdfb093fc3
Get rid of another cast.
1999-05-15 13:31:53 +00:00
Bodo Möller
cbbd384040
Use e_os2.h, not e_os.h in exported header file des.h.
1999-05-15 13:27:13 +00:00
Bodo Möller
64a3b11be6
Comment.
1999-05-15 12:22:46 +00:00
Bodo Möller
79479f0240
Bugfix (set shutdown only when we should).
...
Submitted by: Oleg Girko
1999-05-15 12:22:19 +00:00
Ben Laurie
531b2cf7e9
Get rid of the cast.
1999-05-15 11:54:21 +00:00
Bodo Möller
8aa5b77c87
Avoid compiler warnings for x86.
1999-05-14 21:07:48 +00:00
Dr. Stephen Henson
1ad2ecb66f
The encoding of negative ASN1 INTEGERs and the conversion of BNs to negative
...
integers was completely broken. Also added a NEG_PUBKEY_BUG compilation option
to compensate for public keys improperly encoded as negative integers.
1999-05-14 18:21:21 +00:00
Bodo Möller
2a82c7cf25
Various bugfixes: Uses locking for some more of the stuff that is not
...
thread-safe (where thread-safe counterparts are not available on all
platforms), and don't memcpy to NULL-pointers
Submitted by: Anonymous
Reviewed by: Bodo Moeller
Also, clean up htons vs. ntohs confusions.
1999-05-14 12:40:39 +00:00
Bodo Möller
d36bcdf5ca
Fix cryptlib.c.
...
Submitted by:
Reviewed by:
PR:
1999-05-14 11:57:17 +00:00
Bodo Möller
3ae76679c7
Introduce and use function typedef pem_password_cb so that we don't call
...
those functions without having a parameter list declaration.
(There are various similar cases left ...)
1999-05-14 11:52:49 +00:00
Bodo Möller
dbd1e38482
Change cast in function calls to that which is, I think, the right
...
one for those functions (is it?).
1999-05-14 11:47:29 +00:00
Ulf Möller
7de82c29c8
Missed one line.
1999-05-13 17:55:08 +00:00
Bodo Möller
608217d8d0
Don't use reserved name "_encrypt" for parameters;
...
instead I've picked "enc", because that's what's in the prototypes.
("_encrypt" is reserved only as an external name, but still
using it in an application doesn't look like good style to me --
and it certainly isn't if the point is just avoiding shadowing,
which is apparently why the previous name "encrypt" was changed.)
1999-05-13 17:51:35 +00:00
Ben Laurie
2adca9cdc6
Update dependencies.
1999-05-13 17:33:27 +00:00
Ben Laurie
90ba7e21e1
Avoid shadowing, and a bit of constification while I'm at it.
1999-05-13 17:10:42 +00:00
Bodo Möller
b56bce4fc7
New structure type SESS_CERT used instead of CERT inside SSL_SESSION.
...
While modifying the sources, I found some inconsistencies on the use of
s->cert vs. s->session->sess_cert; I don't know if those could
really have caused problems, but possibly this is a proper bug-fix
and not just a clean-up.
1999-05-13 15:09:38 +00:00
Bodo Möller
0981259ada
For solaris-usparc configurations, avoid problems with GNU as, which
...
cannot handle all opcodes we need.
1999-05-13 15:02:49 +00:00
Ulf Möller
5c83b4c93f
Remove redundant ifdef.
1999-05-13 13:29:41 +00:00
Ulf Möller
75e0770d96
VMS support bug fixes.
1999-05-13 13:21:17 +00:00
Ulf Möller
bd3576d2dd
Reorganize and speed up MD5.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-13 13:16:42 +00:00
Ulf Möller
7d7d2cbcb0
VMS support.
...
Submitted by: Richard Levitte <richard@levitte.org>
1999-05-13 11:37:32 +00:00
Dr. Stephen Henson
8bc1431edd
Several of the EVP_CIPHER structures had the get and set asn1 parameter
...
functions transposed.
1999-05-12 23:11:08 +00:00
Ulf Möller
dcbe935125
Missing argument in prototype.
...
Submitted by: Andreas Ley <ley@rz.uni-karlsruhe.de>
1999-05-12 00:45:42 +00:00
Ulf Möller
2ec765c81d
Use ifndef PEDANTIC for all inline assembler.
1999-05-11 22:14:29 +00:00
Bodo Möller
d797727b20
Comment.
...
Submitted by:
Reviewed by:
PR:
1999-05-11 22:05:39 +00:00
Dr. Stephen Henson
10243d97fd
Various PKCS#7 related fixes,tidies and comments.
1999-05-11 00:52:46 +00:00
Bodo Möller
84a370a400
The various character predicates (isspace and the like) may not be
...
used with negative char values, so I've added casts to unsigned char.
Maybe what really should be done is change all those arrays and
pointers to type unsigned char [] or unsigned char *, respectively;
but using plain char with those predicates is just wrong, so something
had to be done.
Submitted by:
Reviewed by:
PR:
1999-05-10 11:18:26 +00:00
Bodo Möller
93c5624f04
Moved some variable declarations inside blocks where they are needed
...
so that warnings about unused variables (for certain
-D... constellations) are avoided; this corresponds to the earlier
change for SHA1.
Submitted by:
Reviewed by:
PR:
1999-05-10 11:10:38 +00:00
Ralf S. Engelschall
397f703892
Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall -Wshadow
...
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline'' with EGCS 1.1.2+
1999-05-10 08:33:56 +00:00
Dr. Stephen Henson
884e8ec615
Various PKCS#7 fixes to properly (maybe!) handle PKCS#7 enveloped data.
...
Containts elements of code by Sebastian Akerman <sak@parallelconsulting.com>
and made a bit less "naughty" by Steve.
1999-05-10 00:47:42 +00:00
Dr. Stephen Henson
c8b4185079
Kill evil casts, fix PKCS#7 and add new X509V3 Function.
1999-05-09 16:39:11 +00:00
Bodo Möller
1c10afc32a
Makefile.save was missing here.
...
Submitted by:
Reviewed by:
PR:
1999-05-09 15:47:35 +00:00
Bodo Möller
a0d0c6a61b
Move variable definitions into the blocks where they are really needed,
...
so that warnings about unused variables don't appear if those blocks
are removed by the C preprocessor.
Submitted by:
Reviewed by:
PR:
1999-05-09 10:16:46 +00:00
Bodo Möller
303c002898
Use "const char *" instead of "char *" for filenames passed to functions.
...
Submitted by:
Reviewed by:
PR:
1999-05-09 10:12:10 +00:00
Dr. Stephen Henson
a5ab0532ca
Various Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for a
...
Win32 version of rename() ). There isn't a precise rename() equivalent under
Win95: the standard rename() complains if the destination already exists so
replaced with a combination of unlink() and MoveFile().
1999-05-08 22:46:51 +00:00
Dr. Stephen Henson
e40b7abeed
Allows PKCS#12 password to be placed on command line and add allow config
...
file name for 'ca' to come from the environment.
1999-05-08 12:59:50 +00:00
Dr. Stephen Henson
7e797a06c3
GeneralizedTime setting fixes.
1999-05-08 11:08:25 +00:00
Ulf Möller
5a9bab32b9
pass $PERL on make files.
1999-05-08 10:40:01 +00:00
Ulf Möller
0894315642
Superseded by sparcv8.S and sparcv8plus.s.
1999-05-08 10:39:15 +00:00
Ben Laurie
5b640028cb
Make -pedantic work again.
1999-05-07 15:42:23 +00:00
Bodo Möller
ce0d9f049a
Some comments.
...
Submitted by:
Reviewed by:
PR:
1999-05-06 23:36:54 +00:00
Ulf Möller
31a674d8c9
Support additional Win32 compilers.
...
Borland C submitted by: Janez Jere <jj@void.si>
1999-05-06 00:46:34 +00:00
Ulf Möller
c2eb65ba7c
Remove unreachable return statements.
1999-05-05 22:06:44 +00:00
Ulf Möller
52c4409240
v8plus must be specified.
1999-05-05 22:03:50 +00:00
Ulf Möller
4565c3e36f
Use ANSI stdarg.
1999-05-05 12:35:27 +00:00
Ulf Möller
98f1c689a5
Fix problem with /usr/ccs/lib/cpp.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-05 11:27:56 +00:00
Ulf Möller
8e7f966bf3
SHA-1 cleanups and performance enhancements.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-05 00:23:53 +00:00
Ulf Möller
744029c154
Recognise Ultra Sparc and compiler version number.
1999-05-04 23:18:24 +00:00
Ulf Möller
49dce898f0
Andy Polyakov points out there are default rules in make in gmake for this.
1999-05-04 22:06:53 +00:00
Ulf Möller
4f5fac8011
Sparc v8plus assembler.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-04 20:35:18 +00:00
Ulf Möller
afd1f9e80b
Update HPUX config, work around HPUX library incompatibility.
...
Submitted by: Anonymous
1999-05-04 11:52:26 +00:00
Ralf S. Engelschall
dee75ecf9c
Add missing sk_<type>_unshift() function to safestack.h
1999-05-04 10:15:02 +00:00
Ralf S. Engelschall
20b85fdd76
Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
...
PS: Feel free to move the IMPLEMENT_STACK_OF(X509_INFO) from
crypto/asn1/x_info.c to any other place where you think it fits better.
X509_INFO is a structure slightly spreaded over ASN.1, X509 and PEM code,
so I found no definitive location for IMPLEMENT_STACK_OF(X509_INFO). In
crypto/asn1/x_info.c it's at least now bundled with X509_INFO_new() and
friends.
1999-05-04 08:56:51 +00:00
Ben Laurie
661b361b4b
Some more stack stuff.
1999-05-03 19:55:00 +00:00
Ben Laurie
0b3f827cf5
Yet another stack.
1999-05-02 21:36:58 +00:00
Ben Laurie
5b1b044606
Update dependencies.
1999-05-01 22:36:10 +00:00
Ben Laurie
d35ea5b00b
Another stack.
1999-05-01 18:29:59 +00:00
Ben Laurie
d500de1672
Another stack.
1999-05-01 18:08:44 +00:00
Ben Laurie
65d4927b8d
Another safe stack.
1999-05-01 17:40:57 +00:00
Ralf S. Engelschall
3a1a8467bd
Better to not have blanks in .cvsignore files
1999-05-01 14:55:27 +00:00
Bodo Möller
7f89714e64
Support verify_depth from the SSL API without need for user-defined
...
callbacks.
Submitted by:
Reviewed by:
PR:
1999-05-01 03:20:40 +00:00
Bodo Möller
c9e4bc2f07
Use correct error macro so that error messages make sense.
...
Submitted by:
Reviewed by:
PR:
1999-05-01 00:11:15 +00:00
Ulf Möller
299b36eaa4
Unused file.
1999-04-29 21:56:55 +00:00
Bodo Möller
0494855723
ignore Makefile.save
...
Submitted by:
Reviewed by:
PR:
1999-04-29 21:54:11 +00:00
Bodo Möller
e5f3045fbf
Support INSTALL_PREFIX for packagers.
...
Submitted by:
Reviewed by:
PR:
1999-04-29 21:52:08 +00:00
Ulf Möller
9f5f32c9b0
Bug fix.
1999-04-29 20:31:56 +00:00
Ulf Möller
a79b03ce6f
Compare with BN_mod_exp_simple, too.
1999-04-29 16:07:56 +00:00
Ulf Möller
d575d2924c
Ignore Makefile.save
...
Submitted by: Anonymous
1999-04-29 16:04:54 +00:00
Ulf Möller
191a585342
Missing "else".
1999-04-29 13:37:45 +00:00
Bodo Möller
6dc08dd681
Pass PERL to sub-Makefiles during "make links".
...
Submitted by:
Reviewed by:
PR:
1999-04-29 13:10:45 +00:00
Bodo Möller
1314c344ac
Obey $(PERL) when running util/mklink.pl.
...
Submitted by:
Reviewed by:
PR:
1999-04-29 12:46:59 +00:00
Ulf Möller
0d029f79f0
Change error message for consistency.
1999-04-28 22:41:26 +00:00
Bodo Möller
6e6acfd4b9
Use util/mklink.pl instead of util/mklink.sh.
...
Submitted by:
Reviewed by:
PR:
1999-04-28 22:33:54 +00:00
Ulf Möller
dd500770e2
Autogenerated files.
1999-04-28 22:24:08 +00:00
Ulf Möller
45b8be21bc
Ignore autogenerated assembler files.
1999-04-28 22:19:20 +00:00
Ulf Möller
e9b9fa1846
Decrypt test vector data even if previous decryption failed to get
...
better diagnostics.
1999-04-28 22:16:54 +00:00
Ulf Möller
d10c5c2209
Pass $PERL on make dclean.
1999-04-28 22:15:13 +00:00
Ulf Möller
01378334dc
Remove autogenerated file.
1999-04-27 23:29:18 +00:00
Ulf Möller
1e103eafb3
Typo.
...
Pointed out by Nick Boyce <nick.boyce@eds.com>.
1999-04-27 21:27:04 +00:00
Ulf Möller
8cd8a7b7a2
More portable blowfish macros.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-04-27 21:17:18 +00:00
Ulf Möller
b5929507e3
Update NO_* macros.
1999-04-27 11:56:15 +00:00
Ulf Möller
d02f751ce1
Message digest stuff.
1999-04-27 04:18:53 +00:00
Ulf Möller
79df9d6272
New Configure option no-<cipher> (rsa, idea, rc5, ...).
1999-04-27 03:19:12 +00:00
Dr. Stephen Henson
6184255d0c
Oops ... fix warning.
1999-04-27 01:34:55 +00:00
Ulf Möller
f5d7a031a3
New Configure option no-<cipher> (rsa, idea, rc5, ...).
1999-04-27 01:14:46 +00:00
Dr. Stephen Henson
b64f825671
Add PKCS#12 documentation and new option in x509 to add certificate extensions.
1999-04-27 00:36:20 +00:00
Ulf Möller
73d2257d97
Remove NOPROTO-related macros.
1999-04-26 22:20:07 +00:00
Ulf Möller
b736d909ee
Ignore autogenerated file.
...
Submitted by: Anonymous
1999-04-26 16:55:02 +00:00
Ulf Möller
a9be3af5ad
Remove NOPROTO definitions and error code comments.
1999-04-26 16:43:10 +00:00
Dr. Stephen Henson
a1e464f94a
Fixes so it will compile again under Win32.
1999-04-25 20:57:09 +00:00
Dr. Stephen Henson
c74b3a6037
Various header consistency fixes.
1999-04-25 16:38:52 +00:00
Dr. Stephen Henson
5043fc9fd5
Fix mkerr.pl to find functions returning function pointers (thanks Ulf!)
...
also add a few missing prototypes.
1999-04-25 11:17:44 +00:00
Bodo Möller
a75b81ad95
Removed traces of cryptall.h, and did a "make depend".
...
Submitted by:
Reviewed by:
PR:
1999-04-25 09:21:05 +00:00
Ulf Möller
b0b7b1c5ae
New Configure option --openssldir to replace ssldir.pl.
1999-04-24 23:01:36 +00:00
Bodo Möller
5460ffdf82
cryptall.h is not needed for anything and cannot even be #include-d
...
without producing error messages.
Submitted by:
Reviewed by:
PR:
1999-04-24 18:52:03 +00:00
Bodo Möller
0b86eb3ea6
Fix header files so that any one can be included first.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 18:50:40 +00:00
Ulf Möller
574e991aa5
Replaced by mkerr.pl
1999-04-24 17:49:02 +00:00
Dr. Stephen Henson
7393480047
Change the command line options of mkerr.pl so -static is now default and
...
a -write option is needed to actually change anything. Second attempt at
getting rid of ERR, ERRC definitions: it might even work this time :-)
1999-04-24 17:28:43 +00:00
Bodo Möller
50cfd175c9
"perl util/mkerr.pl -static -recurse -rebuild" because the previous
...
codebase apparently was inconsistent. And crypto/Makefile.ssl
*does* need an ERRC ..
Submitted by:
Reviewed by:
PR:
1999-04-24 16:15:43 +00:00
Bodo Möller
eaecdc71eb
Removed superfluous reference to ERRC.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 15:58:52 +00:00
Bodo Möller
c76b0f751f
Restore ERRC definitions that are needed to compile the library.
...
Submitted by:
Reviewed by:
PR:
Submitted by:
Reviewed by:
PR:
1999-04-24 15:57:02 +00:00
Bodo Möller
2b6405faa5
Avoid "incomprehensible" errors when required definitions are missing.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 15:11:39 +00:00
Dr. Stephen Henson
6e781e8e07
Delete the unnecessary ERR and ERRC lines in makefiles, add some functionality
...
to error code script: it can now find untranslatable function codes (usually
because the function is static and not defined in a header: occasionally because
of a typo...) and unreferenced function and reason codes. To see this try:
perl util/mkerr.pl -recurse -debug
Also fixed some typos in crypto/pkcs12 that this found :-)
Also tidy up some error calls that had to be all on one line: the old error
script couldn't find codes unless the call was all on one line.
1999-04-24 13:28:57 +00:00
Dr. Stephen Henson
6d31193858
Complete rewrite of the error code generation script. It now runs as a single
...
script, translates function codes better and doesn't need the K&R function
prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are
still needed by the DEF generator...). I also ran the script with the -rewrite
option to update all the header and source files.
1999-04-24 00:15:18 +00:00
Bodo Möller
dd3c43c532
Submitted by:
...
Reviewed by:
PR:
1999-04-23 23:28:26 +00:00
Bodo Möller
ca20f59bd0
Submitted by:
...
Reviewed by:
PR:
1999-04-23 23:13:45 +00:00
Bodo Möller
bf57da0717
"make depend"
...
Submitted by:
Reviewed by:
PR:
1999-04-23 22:50:50 +00:00
Ulf Möller
6d2fa146a9
Remove header files from .cvsignore.
1999-04-23 22:32:21 +00:00
Bodo Möller
ec577822f9
Change #include filenames from <foo.h> to <openssl.h>.
...
Submitted by:
Reviewed by:
PR:
1999-04-23 22:13:45 +00:00
Ulf Möller
e27cc13f8e
Undo evil cast! <g>
1999-04-23 18:37:21 +00:00
Ulf Möller
4321a4ff7a
Function didn't get ANSIfied because of unusual formatting.
1999-04-23 17:49:26 +00:00
Ben Laurie
61f5b6f338
Work with -pedantic!
1999-04-23 15:01:15 +00:00
Bodo Möller
779cc0bca9
Submitted by:
...
Reviewed by:
PR:
1999-04-23 00:05:27 +00:00
Ulf Möller
169cc7a112
Remove references to .org header file names.
1999-04-22 20:10:06 +00:00
Ulf Möller
1a01cad3ae
Pass the $PROCESSOR variable through.
1999-04-22 19:24:18 +00:00
Ulf Möller
9d07a3c9a5
Ultrix compatibility.
...
Submitted by: Bernhard Simon <simon@zid.tuwien.ac.at>
1999-04-22 16:30:17 +00:00
Bodo Möller
ff6a143b37
CVS confusion?
...
Submitted by:
Reviewed by:
PR:
1999-04-22 15:06:12 +00:00
Ben Laurie
6cda1005f8
Reverse unexplained change.
1999-04-22 14:17:12 +00:00
Bodo Möller
5cc146f344
Fixed some race conditions.
...
Submitted by:
Reviewed by:
PR:
1999-04-22 13:37:46 +00:00
Dr. Stephen Henson
d943e37241
Suppport for CRL distribution points extension. Also document some of
...
this stuff.
1999-04-21 17:44:45 +00:00
Ulf Möller
59b82e4f69
New header file opensslconf.h contains the macros set by Configure.
...
The configuration process could use some more clean-ups.
1999-04-21 17:33:52 +00:00
Ulf Möller
8e10f2b3ac
Move all autogenerated header file parts to crypto/opensslconf.h.
1999-04-21 17:31:05 +00:00
Ben Laurie
cb145b995b
Remove some unnecessary(?) casting.
1999-04-21 13:25:40 +00:00