oweals/openssl.git
24 years ago-Wall insists that main return an int.
Bodo Möller [Mon, 4 Sep 2000 15:29:06 +0000 (15:29 +0000)]
-Wall insists that main return an int.

24 years agoInclude MD4 in documentation.
Bodo Möller [Mon, 4 Sep 2000 15:28:21 +0000 (15:28 +0000)]
Include MD4 in documentation.

24 years agoTell CVS to ignore 'lib'.
Bodo Möller [Mon, 4 Sep 2000 15:27:47 +0000 (15:27 +0000)]
Tell CVS to ignore 'lib'.

24 years agoAdd 'rsautl' low level RSA utility.
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.

24 years agoUndo change from 1.7 to 1.8:
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.

24 years agoUse C syntax, not FORTRAN or whatever that was :-)
Bodo Möller [Fri, 1 Sep 2000 10:40:37 +0000 (10:40 +0000)]
Use C syntax, not FORTRAN or whatever that was :-)

24 years agoQNX 4 support.
Bodo Möller [Fri, 1 Sep 2000 09:54:25 +0000 (09:54 +0000)]
QNX 4 support.

24 years ago-N option to diff is not essential, and mentioning it is unnecessarily
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.

24 years agoAdd demo state machine.
Ben Laurie [Wed, 30 Aug 2000 18:14:28 +0000 (18:14 +0000)]
Add demo state machine.

24 years agoFix typo in i2d_ASN1_ENUMERATED
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.

24 years agoDiagnose EOF on memory BIOs (or you just get mysterious errors with no error
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).

24 years agoUse the passed buffer in ERR_error_string!
Ben Laurie [Mon, 28 Aug 2000 10:57:01 +0000 (10:57 +0000)]
Use the passed buffer in ERR_error_string!

24 years agoChange PKCS#7 test data to take account of removal of
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.

24 years agoNew option to CA.pl to sign request using CA extensions.
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.

24 years agoAdd support for 'other' PKCS#7 content types.
Dr. Stephen Henson [Tue, 22 Aug 2000 22:20:25 +0000 (22:20 +0000)]
Add support for 'other' PKCS#7 content types.

24 years agomax -> dmax in bn_check_top.
Ben Laurie [Tue, 22 Aug 2000 21:23:09 +0000 (21:23 +0000)]
max -> dmax in bn_check_top.

24 years agoFix ASN1_INTEGER_to_BN properly this time...
Dr. Stephen Henson [Tue, 22 Aug 2000 16:06:24 +0000 (16:06 +0000)]
Fix ASN1_INTEGER_to_BN properly this time...

24 years agoFixes to d2i_ASN1_OBJECT, ASN1_INTEGER_to_BN and a_strex.c
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

24 years agoVarious fixes...
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.

24 years agoAdded OIDs from RFC 2247, 1155, and a few from 1700
Richard Levitte [Sat, 19 Aug 2000 08:47:59 +0000 (08:47 +0000)]
Added OIDs from RFC 2247, 1155, and a few from 1700

24 years agoAssar wanted an address change.
Richard Levitte [Fri, 18 Aug 2000 09:50:41 +0000 (09:50 +0000)]
Assar wanted an address change.

24 years agoAdded BIO_vprintf() and BIO_vsnprintf(). The former because I've
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.

24 years agoNULL is not an integer...
Richard Levitte [Fri, 18 Aug 2000 09:30:31 +0000 (09:30 +0000)]
NULL is not an integer...

24 years agoDocument the added diversity to the possible log levels.
Richard Levitte [Thu, 17 Aug 2000 23:27:03 +0000 (23:27 +0000)]
Document the added diversity to the possible log levels.

24 years agoAdd more diversity to the possible log levels. Now we have full
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.

24 years agoAdded md4 to the VMS compilation
Richard Levitte [Thu, 17 Aug 2000 22:43:31 +0000 (22:43 +0000)]
Added md4 to the VMS compilation

24 years agomake update
Richard Levitte [Thu, 17 Aug 2000 22:39:03 +0000 (22:39 +0000)]
make update

24 years agoNew option 'ctestall' for mkdef.pl, that makes it not only generate
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.

24 years agoDocument the reconfiguratoin option for Configure.
Richard Levitte [Thu, 17 Aug 2000 10:25:46 +0000 (10:25 +0000)]
Document the reconfiguratoin option for Configure.

24 years agoAllow reconfiguration. This can be useful if some source update
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.

24 years agoCorrect the title. This also fooled the automatic documentation builder
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...

24 years agoIBMcxx complains that maxmem is as low as 2048 for certain modules
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.

24 years agoI forgot this file that Assar provided as well...
Richard Levitte [Mon, 14 Aug 2000 14:20:52 +0000 (14:20 +0000)]
I forgot this file that Assar provided as well...

24 years agoMD4 implemented. Assar Westerlund provided the digest code itself and the test utili...
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

24 years agoMemory leaks fix. It now looks like all memory leaks, at least around
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.

24 years agoMemory leaks fix. There seems to be more in other parts of OpenSSL...
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...

24 years agoThe pkcs12 had no way of getting a CA file or path to be used when
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.

24 years agoAbdelilah Essiari <aes@george.lbl.gov> reports that for very small
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.

24 years agoDuplicate names detected...
Richard Levitte [Thu, 10 Aug 2000 01:48:49 +0000 (01:48 +0000)]
Duplicate names detected...

24 years agoMake sure that 'initialized' is zeroed as well when cleaning up.
Richard Levitte [Tue, 8 Aug 2000 15:06:44 +0000 (15:06 +0000)]
Make sure that 'initialized' is zeroed as well when cleaning up.

24 years agoFix for bad sorting of object names.
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...

24 years agoFor n > 7, we might get uninitialized (unzeroed) data.
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>.

24 years agoChanges needed for Tandem NSK, supplied by Scott Uroff (scott@xypro.com).
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().

24 years agoOn Unicos, shorts are 8 bytes, so instead, use a structure with 2 32-bit ints, just...
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

24 years agoOn Unicos, openlog() isn't constified, so let's not do that in xopenlog()
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()

24 years agoUnicos doesn't have sys/timeb.h. Fix it by defining the TIMEB macro unless on Unicos.
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.

24 years ago*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h
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));

24 years agoInclude SKIP DH parameters with OpenSSL.
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.)

24 years agoAdded and corrected documentation for the 'shared' option
Richard Levitte [Wed, 2 Aug 2000 04:19:50 +0000 (04:19 +0000)]
Added and corrected documentation for the 'shared' option

24 years agoWe've now covered the shared library support for Solaris, so the -shared hack
Richard Levitte [Wed, 2 Aug 2000 04:08:19 +0000 (04:08 +0000)]
We've now covered the shared library support for Solaris, so the -shared hack
in config is no longer needed.

24 years agoIt's probably a good idea to make the shared libraries depend in EX_LIBS.
Richard Levitte [Wed, 2 Aug 2000 03:52:49 +0000 (03:52 +0000)]
It's probably a good idea to make the shared libraries depend in EX_LIBS.

24 years ago"make update"
Richard Levitte [Wed, 2 Aug 2000 03:44:16 +0000 (03:44 +0000)]
"make update"

24 years agoI had completely forgotten that print_table_entry also needed to read the two
Richard Levitte [Wed, 2 Aug 2000 03:43:29 +0000 (03:43 +0000)]
I had completely forgotten that print_table_entry also needed to read the two
"shared" variables on it's own...

24 years agoAdd support for shared libraries on Solaris.
Richard Levitte [Wed, 2 Aug 2000 03:27:12 +0000 (03:27 +0000)]
Add support for shared libraries on Solaris.

24 years agoA few corrections with the shared library support:
Richard Levitte [Wed, 2 Aug 2000 03:03:17 +0000 (03:03 +0000)]
A few corrections with the shared library support:

1. make sure libssl.so becomes dependent on libcrypto.so
2. correct a number of silly bugs in the solaris-shared target, and make
   sure lib*.so also depends on libc.so.

24 years agoMake it so we can dynamically enable memory allocation debugging through the
Richard Levitte [Tue, 1 Aug 2000 17:15:36 +0000 (17:15 +0000)]
Make it so we can dynamically enable memory allocation debugging through the
environment variable OPENSSL_DEBUG_MEMORY (existence is sufficient).  At the
same time, it makes sure that CRYPTO_malloc_debug_init() gets expanded some-
where and thereby tested for compilation.

24 years agoRemove casts that are no longer needed.
Richard Levitte [Tue, 1 Aug 2000 08:41:13 +0000 (08:41 +0000)]
Remove casts that are no longer needed.

24 years agoIf a ip address is successfully parsed, the WSA structure under Win32 wasn't
Richard Levitte [Mon, 31 Jul 2000 22:49:27 +0000 (22:49 +0000)]
If a ip address is successfully parsed, the WSA structure under Win32 wasn't
properly initialised.  Fixed.
Bug reported by DeJuan Jackson <djackson@inverge.com>

24 years agoUpdate 'openssl passwd' documentation on selection of algorithms.
Bodo Möller [Mon, 31 Jul 2000 12:27:44 +0000 (12:27 +0000)]
Update 'openssl passwd' documentation on selection of algorithms.

24 years agoDocument the new DN printing options.
Dr. Stephen Henson [Sun, 30 Jul 2000 01:27:59 +0000 (01:27 +0000)]
Document the new DN printing options.

Change a few names to be more meaningful.

Fix typos in CA.pl docs.

24 years agoDocument rollback issues.
Bodo Möller [Sat, 29 Jul 2000 19:27:20 +0000 (19:27 +0000)]
Document rollback issues.

24 years agoFix SSL 2.0 rollback checking: The previous implementation of the
Bodo Möller [Sat, 29 Jul 2000 18:50:41 +0000 (18:50 +0000)]
Fix SSL 2.0 rollback checking: The previous implementation of the
test was never triggered due to an off-by-one error.

In s23_clnt.c, don't use special rollback-attack detection padding
(RSA_SSLV23_PADDING) if SSL 2.0 is the only protocol enabled in the
client; similarly, in s23_srvr.c, don't do the rollback check if
SSL 2.0 is the only protocol enabled in the server.

24 years agoNew ASN1_STRING_print_ex() and X509_NAME_print_ex()
Dr. Stephen Henson [Fri, 28 Jul 2000 01:58:15 +0000 (01:58 +0000)]
New ASN1_STRING_print_ex() and X509_NAME_print_ex()
functions. These are intended to be replacements
for the ancient ASN1_STRING_print() and X509_NAME_print()
functions.

The new functions support RFC2253 and various pretty
printing options. It is also possible to display
international characters if the terminal properly handles
UTF8 encoding (Linux seems to tolerate this if the
"unicode_start" script is run).

Still needs to be documented, integrated into other
utilities and extensively tested.

24 years agoThere's a slight possibility that a is 0 in BN_sub_word(), and might
Richard Levitte [Thu, 27 Jul 2000 21:32:23 +0000 (21:32 +0000)]
There's a slight possibility that a is 0 in BN_sub_word(), and might
therefore have unallocated parts.  Therefore, a check for the 0 case
is needed, resulting with the same thing as when a is negative.

24 years agoIn the case where a < 0 and |a| < w, the result (assigned to a) from
Richard Levitte [Thu, 27 Jul 2000 21:17:14 +0000 (21:17 +0000)]
In the case where a < 0 and |a| < w, the result (assigned to a) from
BN_add_word becomes wrongly negative...
This was discovered by Darrel Hankerson <dhankers@cacr.math.uwaterloo.ca>

24 years agoLooks like Win32 builds do not define THREADS. However, they're still
Richard Levitte [Thu, 27 Jul 2000 20:14:39 +0000 (20:14 +0000)]
Looks like Win32 builds do not define THREADS.  However, they're still
supporting threads, which means that th assertion is supperbly
dangerous, so make sure it's not compiled under Win32, period.

24 years agoAdd the possibility to get hexdumps of unprintable data when using
Richard Levitte [Thu, 27 Jul 2000 17:28:25 +0000 (17:28 +0000)]
Add the possibility to get hexdumps of unprintable data when using
'openssl asn1parse'.  As a side effect, the functions ASN1_parse_dump
and BIO_dump_indent are added.

24 years agoFix a bug in the new i2d_{ENUMERATED,INTEGER} that
Dr. Stephen Henson [Thu, 27 Jul 2000 01:27:22 +0000 (01:27 +0000)]
Fix a bug in the new i2d_{ENUMERATED,INTEGER} that
didn't recognise NULL to mean 'don't output anything'

24 years agoWhen data are written out in very small blocks (less than 3 bytes in
Richard Levitte [Wed, 26 Jul 2000 16:53:58 +0000 (16:53 +0000)]
When data are written out in very small blocks (less than 3 bytes in
size) through the base64 filter, b64_write() messes up it's parameters
in such a way that instead of writing correct base64 output, the first
4 characters of that output is repeated over and over.  This fix
corrects that problem.

24 years agoThere's a deadlock when ssleay_rand_bytes is called the first time, since
Richard Levitte [Wed, 26 Jul 2000 08:32:00 +0000 (08:32 +0000)]
There's a deadlock when ssleay_rand_bytes is called the first time, since
it wants to stir the pool using ssleay_rand_add.  This fix provides the
possibility to call ssleay_rand_add inside a locked state by simply telling
it not to do any locking through a static variable.  This isn't the most
elegant way one could do this, but it does retain thread safety during the
stirring process.

24 years agoFix warnings.
Dr. Stephen Henson [Wed, 26 Jul 2000 01:39:23 +0000 (01:39 +0000)]
Fix warnings.

In crypto/err/err.c need to initialise p to
NULL in case thread_hash is NULL. Otherwise
p will be uninitialized.

24 years agoMake NEG_PUBKEY_BUG on by default.
Dr. Stephen Henson [Wed, 26 Jul 2000 01:18:37 +0000 (01:18 +0000)]
Make NEG_PUBKEY_BUG on by default.

ASN1_TIME fixes.

New function c2i_ASN1_OBJECT().

24 years agoDarrel Hankerson <dhankers@cacr.math.uwaterloo.ca> correctly discovered
Richard Levitte [Wed, 26 Jul 2000 01:14:16 +0000 (01:14 +0000)]
Darrel Hankerson <dhankers@cacr.math.uwaterloo.ca> correctly discovered
that of the result pointer to bn_mul was the same as one of the two arguments,
That argument might have it's sign destroyed.  He provided this fix.

24 years agoAvoid a race condition if another thread happens to remove the error
Richard Levitte [Tue, 25 Jul 2000 16:56:39 +0000 (16:56 +0000)]
Avoid a race condition if another thread happens to remove the error
state at the same time.

24 years agoAdd support for solaris shared libraries, currently just experimental
Richard Levitte [Mon, 24 Jul 2000 20:50:21 +0000 (20:50 +0000)]
Add support for solaris shared libraries, currently just experimental
(there's no way to get it through configuration yet).

24 years agoAvoid loops, and make sure that it's possible to still build shared
Richard Levitte [Mon, 24 Jul 2000 20:36:46 +0000 (20:36 +0000)]
Avoid loops, and make sure that it's possible to still build shared
libraries even if the "shared" configuration option wasn't chosen.

24 years agoThis isn't entirely necessary if you do everything right from the
Richard Levitte [Mon, 24 Jul 2000 20:34:29 +0000 (20:34 +0000)]
This isn't entirely necessary if you do everything right from the
start, but can save you some trouble.  Just ignore "shared" if it
comes up among the given options, at least for now...

24 years ago"make update"
Richard Levitte [Mon, 24 Jul 2000 10:02:47 +0000 (10:02 +0000)]
"make update"

24 years agoAdd a note on installation under Win32.
Richard Levitte [Mon, 24 Jul 2000 09:57:02 +0000 (09:57 +0000)]
Add a note on installation under Win32.

24 years agoShow the running line count and definition cont in debug mode. That
Richard Levitte [Mon, 24 Jul 2000 07:01:57 +0000 (07:01 +0000)]
Show the running line count and definition cont in debug mode.  That
has helped me a bit when I ran into trouble.

24 years agoProfiling option for mk1mf.pl
Ulf Möller [Fri, 21 Jul 2000 19:00:38 +0000 (19:00 +0000)]
Profiling option for mk1mf.pl

24 years agocrypto/err.c bugfix
Bodo Möller [Fri, 21 Jul 2000 15:17:04 +0000 (15:17 +0000)]
crypto/err.c bugfix

24 years agoRedo and enhance the support for building shared libraries. Currently
Richard Levitte [Fri, 21 Jul 2000 15:08:53 +0000 (15:08 +0000)]
Redo and enhance the support for building shared libraries.  Currently
there's support for building under Linux and True64 (using examples
from the programming manuals), including versioning that is currently
the same as OpenSSL versions but should really be a different series.

With this change, it's up to the users to decide if they want shared
libraries as well as the static ones.  This decision now has to be
done at configuration time (well, not really, those who know what they
do can still do it the same way as before).

The OpenSSL programs (openssl and the test programs) are currently
always linked statically, but this may change in the future in a
configurable manner.  The necessary makefile variables to enable this
are in place.

Also note that I have done absolutely nothing about the Windows target
to get something similar.  On the other hand, DLLs are already the
default there, but without versioning, and I've no idea what the
possibilities for such a thing are there...

24 years agoBugfix: use write locks, not just read locks
Bodo Möller [Fri, 21 Jul 2000 15:07:56 +0000 (15:07 +0000)]
Bugfix: use write locks, not just read locks

24 years agoWe do PKCS8 as well
Richard Levitte [Fri, 21 Jul 2000 12:50:06 +0000 (12:50 +0000)]
We do PKCS8 as well

24 years agooops.
Ulf Möller [Fri, 21 Jul 2000 02:14:15 +0000 (02:14 +0000)]
oops.

24 years agodon't print debug output
Ulf Möller [Fri, 21 Jul 2000 01:13:26 +0000 (01:13 +0000)]
don't print debug output

24 years agoMove RNG initialization to RAND_poll(), and shared definitions to
Ulf Möller [Wed, 19 Jul 2000 21:43:23 +0000 (21:43 +0000)]
Move RNG initialization to RAND_poll(), and shared definitions to
rand_lcl.h

24 years agoRandomness polling function for Win9x.
Ulf Möller [Wed, 19 Jul 2000 21:35:35 +0000 (21:35 +0000)]
Randomness polling function for Win9x.

24 years agoDocument -purpose option in usage string.
Bodo Möller [Sat, 15 Jul 2000 18:10:35 +0000 (18:10 +0000)]
Document -purpose option in usage string.

24 years agoMake req seed the PRNG if signing with
Dr. Stephen Henson [Wed, 12 Jul 2000 23:55:30 +0000 (23:55 +0000)]
Make req seed the PRNG if signing with
an already existing DSA key.

Document the new smime options.

24 years agoFAQ about ar "missing" on Solaris.
Richard Levitte [Tue, 11 Jul 2000 21:44:53 +0000 (21:44 +0000)]
FAQ about ar "missing" on Solaris.

24 years agoAdd an early reference to BN_CTX_new so that the usage of BN_CTX_start
Bodo Möller [Tue, 11 Jul 2000 20:35:45 +0000 (20:35 +0000)]
Add an early reference to BN_CTX_new so that the usage of BN_CTX_start
is easier to grasp.

24 years agoFix some typose in the i2d/d2i functions that
Dr. Stephen Henson [Mon, 10 Jul 2000 18:33:05 +0000 (18:33 +0000)]
Fix some typose in the i2d/d2i functions that
call the i2c/c2i (they were not using the
content length for the headers).

Fix ASN1 long form tag encoding. This never
worked but it was never tested since it is
only used for tags > 30.

New options to smime program to allow the
PKCS#7 format to be specified and the content
supplied externally.

24 years agoCorrected small bug that could add ',L' when it shouldn't
Richard Levitte [Sat, 8 Jul 2000 07:56:12 +0000 (07:56 +0000)]
Corrected small bug that could add ',L' when it shouldn't

24 years agoNew ASN1 functions that just deal with
Dr. Stephen Henson [Fri, 7 Jul 2000 13:24:36 +0000 (13:24 +0000)]
New ASN1 functions that just deal with
content octets, not tag+length.

24 years agoMore experiments show that you can set your data segment size soft
Richard Levitte [Wed, 5 Jul 2000 17:46:58 +0000 (17:46 +0000)]
More experiments show that you can set your data segment size soft
limit higher and thereby get through compilation of sha_dgst.c.

24 years agoChange the FAQ entry a bit, giving the details as I observed them.
Richard Levitte [Wed, 5 Jul 2000 16:39:04 +0000 (16:39 +0000)]
Change the FAQ entry a bit, giving the details as I observed them.

24 years agoDocument the change.
Richard Levitte [Wed, 5 Jul 2000 02:52:47 +0000 (02:52 +0000)]
Document the change.

24 years agoI got sick and tired of having to keep track of NIDs when such a thing
Richard Levitte [Wed, 5 Jul 2000 02:45:36 +0000 (02:45 +0000)]
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.