oweals/openssl.git
23 years agoTypo: on my screen it nicely wrapped around at 80 :-)
Lutz Jänicke [Sat, 3 Feb 2001 11:02:02 +0000 (11:02 +0000)]
Typo: on my screen it nicely wrapped around at 80 :-)

23 years agoIf the source has already been succesfully queried, do not try to open it
Lutz Jänicke [Sat, 3 Feb 2001 10:59:13 +0000 (10:59 +0000)]
If the source has already been succesfully queried, do not try to open it
again as file.

23 years agoDocument session caching, first step.
Lutz Jänicke [Fri, 2 Feb 2001 14:40:52 +0000 (14:40 +0000)]
Document session caching, first step.

23 years agoVarious function for commmon operations.
Dr. Stephen Henson [Fri, 2 Feb 2001 00:45:54 +0000 (00:45 +0000)]
Various function for commmon operations.

23 years agoTidy up the mess in bss_sock.c and bss_fd.c
Dr. Stephen Henson [Fri, 2 Feb 2001 00:31:45 +0000 (00:31 +0000)]
Tidy up the mess in bss_sock.c and bss_fd.c
by placing them socket/fd code in separate
files rather than trying to have them both
share the same one.

23 years agoTolerate some "variations" used in some
Dr. Stephen Henson [Thu, 1 Feb 2001 01:57:32 +0000 (01:57 +0000)]
Tolerate some "variations" used in some
certificates.

One is a valid CA which has no basicConstraints
but does have certSign keyUsage.

Other is S/MIME signer with nonRepudiation but
no digitalSignature.

23 years agoNew manual page for a hardly known but important item :-)
Lutz Jänicke [Wed, 31 Jan 2001 14:14:20 +0000 (14:14 +0000)]
New manual page for a hardly known but important item :-)

23 years agoDocument the change.
Richard Levitte [Tue, 30 Jan 2001 13:47:59 +0000 (13:47 +0000)]
Document the change.

23 years agoIncrease consistency of header data (some mail readers really do not
Richard Levitte [Tue, 30 Jan 2001 13:38:59 +0000 (13:38 +0000)]
Increase consistency of header data (some mail readers really do not
like spaces before the semicolon, and besides, other parts of this
file makes the values without those spaces), and move spacing of
continuation lines to support BIO's that break lines after each
write.

23 years agoRemove serial number file during 'make clean'.
Bodo Möller [Mon, 29 Jan 2001 11:41:12 +0000 (11:41 +0000)]
Remove serial number file during 'make clean'.

23 years agoComment and indentation
Bodo Möller [Sun, 28 Jan 2001 14:38:11 +0000 (14:38 +0000)]
Comment and indentation

23 years agoMake sk_sort tolearate a NULL argument.
Dr. Stephen Henson [Sun, 28 Jan 2001 14:20:13 +0000 (14:20 +0000)]
Make sk_sort tolearate a NULL argument.

23 years agoNew OCSP response verify option OCSP_TRUSTOTHER
Dr. Stephen Henson [Fri, 26 Jan 2001 01:55:52 +0000 (01:55 +0000)]
New OCSP response verify option OCSP_TRUSTOTHER

23 years agoDocumentation language corrections, contributed by Chris Pepper <pepper@mail.reppep...
Richard Levitte [Thu, 25 Jan 2001 14:46:00 +0000 (14:46 +0000)]
Documentation language corrections, contributed by Chris Pepper <pepper@mail.reppep.com>

23 years agoZero the premaster secret after deriving the master secret in DH
Dr. Stephen Henson [Thu, 25 Jan 2001 13:15:01 +0000 (13:15 +0000)]
Zero the premaster secret after deriving the master secret in DH
ciphersuites.

23 years agoInsert a missing space to stop pod2man giving stroppy "malformed" warnings.
Geoff Thorpe [Thu, 25 Jan 2001 02:26:58 +0000 (02:26 +0000)]
Insert a missing space to stop pod2man giving stroppy "malformed" warnings.

23 years agoupdate
Bodo Möller [Wed, 24 Jan 2001 22:39:29 +0000 (22:39 +0000)]
update

23 years agoAdd debugging info to new ASN1 code to trace memory leaks.
Dr. Stephen Henson [Wed, 24 Jan 2001 18:39:54 +0000 (18:39 +0000)]
Add debugging info to new ASN1 code to trace memory leaks.

Fix PKCS7 and PKCS12 memory leaks.

Initialise encapsulated content type properly.

23 years agoUpdate "OAEP reconsidered" comment
Bodo Möller [Wed, 24 Jan 2001 14:59:25 +0000 (14:59 +0000)]
Update "OAEP reconsidered" comment

23 years agonew year
Ulf Möller [Wed, 24 Jan 2001 02:56:40 +0000 (02:56 +0000)]
new year

23 years agoEVP_add_digest_alias additions to SS_library_init
Bodo Möller [Tue, 23 Jan 2001 16:39:59 +0000 (16:39 +0000)]
EVP_add_digest_alias additions to SS_library_init

23 years agoThere is no C version of bn_div_3_words
Ulf Möller [Tue, 23 Jan 2001 16:26:15 +0000 (16:26 +0000)]
There is no C version of bn_div_3_words

23 years agoFor improved compatibility with 'strange' certificates, add some
Bodo Möller [Tue, 23 Jan 2001 13:55:26 +0000 (13:55 +0000)]
For improved compatibility with 'strange' certificates, add some
digest aliases (as found in OpenSSL_add_all_digests).

23 years agoUse OpenSSL_add_all_algorithms instead of the backwards compatibility
Bodo Möller [Tue, 23 Jan 2001 13:36:57 +0000 (13:36 +0000)]
Use OpenSSL_add_all_algorithms instead of the backwards compatibility
alias SSLeay_add_all_algorithms

23 years agoMore on the e_os.h mess ...
Bodo Möller [Tue, 23 Jan 2001 12:30:43 +0000 (12:30 +0000)]
More on the e_os.h mess ...

23 years agoCopy over just written manpage to the ones still missing.
Lutz Jänicke [Tue, 23 Jan 2001 11:04:52 +0000 (11:04 +0000)]
Copy over just written manpage to the ones still missing.

23 years agoAdd entries for new manpages...
Lutz Jänicke [Tue, 23 Jan 2001 10:47:41 +0000 (10:47 +0000)]
Add entries for new manpages...

23 years agoDefinition of NO_KRB5 in ssl.h for external applications.
Ulf Möller [Mon, 22 Jan 2001 18:46:32 +0000 (18:46 +0000)]
Definition of NO_KRB5 in ssl.h for external applications.

23 years agoUse the correct number of arguments in the example.
Ulf Möller [Sun, 21 Jan 2001 19:46:50 +0000 (19:46 +0000)]
Use the correct number of arguments in the example.

23 years agoMention the ./config script fixes.
Ulf Möller [Sun, 21 Jan 2001 18:45:23 +0000 (18:45 +0000)]
Mention the ./config script fixes.

23 years agoDocumentation about SSL_get_ex_data_X509_STORE_CTX_idx and
Lutz Jänicke [Sat, 20 Jan 2001 16:22:43 +0000 (16:22 +0000)]
Documentation about SSL_get_ex_data_X509_STORE_CTX_idx and
SSL_get_ex_new_index() functionality. Extended verify_callback()
example to show the usage.

23 years agoFix to stop X509_time_adj() using GeneralizedTime.
Dr. Stephen Henson [Sat, 20 Jan 2001 13:38:45 +0000 (13:38 +0000)]
Fix to stop X509_time_adj() using GeneralizedTime.

23 years agoUpdate ocsp utility documentation.
Dr. Stephen Henson [Sat, 20 Jan 2001 01:26:28 +0000 (01:26 +0000)]
Update ocsp utility documentation.

23 years agoFixes to various ASN1_INTEGER routines for negative case.
Dr. Stephen Henson [Fri, 19 Jan 2001 14:21:48 +0000 (14:21 +0000)]
Fixes to various ASN1_INTEGER routines for negative case.

Enhance s2i_ASN1_INTEGER().

23 years agoFix openssl passwd -1
Bodo Möller [Fri, 19 Jan 2001 07:37:56 +0000 (07:37 +0000)]
Fix openssl passwd -1

23 years agoAdditional functionality in ocsp utility: print summary
Dr. Stephen Henson [Fri, 19 Jan 2001 01:32:23 +0000 (01:32 +0000)]
Additional functionality in ocsp utility: print summary
of status info. Check nonce values. Option to disable
verify. Update usage message.

Rename status to string functions and make them global.

23 years agoDon't shadow.
Dr. Stephen Henson [Thu, 18 Jan 2001 01:36:54 +0000 (01:36 +0000)]
Don't shadow.

23 years agoImplement remaining OCSP verify checks in
Dr. Stephen Henson [Thu, 18 Jan 2001 01:35:39 +0000 (01:35 +0000)]
Implement remaining OCSP verify checks in
accordance with RFC2560.

23 years agoMake the change log on the RAND_poll change a bit more explicit. Suggested by Bodo...
Richard Levitte [Wed, 17 Jan 2001 13:43:18 +0000 (13:43 +0000)]
Make the change log on the RAND_poll change a bit more explicit.  Suggested by Bodo Moeller.

23 years agoKeep up with Unix
Richard Levitte [Wed, 17 Jan 2001 01:35:35 +0000 (01:35 +0000)]
Keep up with Unix

23 years agoInitial OCSP certificate verify. Not complete,
Dr. Stephen Henson [Wed, 17 Jan 2001 01:31:34 +0000 (01:31 +0000)]
Initial OCSP certificate verify. Not complete,
it just supports a "trusted OCSP global root CA".

23 years agolink to the new manpage.
Ulf Möller [Mon, 15 Jan 2001 22:19:30 +0000 (22:19 +0000)]
link to the new manpage.

23 years agoNew '-extfile' option for 'openssl ca'.
Bodo Möller [Mon, 15 Jan 2001 11:35:24 +0000 (11:35 +0000)]
New '-extfile' option for 'openssl ca'.
This allows keeping extensions in a separate configuration file.

Submitted by: Massimiliano Pala <madwolf@comune.modena.it>

23 years agoUpdate the LHASH man page.
Geoff Thorpe [Sun, 14 Jan 2001 23:37:42 +0000 (23:37 +0000)]
Update the LHASH man page.

* Correct some prototypes and macros with respect to "const"ness.

* Add the extra macros and examples due to the lh_doall[_arg] modifications
  made recently. The existing example is also reworked for consistency.

* Rewrite, tweak, and supplement bits of the existing comments that seemed
  (IMHO) to be a little convoluted and misleading.

* Add a NOTE section that explains the use of macros and avoiding function
  casts (ie. generate a wrapper as with the macros, or prototype any
  callback functions exactly to not require casting). Also, explain the
  "const" approach taken in LHASH for the purposes of API comprehensibility
  and also application code auditing.

23 years agoChange PKCS#12 key derivation routines to cope with
Dr. Stephen Henson [Sun, 14 Jan 2001 14:07:10 +0000 (14:07 +0000)]
Change PKCS#12 key derivation routines to cope with
non null terminated passwords.

23 years agoFix warning in apps/ca.c
Dr. Stephen Henson [Sun, 14 Jan 2001 13:58:49 +0000 (13:58 +0000)]
Fix warning in apps/ca.c

23 years agoPreliminary ocsp utility documentation.
Dr. Stephen Henson [Sun, 14 Jan 2001 00:52:19 +0000 (00:52 +0000)]
Preliminary ocsp utility documentation.

Fix ocsp usage message.

23 years agoNew OCSP utility. This can generate, parse and print
Dr. Stephen Henson [Sat, 13 Jan 2001 01:48:38 +0000 (01:48 +0000)]
New OCSP utility. This can generate, parse and print
OCSP requests. It can also query reponders and parse or
print out responses.

Still needs some more work: OCSP response checks and
of course documentation.

23 years agoDisable RegQueryValueEx() call.
Bodo Möller [Fri, 12 Jan 2001 15:16:21 +0000 (15:16 +0000)]
Disable RegQueryValueEx() call.
Problem reported by "Wolfgang Marczy" <WMarczy@topcall.co.at>
in a message to openssl-dev (19 Dec 2000 13:40:51 +0100).

23 years agoNew 'openssl ca -status <serial>' and 'openssl ca -updatedb'
Bodo Möller [Fri, 12 Jan 2001 14:50:44 +0000 (14:50 +0000)]
New 'openssl ca -status <serial>' and 'openssl ca -updatedb'
commands.

Submitted by: Massimiliano Pala <madwolf@comune.modena.it>

23 years agoisspace must be used only on *unsigned* chars
Bodo Möller [Fri, 12 Jan 2001 14:45:12 +0000 (14:45 +0000)]
isspace must be used only on *unsigned* chars

23 years agonote strncpy problem
Bodo Möller [Fri, 12 Jan 2001 14:06:26 +0000 (14:06 +0000)]
note strncpy problem

23 years agoWhen we are waiting for user action, we should say this explicitly.
Bodo Möller [Fri, 12 Jan 2001 10:34:58 +0000 (10:34 +0000)]
When we are waiting for user action, we should say this explicitly.

23 years agoFix typo in OCSP ASN1 module, this caused
Dr. Stephen Henson [Thu, 11 Jan 2001 23:24:28 +0000 (23:24 +0000)]
Fix typo in OCSP ASN1 module, this caused
invalid format in OCSP request signatures.

Add spaces to OCSP HTTP header.

Change X509_NAME_set() there's no reason
why it should return an error if the
destination points to NULL... though it
should if the destination is NULL.

23 years agoRemove "AVAILABLE PATCH" that has now been applied.
Bodo Möller [Thu, 11 Jan 2001 13:33:10 +0000 (13:33 +0000)]
Remove "AVAILABLE PATCH" that has now been applied.

Move ex_data.c entry from "NEEDS PATCH" to "OPEN ISSUES".

23 years agoNew -newreq-nodes option to CA.pl.
Bodo Möller [Thu, 11 Jan 2001 13:23:19 +0000 (13:23 +0000)]
New -newreq-nodes option to CA.pl.

Submitted by: Damien Miller <djm@mindrot.org>

23 years agoAdd configuration for GNU Hurd.
Richard Levitte [Thu, 11 Jan 2001 12:58:37 +0000 (12:58 +0000)]
Add configuration for GNU Hurd.

23 years agoOCSP basic response verify. Very incomplete
Dr. Stephen Henson [Thu, 11 Jan 2001 00:52:50 +0000 (00:52 +0000)]
OCSP basic response verify. Very incomplete
but will verify the signatures on a response
and locate the signers certifcate.

Still needs to implement a proper OCSP certificate
verify.

Fix warning in RAND_egd().

23 years agoNo functional change, but slightly improved code clarity.
Bodo Möller [Wed, 10 Jan 2001 19:26:34 +0000 (19:26 +0000)]
No functional change, but slightly improved code clarity.

23 years agoAfter discussion with Richard, change the new API for extended memory
Bodo Möller [Wed, 10 Jan 2001 18:09:57 +0000 (18:09 +0000)]
After discussion with Richard, change the new API for extended memory
allocation callbacks so that it is no longer visible to applications
that these live at a different call level than conventional memory
allocation callbacks.

23 years agoIt's silly to use a different default for PERL than in the top
Bodo Möller [Wed, 10 Jan 2001 16:46:00 +0000 (16:46 +0000)]
It's silly to use a different default for PERL than in the top
Makefile.  (The default is never actually used though because
the top Makefile passes its value of PERL down to sub-Makefiles.)

23 years agoPass ${PERL} down to the Makefile in sub-directory "test" in
Bodo Möller [Wed, 10 Jan 2001 16:43:52 +0000 (16:43 +0000)]
Pass ${PERL} down to the Makefile in sub-directory "test" in
"make tests"

23 years agoUse $(PERL) in place of hard-coded perl
Bodo Möller [Wed, 10 Jan 2001 16:40:30 +0000 (16:40 +0000)]
Use $(PERL) in place of hard-coded perl

23 years agoAdd new items:
Bodo Möller [Wed, 10 Jan 2001 16:37:35 +0000 (16:37 +0000)]
Add new items:
- 0.9.6a is under development
- a couple of illegal includes of <openssl/e_os.h> should be purged
- ex_data sucks

23 years agoLast time I asked, no-one appeared to remember if these "NEEDS PATCH"
Bodo Möller [Wed, 10 Jan 2001 16:25:12 +0000 (16:25 +0000)]
Last time I asked, no-one appeared to remember if these "NEEDS PATCH"
entries are still current or what they are about:

    o  non-blocking socket on AIX
    o  $(PERL) in */Makefile.ssl

So I'll remove them for now.

23 years agomake indentation consistent
Bodo Möller [Wed, 10 Jan 2001 15:31:04 +0000 (15:31 +0000)]
make indentation consistent

23 years agoAdd SSLEAY_DIR argument code for SSLeay_version.
Bodo Möller [Wed, 10 Jan 2001 15:15:36 +0000 (15:15 +0000)]
Add SSLEAY_DIR argument code for SSLeay_version.
Add '-d' option for 'openssl version' (included in '-a').

23 years ago'char' argument to islower must be converted to 'unsigned char'
Bodo Möller [Wed, 10 Jan 2001 14:58:22 +0000 (14:58 +0000)]
'char' argument to islower must be converted to 'unsigned char'

23 years agoAdd a pointer to digest options in the description of -fingerprint.
Bodo Möller [Wed, 10 Jan 2001 14:35:20 +0000 (14:35 +0000)]
Add a pointer to digest options in the description of -fingerprint.

23 years agoFix C code generate by 'openssl dsaparam -C'.
Bodo Möller [Wed, 10 Jan 2001 14:26:32 +0000 (14:26 +0000)]
Fix C code generate by 'openssl dsaparam -C'.

23 years agoChange prototypes for new CRYPTO_..._mem_ex_functions functions so
Bodo Möller [Wed, 10 Jan 2001 14:10:17 +0000 (14:10 +0000)]
Change prototypes for new CRYPTO_..._mem_ex_functions functions so
that they match the function definitions (namely, remove file/line
parameters from free_func).

23 years agoAs response to a user request to be able to use external memory
Richard Levitte [Wed, 10 Jan 2001 13:14:58 +0000 (13:14 +0000)]
As response to a user request to be able to use external memory
handling routines that need file name and line number information,
I've added a call level to our memory handling routines to allow that
kind of hooking.

23 years agoFix uni2asc() so it can properly convert zero length
Dr. Stephen Henson [Wed, 10 Jan 2001 01:06:31 +0000 (01:06 +0000)]
Fix uni2asc() so it can properly convert zero length
unicode strings. Certain PKCS#12 files contain these
in BMPStrings and it used to crash on them.

23 years agorsa_num is not used with NO_RSA
Ulf Möller [Tue, 9 Jan 2001 21:39:16 +0000 (21:39 +0000)]
rsa_num is not used with NO_RSA

23 years agooops, void functions shouldn't try and return a value. Strangely, gcc
Geoff Thorpe [Tue, 9 Jan 2001 16:59:56 +0000 (16:59 +0000)]
oops, void functions shouldn't try and return a value. Strangely, gcc
didn't even give a warning for this yet HPUX cc considered it an error.
Reported by Lutz(@openssl.org).

23 years agoAdd automatic query of EGD sockets to RAND_poll(). The EGD sockets are
Lutz Jänicke [Tue, 9 Jan 2001 16:44:59 +0000 (16:44 +0000)]
Add automatic query of EGD sockets to RAND_poll(). The EGD sockets are
only queried when the /dev/[u]random devices did not return enough
entropy. Only the amount of entropy missing to reach the required minimum
is queried, as EGD may be drained.
Queried locations are: /etc/entropy, /var/run/egd-pool

23 years agoIt was correctly pointed out to me that my CHANGES entry was a little thin
Geoff Thorpe [Tue, 9 Jan 2001 16:39:04 +0000 (16:39 +0000)]
It was correctly pointed out to me that my CHANGES entry was a little thin
on details. :-)

23 years agoDon't cheat: when only getting several bytes from each source, n is incremented
Lutz Jänicke [Tue, 9 Jan 2001 10:58:36 +0000 (10:58 +0000)]
Don't cheat: when only getting several bytes from each source, n is incremented
correctly, but RAND_add(..,n) counts the increasing n several times.
Only RAND_add(..,n) once entropy collection is finished.

23 years agoMove all the existing function pointer casts associated with LHASH's two
Geoff Thorpe [Tue, 9 Jan 2001 00:24:38 +0000 (00:24 +0000)]
Move all the existing function pointer casts associated with LHASH's two
"doall" functions to using type-safe wrappers. As and where required, this
can be replaced by redeclaring the underlying callbacks to use the
underlying "void"-based prototypes (eg. if performance suffers from an
extra level of function invocation).

23 years agoGet rid of the function pointer casting in the debugging memory code due
Geoff Thorpe [Tue, 9 Jan 2001 00:13:25 +0000 (00:13 +0000)]
Get rid of the function pointer casting in the debugging memory code due
to LHASH usage. NB: The callback type used as been suctioned off into
crypto.h as CRYPTO_MEM_LEAK_CB to improve clarity.

23 years agoThis adds macros to implement (and/or declare) type-safe wrapper functions
Geoff Thorpe [Tue, 9 Jan 2001 00:02:09 +0000 (00:02 +0000)]
This adds macros to implement (and/or declare) type-safe wrapper functions
around the callbacks required in the LHASH code for the "doall" functions.

Also - fix the evil function pointer casting in the two lh_doall functions
by deferring to a static utility function. Previously lh_doall() was
invoking lh_doall_arg() by casting the callback to the 2-parameter
prototype and passing in a NULL argument. This appears to have been working
thus far but it's not a hot idea. If the extra level of indirection becomes
a performance hit, we can just provide two virtually identical
implementations for each variant later on.

23 years agoWhilst in the process of fixing outstanding function-pointer casts in the
Geoff Thorpe [Mon, 8 Jan 2001 22:03:27 +0000 (22:03 +0000)]
Whilst in the process of fixing outstanding function-pointer casts in the
LHASH code, this evil was uncovered. The cast was obscuring the fact that
the function was prototyped to take 2 parameters when in fact it is being
used as a callback that should take only one. Anyway, the function itself
ignores the second parameter (thankfully). A proper cure is on the way but
for now this corrects the inconsistency.

23 years agoKeep up with Unix code. It's beginning to be time to rethink the VMS
Richard Levitte [Mon, 8 Jan 2001 21:32:46 +0000 (21:32 +0000)]
Keep up with Unix code.  It's beginning to be  time to rethink the VMS
build system...

23 years agoBecause /dev/urandom has a better chance of giving us a good and
Richard Levitte [Mon, 8 Jan 2001 21:27:53 +0000 (21:27 +0000)]
Because /dev/urandom has a better chance of giving us a good and
quick answer, take that one first.

23 years agoAdd prototypes for new OCSP functions.
Dr. Stephen Henson [Mon, 8 Jan 2001 13:39:06 +0000 (13:39 +0000)]
Add prototypes for new OCSP functions.

Fix bug in OCSP_find_status().

23 years agoChange RAND_poll for Unix to try a number of devices and only read
Richard Levitte [Mon, 8 Jan 2001 10:59:26 +0000 (10:59 +0000)]
Change RAND_poll for Unix to try a number of devices and only read
them for a short period of time (actually, poll them with select(),
then read() whatever is there), which is about 10ms (hard-coded value)
each.

Separate Windows and Unixly code, and start on a VMS variant that
currently just returns 0.

23 years agoAdd set of OCSP client functions. All experimental
Dr. Stephen Henson [Mon, 8 Jan 2001 01:21:55 +0000 (01:21 +0000)]
Add set of OCSP client functions. All experimental
and subject to addition, modifcation or deletion.

Add two OCSP nonce utility functions.

Fix typo in status code name.

23 years agoKeep up with the Unixly changes.
Richard Levitte [Sun, 7 Jan 2001 18:51:28 +0000 (18:51 +0000)]
Keep up with the Unixly changes.

23 years agoModify OCSP API to more closely reflect
Dr. Stephen Henson [Fri, 5 Jan 2001 03:31:51 +0000 (03:31 +0000)]
Modify OCSP API to more closely reflect
application needs.

Add OCSP library name to error code.

23 years agoFix typo in OCSP nonce extension.
Dr. Stephen Henson [Thu, 4 Jan 2001 19:53:48 +0000 (19:53 +0000)]
Fix typo in OCSP nonce extension.

Set correct type in ASN1_STRING for
INTEGER and ENUMERATED types.

Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get()
return -1 for invalid type rather than 0 (which is
often valid). -1 may also be valid but this is less
likely.

Load OCSP error strings in ERR_load_crypto_strings().

23 years agoUpdate OCSP API.
Dr. Stephen Henson [Thu, 4 Jan 2001 01:46:36 +0000 (01:46 +0000)]
Update OCSP API.

Remove extensions argument from various functions
because it is not needed with the new extension
code.

New function OCSP_cert_to_id() to convert a pair
of certificates into an OCSP_CERTID.

New simple OCSP HTTP function. This is rather primitive
but just about adequate to send OCSP requests and
parse the response.

Fix typo in CRL distribution points extension.

Fix ASN1 code so it adds a final null to constructed
strings.

23 years agoFix the S/MIME code so it now works again and
Dr. Stephen Henson [Sun, 31 Dec 2000 17:31:57 +0000 (17:31 +0000)]
Fix the S/MIME code so it now works again and
uses the new ASN1 code.

23 years agoMake the DSO code for VMS work again. First attempt.
Richard Levitte [Sun, 31 Dec 2000 01:55:46 +0000 (01:55 +0000)]
Make the DSO code for VMS work again.  First attempt.

23 years agoThe option line may start with a space, which gives an empty option.
Richard Levitte [Sun, 31 Dec 2000 01:54:18 +0000 (01:54 +0000)]
The option line may start with a space, which gives an empty option.
Make sure those are purged...

23 years agoLook for no-krb5 and add the definition of NO_KRB5 if it's there.
Richard Levitte [Sun, 31 Dec 2000 01:43:11 +0000 (01:43 +0000)]
Look for no-krb5 and add the definition of NO_KRB5 if it's there.
I've no idea were the KRB5 header files and libraries are placed on
Win32.  When there's better knowledge, we might be able to process the
other KRB5-related arguments as well...

23 years agoTemporary measure: if no KRB5 is defined, add "no-krb5" to the
Richard Levitte [Sun, 31 Dec 2000 01:41:01 +0000 (01:41 +0000)]
Temporary measure: if no KRB5 is defined, add "no-krb5" to the
options.  This is so mk1mf.pl can pick it up from Makefile.

23 years agoSince asn1.h gets included recursively from many places, the easiest
Richard Levitte [Sun, 31 Dec 2000 01:18:50 +0000 (01:18 +0000)]
Since asn1.h gets included recursively from many places, the easiest
is to have asn1.h include e_os.h and e_os2.h.  Of course, this makes
the unofficial "non-export" status of e_os.h a bit delicate...

23 years agoRewrite PKCS#12 code and remove some of the old
Dr. Stephen Henson [Sun, 31 Dec 2000 01:13:04 +0000 (01:13 +0000)]
Rewrite PKCS#12 code and remove some of the old
horrible macros.

Fix two evil ASN1 bugs. Attempt to use 'ctx' when
NULL if input is indefinite length constructed
in asn1_check_tlen() and invalid pointer to ASN1_TYPE
when reusing existing structure (this took *ages* to
find because the new PKCS#12 code triggered it).

23 years agoRemove RSAref-related things.
Richard Levitte [Sun, 31 Dec 2000 00:48:58 +0000 (00:48 +0000)]
Remove RSAref-related things.

23 years agoDocument.
Richard Levitte [Sun, 31 Dec 2000 00:26:18 +0000 (00:26 +0000)]
Document.