Richard Levitte [Mon, 11 Sep 2000 11:43:35 +0000 (11:43 +0000)]
A cast is needed or Borland C will complain.
Dr. Stephen Henson [Mon, 11 Sep 2000 01:04:09 +0000 (01:04 +0000)]
Docs for cipher and base64 BIOs.
Dr. Stephen Henson [Sun, 10 Sep 2000 17:36:15 +0000 (17:36 +0000)]
More new BIO docs, correct some old ones.
Richard Levitte [Sun, 10 Sep 2000 14:45:19 +0000 (14:45 +0000)]
Marin Kraemer <Martin.Kraemer@MchP.Siemens.De> sent us patches to make
the OpenSSL commands x50 and req work better on a EBCDIC system.
Dr. Stephen Henson [Sun, 10 Sep 2000 01:52:26 +0000 (01:52 +0000)]
More preliminary BIO docs...
Incomplete and possibly inaccurate. Hope somone is
checking these :-)
Richard Levitte [Sat, 9 Sep 2000 18:05:27 +0000 (18:05 +0000)]
More VMS synchronisation
Ulf Möller [Sat, 9 Sep 2000 04:45:18 +0000 (04:45 +0000)]
Fix some CygWin problems.
Dr. Stephen Henson [Sat, 9 Sep 2000 01:01:35 +0000 (01:01 +0000)]
Really add BIO_read this time...
Dr. Stephen Henson [Sat, 9 Sep 2000 00:59:37 +0000 (00:59 +0000)]
Add BIO_read() (etc.) docs.
Add an ASN1 FAQ because I'm sick of answering it :-)
Richard Levitte [Fri, 8 Sep 2000 22:19:27 +0000 (22:19 +0000)]
Clarify how one should behave when make fails. The fault is not
necessarely ours.
Richard Levitte [Fri, 8 Sep 2000 20:25:49 +0000 (20:25 +0000)]
Synchronise the VMS build with the Unix one.
Richard Levitte [Fri, 8 Sep 2000 06:28:09 +0000 (06:28 +0000)]
Two places where I forgot to change vms_idhacks to symhacks.
Dr. Stephen Henson [Fri, 8 Sep 2000 00:53:58 +0000 (00:53 +0000)]
Update verify docs.
New option to verify program to print out diagnostics.
Dr. Stephen Henson [Thu, 7 Sep 2000 23:14:26 +0000 (23:14 +0000)]
Two new PKCS#12 demo programs.
Update PKCS12_parse().
Make the keyid in certificate aux info more usable.
Dr. Stephen Henson [Thu, 7 Sep 2000 17:42:25 +0000 (17:42 +0000)]
Ugh, BIO_find_type() cannot be passed a NULL.
Fix doc example, and fix BIO_find_type().
Fix PKCS7_verify(). It was using 'i' for both the
loop variable and the verify return value.
Dr. Stephen Henson [Thu, 7 Sep 2000 13:04:27 +0000 (13:04 +0000)]
Add docs for BIO_find_type() and friends.
Added function BIO_next() otherwise you can't
traverse a chain without accessing BIO internals.
Richard Levitte [Thu, 7 Sep 2000 08:46:51 +0000 (08:46 +0000)]
'make update'
Richard Levitte [Thu, 7 Sep 2000 08:44:13 +0000 (08:44 +0000)]
*.num rewitten to include the extra information.
Richard Levitte [Thu, 7 Sep 2000 08:43:08 +0000 (08:43 +0000)]
Major hack of mkdef.pl. There should be no more need to redo the
process when some symbols are missing. Instead, all needed info is
saved in the .num files, including what conditions are needed for a
specific symbol to exist.
This was needed for the work I'm doing with shared libraries under
VMS.
Richard Levitte [Thu, 7 Sep 2000 08:18:05 +0000 (08:18 +0000)]
It's not just VMS that needs some symbols to be hacked. Let's
centralise those hacks in crypto/symhacks.h and use it everywhere it's
needed.
Richard Levitte [Thu, 7 Sep 2000 08:14:46 +0000 (08:14 +0000)]
Another thing I'm working on.
Bodo Möller [Thu, 7 Sep 2000 08:07:55 +0000 (08:07 +0000)]
clarification (source/sink BIOs are usually *both* source and sink)
Richard Levitte [Thu, 7 Sep 2000 05:50:14 +0000 (05:50 +0000)]
Change the printing mahine used by BIO_printf() and friends so it can
handle an externally provided "static" buffer as well a a dynamic
buffer. The "static" buffer is filled first, but if overflowed, the
dynamic buffer is used instead, being allocated somewhere i the heap.
This combines the benefits of putting the output in a preallocated
buffer (on the stack, for example) and in a buffer that grows
somewhere in the heap.
Dr. Stephen Henson [Thu, 7 Sep 2000 00:22:31 +0000 (00:22 +0000)]
Some BIO docs, incomplete, more to follow.
Hmmm I didn't realise BIO_pop() did that:
isn't source wonderful?
Bodo Möller [Wed, 6 Sep 2000 17:09:58 +0000 (17:09 +0000)]
Use name ...-whatever-solaris2 instead of ...-sun-solaris2
(the middle string describes the architecture).
Bodo Möller [Wed, 6 Sep 2000 15:40:52 +0000 (15:40 +0000)]
Get rid of ASN1_UTCTIME_get, which cannot work with time_t
return type (on platforms where time_t is a 32 bit value).
New function ASN1_UTCTIME_cmp_time_t as a replacement
for use in apps/x509.c.
Bodo Möller [Wed, 6 Sep 2000 14:55:11 +0000 (14:55 +0000)]
See RSA Security's press release at
http://www.rsasecurity.com/news/pr/000906-1.html (September 6, 2000):
"RSA Security Releases RSA Encryption Algorithm into Public Domain"
Bodo Möller [Wed, 6 Sep 2000 14:34:32 +0000 (14:34 +0000)]
Another superfluous pair of parentheses.
Bodo Möller [Wed, 6 Sep 2000 14:14:20 +0000 (14:14 +0000)]
Another round of indentation changes: Position braces consistently,
add some whitespace for 'if ()', 'for ()', 'while ()' to distinguish
keywords from function names, and finally remove parens around return
values (why be stingy with whitespace but fill the source code
with an abundance of parentheses that are not needed to structure
expressions for readability?).
Bodo Möller [Wed, 6 Sep 2000 13:31:44 +0000 (13:31 +0000)]
More indentation consistency: for (), while (), if (), return ()
usually get a space between keyword and opening paranthesis
so that they don't look like function calls, where no space is
used.
Bodo Möller [Wed, 6 Sep 2000 13:24:10 +0000 (13:24 +0000)]
Fix X509_STORE_CTX_init. Make indentation more consistent. Dump core less often.
Bodo Möller [Wed, 6 Sep 2000 12:34:10 +0000 (12:34 +0000)]
'make update'
Bodo Möller [Wed, 6 Sep 2000 12:25:58 +0000 (12:25 +0000)]
Changes for QNX: there is no thread support, and the previous
configuration only worked with no-asm.
Bodo Möller [Wed, 6 Sep 2000 12:18:24 +0000 (12:18 +0000)]
typo
Bodo Möller [Wed, 6 Sep 2000 11:49:43 +0000 (11:49 +0000)]
Add OAEP. Seed the PRNG.
Bodo Möller [Wed, 6 Sep 2000 10:50:33 +0000 (10:50 +0000)]
update
Bodo Möller [Wed, 6 Sep 2000 07:58:27 +0000 (07:58 +0000)]
Add rsautl.
Bodo Möller [Wed, 6 Sep 2000 07:56:03 +0000 (07:56 +0000)]
Clarification for SSL_ERROR_ZERO_RETURN
Dr. Stephen Henson [Tue, 5 Sep 2000 22:30:38 +0000 (22:30 +0000)]
Fix typo in rsautl.
Add support for settable verify time in X509_verify_cert().
Document rsautl utility.
Ben Laurie [Tue, 5 Sep 2000 18:56:55 +0000 (18:56 +0000)]
Ignore executable.
Ben Laurie [Tue, 5 Sep 2000 18:47:57 +0000 (18:47 +0000)]
Handle WANT_READ more correctly (thanks to Bodo).
Dr. Stephen Henson [Tue, 5 Sep 2000 17:53:58 +0000 (17:53 +0000)]
*BIG* verify code reorganisation.
The old code was painfully primitive and couldn't handle
distinct certificates using the same subject name.
The new code performs several tests on a candidate issuer
certificate based on certificate extensions.
It also adds several callbacks to X509_VERIFY_CTX so its
behaviour can be customised.
Unfortunately some hackery was needed to persuade X509_STORE
to tolerate this. This should go away when X509_STORE is
replaced, sometime...
This must have broken something though :-(
Ben Laurie [Tue, 5 Sep 2000 17:06:45 +0000 (17:06 +0000)]
Distinguish between assertions and conditions that should cause death.
Dr. Stephen Henson [Tue, 5 Sep 2000 13:27:57 +0000 (13:27 +0000)]
Keep a not of original encoding in certificate requests.
Add new option to PKCS7_sign to exclude S/MIME capabilities.
Bodo Möller [Tue, 5 Sep 2000 12:46:10 +0000 (12:46 +0000)]
Mention fix in bio_lib.c.
Bodo Möller [Tue, 5 Sep 2000 12:43:39 +0000 (12:43 +0000)]
Increase print buffer (10K instead of just 2K).
Bodo Möller [Tue, 5 Sep 2000 12:42:05 +0000 (12:42 +0000)]
Ignore Makefile.save
Bodo Möller [Tue, 5 Sep 2000 12:35:00 +0000 (12:35 +0000)]
Remove silly test for b->references at the end of BIO_write:
If some other thread deletes the BIO that one thread needs for
BIO_write, then there's a lot of trouble anyway; there's
nothing special about calling the callback.
Bodo Möller [Mon, 4 Sep 2000 15:47:17 +0000 (15:47 +0000)]
Consistency
Bodo Möller [Mon, 4 Sep 2000 15:38:02 +0000 (15:38 +0000)]
Use consistent indentation,
Bodo Möller [Mon, 4 Sep 2000 15:34:43 +0000 (15:34 +0000)]
Avoid abort() throughout the library, except when preprocessor
symbols for debugging are defined.
Bodo Möller [Mon, 4 Sep 2000 15:30:14 +0000 (15:30 +0000)]
Fix for BN_mul_word(a, 0).
Bodo Möller [Mon, 4 Sep 2000 15:29:06 +0000 (15:29 +0000)]
-Wall insists that main return an int.
Bodo Möller [Mon, 4 Sep 2000 15:28:21 +0000 (15:28 +0000)]
Include MD4 in documentation.
Bodo Möller [Mon, 4 Sep 2000 15:27:47 +0000 (15:27 +0000)]
Tell CVS to ignore 'lib'.
Dr. Stephen Henson [Sun, 3 Sep 2000 23:13:48 +0000 (23:13 +0000)]
Add 'rsautl' low level RSA utility.
Add DER public key routines.
Add -passin argument to 'ca' utility.
Document sign and verify options to dgst.
Bodo Möller [Fri, 1 Sep 2000 12:29:14 +0000 (12:29 +0000)]
Undo change from 1.7 to 1.8:
Returning -1 for an attempt to read from an empty buffer is empty is
not an error that should be signalled via the error queue, it's a
'retry read' condition and is signalled as such.
Bodo Möller [Fri, 1 Sep 2000 10:40:37 +0000 (10:40 +0000)]
Use C syntax, not FORTRAN or whatever that was :-)
Bodo Möller [Fri, 1 Sep 2000 09:54:25 +0000 (09:54 +0000)]
QNX 4 support.
Bodo Möller [Fri, 1 Sep 2000 09:42:17 +0000 (09:42 +0000)]
-N option to diff is not essential, and mentioning it is unnecessarily
confusing to people whose diff doesn't implement it.
Ben Laurie [Wed, 30 Aug 2000 18:14:28 +0000 (18:14 +0000)]
Add demo state machine.
Dr. Stephen Henson [Wed, 30 Aug 2000 16:14:29 +0000 (16:14 +0000)]
Fix typo in i2d_ASN1_ENUMERATED
Fix bug in read only memory BIOs so BIO_reset() works.
Add sign and verify options to dgst utility, need
to update docs.
Ben Laurie [Mon, 28 Aug 2000 12:54:18 +0000 (12:54 +0000)]
Diagnose EOF on memory BIOs (or you just get mysterious errors with no error
message).
Ben Laurie [Mon, 28 Aug 2000 10:57:01 +0000 (10:57 +0000)]
Use the passed buffer in ERR_error_string!
Dr. Stephen Henson [Fri, 25 Aug 2000 01:29:41 +0000 (01:29 +0000)]
Change PKCS#7 test data to take account of removal of
indefinite length encoding.
Dr. Stephen Henson [Thu, 24 Aug 2000 23:24:18 +0000 (23:24 +0000)]
New option to CA.pl to sign request using CA extensions.
This allows intermediate CAs to be created more easily.
PKCS12_create() now checks private key matches certificate.
Fix typo in x509 app.
Update docs.
New function ASN1_STRING_to_UTF8() converts any ASN1_STRING
type to UTF8.
Dr. Stephen Henson [Tue, 22 Aug 2000 22:20:25 +0000 (22:20 +0000)]
Add support for 'other' PKCS#7 content types.
Ben Laurie [Tue, 22 Aug 2000 21:23:09 +0000 (21:23 +0000)]
max -> dmax in bn_check_top.
Dr. Stephen Henson [Tue, 22 Aug 2000 16:06:24 +0000 (16:06 +0000)]
Fix ASN1_INTEGER_to_BN properly this time...
Dr. Stephen Henson [Tue, 22 Aug 2000 12:54:21 +0000 (12:54 +0000)]
Fixes to d2i_ASN1_OBJECT, ASN1_INTEGER_to_BN and a_strex.c
Dr. Stephen Henson [Mon, 21 Aug 2000 22:02:23 +0000 (22:02 +0000)]
Various fixes...
initialize ex_pathlen to -1 so it isn't checked if pathlen
is not present.
set ucert to NULL in apps/pkcs12.c otherwise it gets freed
twice.
remove extraneous '\r' in MIME encoder.
Allow a NULL to be passed to X509_gmtime_adj()
Make PKCS#7 code use definite length encoding rather then
the indefinite stuff it used previously.
Richard Levitte [Sat, 19 Aug 2000 08:47:59 +0000 (08:47 +0000)]
Added OIDs from RFC 2247, 1155, and a few from 1700
Richard Levitte [Fri, 18 Aug 2000 09:50:41 +0000 (09:50 +0000)]
Assar wanted an address change.
Richard Levitte [Fri, 18 Aug 2000 09:36:59 +0000 (09:36 +0000)]
Added BIO_vprintf() and BIO_vsnprintf(). The former because I've
found myself needing it a number of times, the latter for completeness.
Richard Levitte [Fri, 18 Aug 2000 09:30:31 +0000 (09:30 +0000)]
NULL is not an integer...
Richard Levitte [Thu, 17 Aug 2000 23:27:03 +0000 (23:27 +0000)]
Document the added diversity to the possible log levels.
Richard Levitte [Thu, 17 Aug 2000 23:15:53 +0000 (23:15 +0000)]
Add more diversity to the possible log levels. Now we have full
coverage for all syslog level.
Richard Levitte [Thu, 17 Aug 2000 22:43:31 +0000 (22:43 +0000)]
Added md4 to the VMS compilation
Richard Levitte [Thu, 17 Aug 2000 22:39:03 +0000 (22:39 +0000)]
make update
Richard Levitte [Thu, 17 Aug 2000 21:26:22 +0000 (21:26 +0000)]
New option 'ctestall' for mkdef.pl, that makes it not only generate
existing functions, but really all functions that exist in libeay.num
and ssleay.num. This is a good check on how much we should actually
clean up the number files.
Richard Levitte [Thu, 17 Aug 2000 10:25:46 +0000 (10:25 +0000)]
Document the reconfiguratoin option for Configure.
Richard Levitte [Thu, 17 Aug 2000 10:23:45 +0000 (10:23 +0000)]
Allow reconfiguration. This can be useful if some source update
requires that you configure again, but you don't want to reenter all
those configuration arguments again.
Richard Levitte [Tue, 15 Aug 2000 17:35:10 +0000 (17:35 +0000)]
Correct the title. This also fooled the automatic documentation builder
that this was actually the pkcs7 document...
Richard Levitte [Mon, 14 Aug 2000 17:00:36 +0000 (17:00 +0000)]
IBMcxx complains that maxmem is as low as 2048 for certain modules
(like all the digests). Setting maxmem to 16K seems to give the
compiler enough space to do all the optimization it wants.
Richard Levitte [Mon, 14 Aug 2000 14:20:52 +0000 (14:20 +0000)]
I forgot this file that Assar provided as well...
Richard Levitte [Mon, 14 Aug 2000 14:05:53 +0000 (14:05 +0000)]
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
Richard Levitte [Fri, 11 Aug 2000 22:50:08 +0000 (22:50 +0000)]
Memory leaks fix. It now looks like all memory leaks, at least around
building complete chains, are gone.
Richard Levitte [Fri, 11 Aug 2000 21:41:08 +0000 (21:41 +0000)]
Memory leaks fix. There seems to be more in other parts of OpenSSL...
Richard Levitte [Fri, 11 Aug 2000 19:43:20 +0000 (19:43 +0000)]
The pkcs12 had no way of getting a CA file or path to be used when
building a complete chain. Now added through the -CAfile and -CApath
arguments.
Richard Levitte [Fri, 11 Aug 2000 08:36:25 +0000 (08:36 +0000)]
Abdelilah Essiari <aes@george.lbl.gov> reports that for very small
records, EVP_EncodeUpdate() may misbehave. This happens when there's
a record boundary between the two ending b64 equal signs, which makes
EVP_EncodeUpdate think there has been more than one EOF, and therefore
add an extra NUL at the end of the output buffer. This fix corrects
that problem.
Richard Levitte [Thu, 10 Aug 2000 01:48:49 +0000 (01:48 +0000)]
Duplicate names detected...
Richard Levitte [Tue, 8 Aug 2000 15:06:44 +0000 (15:06 +0000)]
Make sure that 'initialized' is zeroed as well when cleaning up.
Dr. Stephen Henson [Sun, 6 Aug 2000 18:43:32 +0000 (18:43 +0000)]
Fix for bad sorting of object names.
Add warning print out if duplicate names found:
should end up as a fatal error but a warning for
now until they problems are fixed...
Richard Levitte [Sun, 6 Aug 2000 01:35:03 +0000 (01:35 +0000)]
For n > 7, we might get uninitialized (unzeroed) data.
Spotted by "Kyoungho Jeon" <k.h.jeon@securesoft.co.kr>.
Dr. Stephen Henson [Fri, 4 Aug 2000 00:01:39 +0000 (00:01 +0000)]
Changes needed for Tandem NSK, supplied by Scott Uroff (scott@xypro.com).
Fix warnings with BIO_dump_indent().
Richard Levitte [Thu, 3 Aug 2000 21:58:56 +0000 (21:58 +0000)]
On Unicos, shorts are 8 bytes, so instead, use a structure with 2 32-bit ints, just as in destest.c
Richard Levitte [Thu, 3 Aug 2000 21:56:36 +0000 (21:56 +0000)]
On Unicos, openlog() isn't constified, so let's not do that in xopenlog()
Richard Levitte [Thu, 3 Aug 2000 21:54:31 +0000 (21:54 +0000)]
Unicos doesn't have sys/timeb.h. Fix it by defining the TIMEB macro unless on Unicos.
Richard Levitte [Wed, 2 Aug 2000 23:05:15 +0000 (23:05 +0000)]
*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h
where the openlog() is declared like this:
extern int openlog __((char *_Ident, int _Logopt, int _Facility));
Bodo Möller [Wed, 2 Aug 2000 09:04:44 +0000 (09:04 +0000)]
Include SKIP DH parameters with OpenSSL.
These have been created by a SHA.1 based procedure, see
http://www.skip-vpn.org/spec/numbers.html.
(These values are taken from that document, I have not
implemented the prime generator.)