openssl.git
23 years agointernal_verify now does know about extensions
Bodo Möller [Mon, 23 Oct 2000 08:01:41 +0000 (08:01 +0000)]
internal_verify now does know about extensions

23 years agoDon't ever set 'seeded' if RAND_status() returned 0
Bodo Möller [Mon, 23 Oct 2000 07:37:03 +0000 (07:37 +0000)]
Don't ever set 'seeded' if RAND_status() returned 0
(although maybe this static variable should be abolished totally,
it was introduced before RAND_status existed).

23 years agoWhen building shared libraries on HP-UX 10.20 and HP-UX 11.00 (32bit),
Richard Levitte [Sun, 22 Oct 2000 21:37:39 +0000 (21:37 +0000)]
When building shared libraries on HP-UX 10.20 and HP-UX 11.00 (32bit),
ld warns that -Fl "may not be supported in future releases".  We know
that, and are doing things in HP-UX 11 (64bit), so turn off that
warning with +vnocompatwarnings.

23 years agoIt seems like grep isn't as capable as I thought on some Unix systems.
Richard Levitte [Sun, 22 Oct 2000 16:46:47 +0000 (16:46 +0000)]
It seems like grep isn't as capable as I thought on some Unix systems.
Use egrep instead.

23 years agoPointer error corrected
Richard Levitte [Sun, 22 Oct 2000 12:47:01 +0000 (12:47 +0000)]
Pointer error corrected

23 years agoIf the functions get_dh*() are declared static, they should be defined the same way
Richard Levitte [Sun, 22 Oct 2000 12:45:33 +0000 (12:45 +0000)]
If the functions get_dh*() are declared static, they should be defined the same way

23 years agoOn some operating systems, MAX is defined. Call ours OSSL_MAX instead
Richard Levitte [Sun, 22 Oct 2000 12:44:12 +0000 (12:44 +0000)]
On some operating systems, MAX is defined.  Call ours OSSL_MAX instead

23 years agoDocument
Richard Levitte [Sat, 21 Oct 2000 22:53:32 +0000 (22:53 +0000)]
Document

23 years agoThere's no reason why app_RAND_load_file() should return 0 when
Richard Levitte [Sat, 21 Oct 2000 22:43:07 +0000 (22:43 +0000)]
There's no reason why app_RAND_load_file() should return 0 when
RAND_status() hasn't.
Reported by Dale Stimson <dale@accentre.com>.

23 years agoKrister Walfridsson <cato@df.lth.se> tells us sysctl lives in /sbin
Richard Levitte [Sat, 21 Oct 2000 22:18:52 +0000 (22:18 +0000)]
Krister Walfridsson <cato@df.lth.se> tells us sysctl lives in /sbin
since NetBSD 1.5.

23 years agoFreeBSD-elf can do threads. However, there seems to be confusion if
Richard Levitte [Sat, 21 Oct 2000 22:05:03 +0000 (22:05 +0000)]
FreeBSD-elf can do threads.  However, there seems to be confusion if
you should defined _THREAD_SAFE (I found that in an include file, and
that's what everybody tells me) or _THREADSAFE (that's what the gcc
manual says in the FreeBSD-specific section), so I defined both, just
to be safe.

23 years agoAdd what's needed to get shared libraries on HP-UX.
Richard Levitte [Sat, 21 Oct 2000 21:24:11 +0000 (21:24 +0000)]
Add what's needed to get shared libraries on HP-UX.

N.B.: This has not been tested at all, that's my next step.

23 years agomake update
Richard Levitte [Sat, 21 Oct 2000 20:15:46 +0000 (20:15 +0000)]
make update

23 years agoDocument the change to NCONF.
Richard Levitte [Sat, 21 Oct 2000 20:01:34 +0000 (20:01 +0000)]
Document the change to NCONF.

23 years agoFix for bug (?) in assembly language routines for SHA1. This
Dr. Stephen Henson [Fri, 20 Oct 2000 00:36:45 +0000 (00:36 +0000)]
Fix for bug (?) in assembly language routines for SHA1. This
causes MASM to complain and not produce valid debug info.
Hopefully this wont break anything else...

Also fix typo in e_rd.c

23 years agoMove expired CA certificate.
Dr. Stephen Henson [Thu, 19 Oct 2000 23:16:47 +0000 (23:16 +0000)]
Move expired CA certificate.

23 years agogive pseudo prototypes instead of macro definitions for better clarity
Ulf Möller [Thu, 19 Oct 2000 22:02:21 +0000 (22:02 +0000)]
give pseudo prototypes instead of macro definitions for better clarity

23 years ago"DESCRIPTION" is required.
Ulf Möller [Thu, 19 Oct 2000 19:40:35 +0000 (19:40 +0000)]
"DESCRIPTION" is required.

23 years agocorrection from Lutz
Ulf Möller [Thu, 19 Oct 2000 15:19:41 +0000 (15:19 +0000)]
correction from Lutz

23 years agoKeep binary backward compatibility by putting new method function
Richard Levitte [Thu, 19 Oct 2000 08:29:27 +0000 (08:29 +0000)]
Keep binary backward compatibility by putting new method function
pointers at the end of the structure.

23 years agoMake it possible for methods to load from something other than a BIO,
Richard Levitte [Thu, 19 Oct 2000 08:26:32 +0000 (08:26 +0000)]
Make it possible for methods to load from something other than a BIO,
by providing a function pointer that is given a name instead of a BIO.
For example, this could be used to load configuration data from an
LDAP server.

23 years agoNCONF_get_number() has no error checking at all. As a replacement,
Richard Levitte [Thu, 19 Oct 2000 08:03:14 +0000 (08:03 +0000)]
NCONF_get_number() has no error checking at all.  As a replacement,
NCONF_get_number_e() is defined (_e for "error checking") and is
promoted strongly.  The old NCONF_get_number is kept around for
binary backward compatibility.

23 years agoAdd short overview, move header files section further down.
Ulf Möller [Wed, 18 Oct 2000 23:08:55 +0000 (23:08 +0000)]
Add short overview, move header files section further down.

23 years agocosmetic changes
Ulf Möller [Wed, 18 Oct 2000 22:51:34 +0000 (22:51 +0000)]
cosmetic changes

23 years agocosmetic change
Ulf Möller [Wed, 18 Oct 2000 22:01:47 +0000 (22:01 +0000)]
cosmetic change

23 years agoJohn Denney <jdenney@ca.mdis.com> reports that we forgot to convert
Richard Levitte [Wed, 18 Oct 2000 19:36:27 +0000 (19:36 +0000)]
John Denney <jdenney@ca.mdis.com> reports that we forgot to convert
Free to OPENSSL_free in the SSL demos.

23 years agoTwo questions have been asked quite often lately.
Richard Levitte [Tue, 17 Oct 2000 16:16:12 +0000 (16:16 +0000)]
Two questions have been asked quite often lately.

23 years agoUpdate test server certificate in apps/server.pem (it was expired).
Dr. Stephen Henson [Mon, 16 Oct 2000 22:56:10 +0000 (22:56 +0000)]
Update test server certificate in apps/server.pem (it was expired).

23 years agoAlways return a value.
Ben Laurie [Mon, 16 Oct 2000 13:08:16 +0000 (13:08 +0000)]
Always return a value.

Submitted by:
Reviewed by:
PR:

23 years agoCRYPTO_get_ex_new_index would never return an error.
Richard Levitte [Mon, 16 Oct 2000 06:01:41 +0000 (06:01 +0000)]
CRYPTO_get_ex_new_index would never return an error.

23 years agoFix for typo in certificate directory lookup code.
Dr. Stephen Henson [Sat, 14 Oct 2000 23:51:52 +0000 (23:51 +0000)]
Fix for typo in certificate directory lookup code.

23 years agoThe experimental Rijndael code moved to the main trunk.
Richard Levitte [Sat, 14 Oct 2000 20:09:54 +0000 (20:09 +0000)]
The experimental Rijndael code moved to the main trunk.
make update done.

23 years agoEven when you don't want to create shared libraries, it's a good idea
Richard Levitte [Fri, 13 Oct 2000 16:04:20 +0000 (16:04 +0000)]
Even when you don't want to create shared libraries, it's a good idea
to have the full extension information, so residual shared libraries
can be removed so the applications and test programs do not get linked
against them by mistake...

23 years agoRework the system to generate shared libraries:
Richard Levitte [Fri, 13 Oct 2000 15:25:06 +0000 (15:25 +0000)]
Rework the system to generate shared libraries:

  - Make note of the expected extension for the shared libraries and
    if there is a need for symbolic links from for example libcrypto.so.0
    to libcrypto.so.0.9.7.  There is extended info in Configure for
    that.

  - Make as few rebuilds of the shared libraries as possible.

  - Still avoid linking the OpenSSL programs with the shared libraries.

  - When installing, install the shared libraries separately from the
    static ones.

23 years agoBump the shared library version (should have been done a while ago).
Richard Levitte [Fri, 13 Oct 2000 15:09:06 +0000 (15:09 +0000)]
Bump the shared library version (should have been done a while ago).

23 years agoMake the new conf implementatoin bug-compatible with the old one.
Richard Levitte [Fri, 13 Oct 2000 08:30:06 +0000 (08:30 +0000)]
Make the new conf implementatoin bug-compatible with the old one.
Actually, it's a feature that it goes looking at environment
variables.  It's just a pity that it's at the cost of the error
checking...  I'll see if I can come up with a better interface for
this.

23 years agomake update
Richard Levitte [Fri, 13 Oct 2000 08:27:00 +0000 (08:27 +0000)]
make update

23 years agoNew docs and new facts in older docs.
Richard Levitte [Thu, 12 Oct 2000 09:56:36 +0000 (09:56 +0000)]
New docs and new facts in older docs.
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>

23 years agoMake non blocking I/O work for accept BIOs.
Dr. Stephen Henson [Thu, 12 Oct 2000 01:50:33 +0000 (01:50 +0000)]
Make non blocking I/O work for accept BIOs.

23 years agofix problems in the selftest
Ulf Möller [Wed, 11 Oct 2000 00:08:15 +0000 (00:08 +0000)]
fix problems in the selftest

23 years agoDo a favor to those who get weird compiles and report if RAND_pseudo_bytes
Richard Levitte [Tue, 10 Oct 2000 15:08:30 +0000 (15:08 +0000)]
Do a favor to those who get weird compiles and report if RAND_pseudo_bytes
returns -1...

23 years agoA few small corrections to the SSL documentation.
Richard Levitte [Tue, 10 Oct 2000 09:15:47 +0000 (09:15 +0000)]
A few small corrections to the SSL documentation.
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>

23 years agoBIO_sock_init() returns 1 for success and -1 for failure, not 0;
Bodo Möller [Mon, 9 Oct 2000 16:40:16 +0000 (16:40 +0000)]
BIO_sock_init() returns 1 for success and -1 for failure, not 0;
thus the condition '!BIO_sock_init()' doesn't make sense.

23 years agoDSO_ctrl() changes have removed a couple of DSO_METHOD-specific functions
Geoff Thorpe [Mon, 9 Oct 2000 01:57:54 +0000 (01:57 +0000)]
DSO_ctrl() changes have removed a couple of DSO_METHOD-specific functions
so I've regenerated the error numbers and strings for the DSO functions.

23 years agoMake sure ranlib is only used on .a libraries.
Richard Levitte [Mon, 9 Oct 2000 00:50:04 +0000 (00:50 +0000)]
Make sure ranlib is only used on .a libraries.

23 years agoMake sure that shareable libraries are turned off if we don't know how
Richard Levitte [Mon, 9 Oct 2000 00:48:30 +0000 (00:48 +0000)]
Make sure that shareable libraries are turned off if we don't know how
to make them...

23 years agoNone of the DSO_METHOD's were handling anything except generic messages.
Geoff Thorpe [Sun, 8 Oct 2000 22:36:49 +0000 (22:36 +0000)]
None of the DSO_METHOD's were handling anything except generic messages.
These are now processed inside DSO_ctrl() itself.

23 years agoTime to get rid of some rather silly code duplication - some DSO_ctrl()
Geoff Thorpe [Sun, 8 Oct 2000 22:32:57 +0000 (22:32 +0000)]
Time to get rid of some rather silly code duplication - some DSO_ctrl()
commands are common to all DSO_METHODs, hence handle them at the top.

23 years agoLinux on Alpha with gcc knows about shared libraries.
Richard Levitte [Sun, 8 Oct 2000 19:40:07 +0000 (19:40 +0000)]
Linux on Alpha with gcc knows about shared libraries.

23 years agoLinux on Alpha has the configuration name linux-alpha-gcc, not
Richard Levitte [Sun, 8 Oct 2000 19:38:28 +0000 (19:38 +0000)]
Linux on Alpha has the configuration name linux-alpha-gcc, not
linux-alpha.

23 years agoMore code for X509_print_ex() support.
Dr. Stephen Henson [Fri, 6 Oct 2000 11:51:47 +0000 (11:51 +0000)]
More code for X509_print_ex() support.

23 years agoGlobal DirectoryString mask fix.
Dr. Stephen Henson [Wed, 4 Oct 2000 01:16:32 +0000 (01:16 +0000)]
Global DirectoryString mask fix.

Add support for X509_NAME_print_ex() in req.

Initial code for cutomizable X509 print routines.

23 years agoMore SSL functions documented. Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU...
Richard Levitte [Tue, 3 Oct 2000 22:02:28 +0000 (22:02 +0000)]
More SSL functions documented.  Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>

23 years agoDocument...
Richard Levitte [Sun, 1 Oct 2000 21:46:43 +0000 (21:46 +0000)]
Document...

23 years agoRemove what was described by someone as "an EAY hack for compiling
Richard Levitte [Sun, 1 Oct 2000 21:28:07 +0000 (21:28 +0000)]
Remove what was described by someone as "an EAY hack for compiling
SSLeay with Colin Plumb's MD5 implementation instead of his one".

23 years agoInclude arpa/inet.h, since that's where htons() and friends are
Richard Levitte [Fri, 29 Sep 2000 20:14:57 +0000 (20:14 +0000)]
Include arpa/inet.h, since that's where htons() and friends are
supposed to be defined according to XPG4.2.
Found by Evan <n2xjk@ulster.net> for the MVS platform.

23 years agoThe des_modes manpage is in section 7.
Ulf Möller [Wed, 27 Sep 2000 21:45:20 +0000 (21:45 +0000)]
The des_modes manpage is in section 7.

23 years agoA compiler warning removed. Thanks to the folks at HP!
Richard Levitte [Wed, 27 Sep 2000 13:54:28 +0000 (13:54 +0000)]
A compiler warning removed.  Thanks to the folks at HP!

23 years agoVerbose output when installing manual pages so that you see that
Bodo Möller [Tue, 26 Sep 2000 12:23:55 +0000 (12:23 +0000)]
Verbose output when installing manual pages so that you see that
something is going on (and what).

23 years agoAdd BUGS section.
Bodo Möller [Tue, 26 Sep 2000 12:15:53 +0000 (12:15 +0000)]
Add BUGS section.

23 years agoNote read_ahead-flag related fixes.
Bodo Möller [Tue, 26 Sep 2000 11:39:37 +0000 (11:39 +0000)]
Note read_ahead-flag related fixes.

23 years agoSet s->read_ahead in SSL_new because SSL_clear no longer modifies it.
Bodo Möller [Tue, 26 Sep 2000 11:38:05 +0000 (11:38 +0000)]
Set s->read_ahead in SSL_new because SSL_clear no longer modifies it.

23 years agoDon't modify s->read_ahead in SSL_clear, which is called from
Bodo Möller [Tue, 26 Sep 2000 11:30:59 +0000 (11:30 +0000)]
Don't modify s->read_ahead in SSL_clear, which is called from
accept/connect functions; those should not change the
read_ahead setting of the SSL structure.

23 years agoFix SSL_CTX_set_read_ahead macro.
Bodo Möller [Tue, 26 Sep 2000 11:25:44 +0000 (11:25 +0000)]
Fix SSL_CTX_set_read_ahead macro.

Submitted by: Anders Gertz <gertz@epact.se>

23 years agoDocument the change.
Richard Levitte [Mon, 25 Sep 2000 11:12:27 +0000 (11:12 +0000)]
Document the change.

23 years agoUpdate
Richard Levitte [Mon, 25 Sep 2000 10:22:39 +0000 (10:22 +0000)]
Update

23 years agoWhen creating a .def file, be a bit more selective so disabled
Richard Levitte [Mon, 25 Sep 2000 10:21:23 +0000 (10:21 +0000)]
When creating a .def file, be a bit more selective so disabled
algorithms do not get in...

23 years agoecho=off works on NT, but not on W2K.
Richard Levitte [Mon, 25 Sep 2000 09:30:32 +0000 (09:30 +0000)]
echo=off works on NT, but not on W2K.

23 years ago'ranlib' doesn't always run on some systems. That's actually
Richard Levitte [Mon, 25 Sep 2000 08:53:15 +0000 (08:53 +0000)]
'ranlib' doesn't always run on some systems.  That's actually
acceptable, since all that happens if it fails is a library with
an index, which makes linking slower, but still working correctly.

23 years agoMake the algorithm implementations depend on the corresponding
Richard Levitte [Mon, 25 Sep 2000 08:49:13 +0000 (08:49 +0000)]
Make the algorithm implementations depend on the corresponding
selection macros.

23 years agotypo
Ulf Möller [Mon, 25 Sep 2000 05:55:19 +0000 (05:55 +0000)]
typo

23 years agoUpdate the status and version number to 0.9.7-dev.
Richard Levitte [Sun, 24 Sep 2000 17:31:37 +0000 (17:31 +0000)]
Update the status and version number to 0.9.7-dev.

23 years agoForgot to change the STATUS file...
Richard Levitte [Sun, 24 Sep 2000 15:42:34 +0000 (15:42 +0000)]
Forgot to change the STATUS file...

23 years agoTime to build the release. Bump the version info accordingly.
Richard Levitte [Sun, 24 Sep 2000 15:21:30 +0000 (15:21 +0000)]
Time to build the release.  Bump the version info accordingly.

23 years agomake update
Richard Levitte [Sun, 24 Sep 2000 14:54:31 +0000 (14:54 +0000)]
make update

23 years agoChange the Windows building scripts to enable DSO_WIN32.
Richard Levitte [Sun, 24 Sep 2000 14:48:51 +0000 (14:48 +0000)]
Change the Windows building scripts to enable DSO_WIN32.

23 years agoprint the perlasm rule only for linux-elf (it seems it confuses some
Ulf Möller [Sat, 23 Sep 2000 19:24:06 +0000 (19:24 +0000)]
print the perlasm rule only for linux-elf (it seems it confuses some
version of make for Mingw32)
----------------------------------------------------------------------
----------------------------------------------------------------------

23 years agospelling
Ulf Möller [Sat, 23 Sep 2000 19:08:16 +0000 (19:08 +0000)]
spelling

23 years agoupdate info to match the README.
Ulf Möller [Sat, 23 Sep 2000 07:38:43 +0000 (07:38 +0000)]
update info to match the README.

23 years agostop perlpod from complaining.
Ulf Möller [Sat, 23 Sep 2000 07:30:28 +0000 (07:30 +0000)]
stop perlpod from complaining.

23 years agomore manpage links.
Ulf Möller [Sat, 23 Sep 2000 07:16:17 +0000 (07:16 +0000)]
more manpage links.

23 years agotlhelp32.h
Ulf Möller [Sat, 23 Sep 2000 05:46:41 +0000 (05:46 +0000)]
tlhelp32.h

23 years agoWorkaround for tlhelp32.h: place the missing header file in outinc
Ulf Möller [Sat, 23 Sep 2000 05:19:16 +0000 (05:19 +0000)]
Workaround for tlhelp32.h: place the missing header file in outinc

23 years agoAdd some missing info.
Ulf Möller [Sat, 23 Sep 2000 05:17:40 +0000 (05:17 +0000)]
Add some missing info.

23 years agotlhelp32.h is currently missing in Mingw32 (release 2.95.2 and 2.95.2-1)
Ulf Möller [Sat, 23 Sep 2000 05:04:19 +0000 (05:04 +0000)]
tlhelp32.h is currently missing in Mingw32 (release 2.95.2 and 2.95.2-1)

23 years agoURL to "latest" Mingw release (which is almost a year old :()
Ulf Möller [Sat, 23 Sep 2000 02:06:08 +0000 (02:06 +0000)]
URL to "latest" Mingw release (which is almost a year old :()

23 years agotypo
Bodo Möller [Fri, 22 Sep 2000 21:45:49 +0000 (21:45 +0000)]
typo

23 years agoAvoid protocol rollback.
Bodo Möller [Fri, 22 Sep 2000 21:39:33 +0000 (21:39 +0000)]
Avoid protocol rollback.

23 years agoOnly use the new informational verify codes if we
Dr. Stephen Henson [Fri, 22 Sep 2000 21:32:08 +0000 (21:32 +0000)]
Only use the new informational verify codes if we
specifically ask for them.

Fix typo in docs.

23 years agoCatch V_ASN1_NULL.
Richard Levitte [Fri, 22 Sep 2000 13:15:16 +0000 (13:15 +0000)]
Catch V_ASN1_NULL.

23 years agoProblem on FreeBSD/Alpha fixed.
Richard Levitte [Fri, 22 Sep 2000 06:15:10 +0000 (06:15 +0000)]
Problem on FreeBSD/Alpha fixed.

23 years agoKris Kennaway <kris@FreeBSD.org> tells us that FreeBSD/Alpha shouldn't
Richard Levitte [Fri, 22 Sep 2000 06:06:25 +0000 (06:06 +0000)]
Kris Kennaway <kris@FreeBSD.org> tells us that FreeBSD/Alpha shouldn't
use an optimization higher than -O.

23 years agoMore reports
Richard Levitte [Thu, 21 Sep 2000 20:49:47 +0000 (20:49 +0000)]
More reports

23 years agoMore reports
Richard Levitte [Thu, 21 Sep 2000 20:09:16 +0000 (20:09 +0000)]
More reports

23 years agoFix ASN1_TYPE bug.
Dr. Stephen Henson [Thu, 21 Sep 2000 18:57:00 +0000 (18:57 +0000)]
Fix ASN1_TYPE bug.

23 years agoMore reports
Richard Levitte [Thu, 21 Sep 2000 17:44:23 +0000 (17:44 +0000)]
More reports

23 years agoChange IMPORTANT to WARNING for greater emphasis.
Richard Levitte [Thu, 21 Sep 2000 17:21:15 +0000 (17:21 +0000)]
Change IMPORTANT to WARNING for greater emphasis.

23 years agoMore reports
Richard Levitte [Thu, 21 Sep 2000 17:11:52 +0000 (17:11 +0000)]
More reports

23 years agoOops, if the target only had USE_TOD, an error message was issued...
Richard Levitte [Thu, 21 Sep 2000 16:01:08 +0000 (16:01 +0000)]
Oops, if the target only had USE_TOD, an error message was issued...

23 years agoUgly hack to make sure static libraries are usable. Without this,
Richard Levitte [Thu, 21 Sep 2000 15:16:20 +0000 (15:16 +0000)]
Ugly hack to make sure static libraries are usable.  Without this,
anything that just links with libeay32.lib or libssl32.lib will get an
error saying the __imp__RegQueryValueEx is unresolved.

The right thing would really be to fix crypto/rand/rand_win.c to load
ADVAPI32.DLL dynamically, but that won't be done just before a
release.