oweals/openssl.git
25 years agoReturn 0 for succesful exit when -noout is used.
Bodo Möller [Tue, 17 Aug 1999 08:33:59 +0000 (08:33 +0000)]
Return 0 for succesful exit when -noout is used.

25 years agoUndo base64 decoding change (was not a bug fix).
Ulf Möller [Sat, 14 Aug 1999 20:49:37 +0000 (20:49 +0000)]
Undo base64 decoding change (was not a bug fix).

25 years agoediting error.
Ulf Möller [Fri, 13 Aug 1999 21:02:25 +0000 (21:02 +0000)]
editing error.

25 years agoHonor $PERL environment variable in Configure.
Ulf Möller [Fri, 13 Aug 1999 20:48:32 +0000 (20:48 +0000)]
Honor $PERL environment variable in Configure.

Submitted by: Even Holen <Even.Holen@itea.ntnu.no>

25 years agoFix faulty base64 decoding of data that was 46 or 47 bytes long.
Ulf Möller [Fri, 13 Aug 1999 19:42:33 +0000 (19:42 +0000)]
Fix faulty base64 decoding of data that was 46 or 47 bytes long.

Submitted by: Ivan Nejgebauer <ian@uns.ns.ac.yu>

25 years agoAdd pkcs7 and des apps to "make all".
Ulf Möller [Fri, 13 Aug 1999 19:21:53 +0000 (19:21 +0000)]
Add pkcs7 and des apps to "make all".

25 years agoCompile pkcs7 and des apps.
Ulf Möller [Fri, 13 Aug 1999 18:04:04 +0000 (18:04 +0000)]
Compile pkcs7 and des apps.

25 years agoDisable the text about foo.h => openssl/foo.h.
Bodo Möller [Thu, 12 Aug 1999 11:31:01 +0000 (11:31 +0000)]
Disable the text about foo.h => openssl/foo.h.
Everyone should have got it by now.

25 years agoRemove -DWINDOWS in debug configuration.
Bodo Möller [Thu, 12 Aug 1999 10:03:05 +0000 (10:03 +0000)]
Remove -DWINDOWS in debug configuration.

Submitted by: Erik Johannisson <erik@johannisson.se>

25 years agoSubmitted by: Lidong Zhou <ldzhou@cs.cornell.edu>
Bodo Möller [Wed, 11 Aug 1999 13:31:03 +0000 (13:31 +0000)]
Submitted by: Lidong Zhou <ldzhou@cs.cornell.edu>

25 years agoAdd functions to allow extensions to be added to certificate requests.
Dr. Stephen Henson [Wed, 11 Aug 1999 13:08:58 +0000 (13:08 +0000)]
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.

25 years agoFix typo.
Bodo Möller [Wed, 11 Aug 1999 08:28:40 +0000 (08:28 +0000)]
Fix typo.

25 years agoUpdates.
Bodo Möller [Tue, 10 Aug 1999 11:36:22 +0000 (11:36 +0000)]
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).

25 years agoSupport for parsing of certificate extensions in PKCS#10 requests: these are
Dr. Stephen Henson [Mon, 9 Aug 1999 22:38:05 +0000 (22:38 +0000)]
Support for parsing of certificate extensions in PKCS#10 requests: these are
used by things like Xenroll. Also include documentation for extendedKeyUsage
extension.

25 years agoBIO_write and BIO_read could, in theory, return -2.
Bodo Möller [Mon, 9 Aug 1999 16:33:34 +0000 (16:33 +0000)]
BIO_write and BIO_read could, in theory, return -2.

25 years ago-crlf option.
Bodo Möller [Mon, 9 Aug 1999 13:01:48 +0000 (13:01 +0000)]
-crlf option.

25 years agoProvide fixed seed for parameter generation to speed up -dhe1024.
Bodo Möller [Mon, 9 Aug 1999 12:59:10 +0000 (12:59 +0000)]
Provide fixed seed for parameter generation to speed up -dhe1024.

25 years agoBump after tarball rolling.
Ralf S. Engelschall [Mon, 9 Aug 1999 11:14:08 +0000 (11:14 +0000)]
Bump after tarball rolling.
Friends, feel free to start again hacking for 0.9.5... ;)

25 years agoBump version to 0.9.4 OpenSSL_0_9_4
Ralf S. Engelschall [Mon, 9 Aug 1999 10:40:38 +0000 (10:40 +0000)]
Bump version to 0.9.4

25 years agoOk, I'll do a few more final platform tests and then I'll roll the 0.9.4
Ralf S. Engelschall [Mon, 9 Aug 1999 10:25:36 +0000 (10:25 +0000)]
Ok, I'll do a few more final platform tests and then I'll roll the 0.9.4
tarball baby for us. PLEASE DO NOT COMMIT ANYTHING UNTIL YOU SEE MY FINAL
COMMITS TO `STATUS' INDICATING THAT WE'VE REACHED 0.9.5-dev.

25 years agoOk, final fix for `config' script to detect all flavors of FreeBSD
Ralf S. Engelschall [Mon, 9 Aug 1999 10:16:51 +0000 (10:16 +0000)]
Ok, final fix for `config' script to detect all flavors of FreeBSD
in a more general way.

25 years agospelling
Bodo Möller [Sun, 8 Aug 1999 22:41:24 +0000 (22:41 +0000)]
spelling

25 years agoInstall libRSAglue.a when OpenSSL is build with RSAref.
Ralf S. Engelschall [Sun, 8 Aug 1999 19:12:26 +0000 (19:12 +0000)]
Install libRSAglue.a when OpenSSL is build with RSAref.
This should now finally make the RSAref users happy...

25 years agoComments.
Bodo Möller [Sun, 8 Aug 1999 14:21:04 +0000 (14:21 +0000)]
Comments.

25 years agoadd comments
Bodo Möller [Sun, 8 Aug 1999 14:07:30 +0000 (14:07 +0000)]
add comments

25 years agomore consistent formatting
Bodo Möller [Sun, 8 Aug 1999 14:06:29 +0000 (14:06 +0000)]
more consistent formatting

25 years ago*** empty log message ***
Dr. Stephen Henson [Sun, 8 Aug 1999 12:51:19 +0000 (12:51 +0000)]
*** empty log message ***

25 years agoBackout the following change:
Ralf S. Engelschall [Sun, 8 Aug 1999 11:56:29 +0000 (11:56 +0000)]
Backout the following change:

| revision 1.109
| date: 1999/06/24 19:39:23;  author: ulf;  state: Exp;  lines: +0 -1
| Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD
| versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.)

Because Ulf overlooked the ELF vs. a.out difference, i.e. the two entries were
_NOT_ identical! This way OpenSSL 0.9.4 at least compiles again under FreeBSD
2 and 3. For 0.9.5-dev I'll try to fix the stuff in a more general way to also
allow FreeBSD 4 and other variants.

25 years ago0.9.4
Bodo Möller [Sun, 8 Aug 1999 11:45:56 +0000 (11:45 +0000)]
0.9.4

25 years agoFix two remaining prototype-related warnings
Ralf S. Engelschall [Sun, 8 Aug 1999 11:25:32 +0000 (11:25 +0000)]
Fix two remaining prototype-related warnings

25 years agoRemove the perl stuff also optically from the build procedure,
Ralf S. Engelschall [Sun, 8 Aug 1999 10:29:52 +0000 (10:29 +0000)]
Remove the perl stuff also optically from the build procedure,
because it could confuse people (which then send us bug reports)...

25 years agoLet us prepare for tomorrow...
Ralf S. Engelschall [Sun, 8 Aug 1999 10:25:50 +0000 (10:25 +0000)]
Let us prepare for tomorrow...

25 years agoI don't think this is a real showstopper. Our internal verify procedure lacks
Ralf S. Engelschall [Sun, 8 Aug 1999 10:19:48 +0000 (10:19 +0000)]
I don't think this is a real showstopper.  Our internal verify procedure lacks
even more and I consider this more a useful feature request than a release
showstopper.

25 years agoA few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
Ralf S. Engelschall [Sun, 8 Aug 1999 10:15:43 +0000 (10:15 +0000)]
A few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
Hint from: Andrija Antonijevic <TheAntony2@bigfoot.com>

25 years agoconsistent style
Ralf S. Engelschall [Sun, 8 Aug 1999 09:39:43 +0000 (09:39 +0000)]
consistent style

25 years agoNew option "-crlf" to s_client and s_server which tells them to convert
Bodo Möller [Sat, 7 Aug 1999 02:51:10 +0000 (02:51 +0000)]
New option "-crlf" to s_client and s_server which tells them to convert
LFs into CRLFs when forwarding data from stdin to the TLS connection.
This is necessary for properly talking HTTP.
Because of the code freeze this change is by default disabled for now;
without -DAPPS_CRLF, the code is exactly as before.

25 years agoadd some more entries for 0.9.4
Bodo Möller [Sat, 7 Aug 1999 02:46:49 +0000 (02:46 +0000)]
add some more entries for 0.9.4

25 years agochange formatting a bit
Bodo Möller [Sat, 7 Aug 1999 02:45:31 +0000 (02:45 +0000)]
change formatting a bit

25 years agoFix -startdate and -enddate arguments to 'ca' program. Also update NEWS file
Dr. Stephen Henson [Fri, 6 Aug 1999 21:47:09 +0000 (21:47 +0000)]
Fix -startdate and -enddate arguments to 'ca' program. Also update NEWS file
with some 0.9.4 changes.

25 years agofix the bug
Bodo Möller [Fri, 6 Aug 1999 12:27:39 +0000 (12:27 +0000)]
fix the bug

25 years agoDont' assume that something starting with '-' is a filename --
Bodo Möller [Fri, 6 Aug 1999 11:18:44 +0000 (11:18 +0000)]
Dont' assume that something starting with '-' is a filename --
"openssl gendsa -help" now prints the usage summary, not error
messages that now file -help was found.

25 years agotypo while I poke around...
Ralf S. Engelschall [Thu, 5 Aug 1999 13:31:42 +0000 (13:31 +0000)]
typo while I poke around...

25 years agoDSA_dup_DH.
Bodo Möller [Thu, 5 Aug 1999 11:53:07 +0000 (11:53 +0000)]
DSA_dup_DH.

25 years agoNew function DSA_dup_DH, and fixes for bugs that were found
Bodo Möller [Thu, 5 Aug 1999 11:50:18 +0000 (11:50 +0000)]
New function DSA_dup_DH, and fixes for bugs that were found
while implementing and using it.

25 years agoAdd a wish.
Bodo Möller [Thu, 5 Aug 1999 00:15:15 +0000 (00:15 +0000)]
Add a wish.

25 years agoChange all the -'s to _'s.
Dr. Stephen Henson [Thu, 5 Aug 1999 00:11:05 +0000 (00:11 +0000)]
Change all the -'s to _'s.

25 years agoConfigure fix for Windows: under Windows+perl "system" ends up going via the
Dr. Stephen Henson [Wed, 4 Aug 1999 22:52:46 +0000 (22:52 +0000)]
Configure fix for Windows: under Windows+perl "system" ends up going via the
command shell which means that redirecttion needs backslashes in the paths.

25 years agoimprove clarity of instructions
Bodo Möller [Tue, 3 Aug 1999 20:19:04 +0000 (20:19 +0000)]
improve clarity of instructions

25 years ago0.9.4 won't be completed in July ...
Bodo Möller [Tue, 3 Aug 1999 12:24:14 +0000 (12:24 +0000)]
0.9.4 won't be completed in July ...

25 years agoMore diagnostics.
Ben Laurie [Tue, 3 Aug 1999 10:19:02 +0000 (10:19 +0000)]
More diagnostics.

25 years agoMake it compile under -pedantic.
Ben Laurie [Tue, 3 Aug 1999 10:18:27 +0000 (10:18 +0000)]
Make it compile under -pedantic.

25 years agocomment
Bodo Möller [Tue, 3 Aug 1999 08:31:13 +0000 (08:31 +0000)]
comment

25 years agoRevert erroneous change.
Bodo Möller [Tue, 3 Aug 1999 06:05:54 +0000 (06:05 +0000)]
Revert erroneous change.

25 years agoautomatically use no-mdc2 if no-des is requested.
Bodo Möller [Mon, 2 Aug 1999 22:13:46 +0000 (22:13 +0000)]
automatically use no-mdc2 if no-des is requested.

25 years agoRevert previous change -- it was an accident.
Bodo Möller [Mon, 2 Aug 1999 21:58:03 +0000 (21:58 +0000)]
Revert previous change -- it was an accident.

25 years agoavoid some NO_<cipher> problems
Bodo Möller [Mon, 2 Aug 1999 21:44:49 +0000 (21:44 +0000)]
avoid some NO_<cipher> problems

25 years agogenerate error message
Bodo Möller [Mon, 2 Aug 1999 21:41:46 +0000 (21:41 +0000)]
generate error message

25 years agofix previous modification -- if ssl->cert is NULL, don't follow the pointer.
Bodo Möller [Mon, 2 Aug 1999 20:09:23 +0000 (20:09 +0000)]
fix previous modification -- if ssl->cert is NULL, don't follow the pointer.

25 years agoavoid cast
Bodo Möller [Mon, 2 Aug 1999 19:55:51 +0000 (19:55 +0000)]
avoid cast

25 years agoThe SSL_CTX's cert structure is not relevant for the SSL
Bodo Möller [Mon, 2 Aug 1999 18:40:36 +0000 (18:40 +0000)]
The SSL_CTX's cert structure is not relevant for the SSL
(because now SSL_new makes a copy).

25 years agoSSL_shutdown was done too early.
Bodo Möller [Sun, 1 Aug 1999 11:19:59 +0000 (11:19 +0000)]
SSL_shutdown was done too early.

25 years agodon't prematurely shut down socket -- use SSL_shutdown
Bodo Möller [Sun, 1 Aug 1999 10:04:37 +0000 (10:04 +0000)]
don't prematurely shut down socket -- use SSL_shutdown

25 years agoExtra i386+gcc bn_div.c tune-up featuring inline division and saving
Andy Polyakov [Sat, 31 Jul 1999 23:27:41 +0000 (23:27 +0000)]
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...

25 years agoby request: let BN_dup(NULL) just return NULL
Bodo Möller [Fri, 30 Jul 1999 19:22:57 +0000 (19:22 +0000)]
by request: let BN_dup(NULL) just return NULL

25 years agoBignum division tune-up. Idea is to move multiplications in front of
Andy Polyakov [Fri, 30 Jul 1999 11:43:43 +0000 (11:43 +0000)]
Bignum division tune-up. Idea is to move multiplications in front of
loop body and replace 'em with addition/subtraction.

25 years agocorrect error signalling for opendir() failure
Bodo Möller [Fri, 30 Jul 1999 10:43:34 +0000 (10:43 +0000)]
correct error signalling for opendir() failure

25 years agoFix to PKCS#12 code to use the cipher block length when allocating a buffer
Dr. Stephen Henson [Fri, 30 Jul 1999 10:11:21 +0000 (10:11 +0000)]
Fix to PKCS#12 code to use the cipher block length when allocating a buffer
for encrypted data, rather than hard coding '8'.

25 years agoAllow the PKCS#7 (S/MIME encrypt) application to support more than one
Dr. Stephen Henson [Fri, 30 Jul 1999 01:12:46 +0000 (01:12 +0000)]
Allow the PKCS#7 (S/MIME encrypt) application to support more than one
recipient.

25 years agoTidy up pkcs12 application.
Dr. Stephen Henson [Thu, 29 Jul 1999 21:50:34 +0000 (21:50 +0000)]
Tidy up pkcs12 application.

25 years agoAvoid path separator problems.
Ulf Möller [Thu, 29 Jul 1999 17:27:29 +0000 (17:27 +0000)]
Avoid path separator problems.

25 years agoNo use in naming the cblock _; the structure still is incompatible
Ulf Möller [Thu, 29 Jul 1999 16:15:48 +0000 (16:15 +0000)]
No use in naming the cblock _; the structure still is incompatible
to Kerberos.

25 years ago*** empty log message ***
Ulf Möller [Thu, 29 Jul 1999 14:43:51 +0000 (14:43 +0000)]
*** empty log message ***

25 years agoobj_dat.h is autogenerated (it was in the CVS because old versions of
Ulf Möller [Thu, 29 Jul 1999 14:10:20 +0000 (14:10 +0000)]
obj_dat.h is autogenerated (it was in the CVS because old versions of
Configure didn't generate the file in Windows builds).

25 years agoAlways use buildinf.h, which now includes the mk1mfinf.h data.
Bodo Möller [Thu, 29 Jul 1999 12:57:23 +0000 (12:57 +0000)]
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.

25 years agoRestore compability with kerberos/des.h (I had deleted some seemingly useless
Ulf Möller [Thu, 29 Jul 1999 00:09:49 +0000 (00:09 +0000)]
Restore compability with kerberos/des.h (I had deleted some seemingly useless
definitions such as C_Block earlier).

25 years agoVMS updates.
Ulf Möller [Wed, 28 Jul 1999 23:25:59 +0000 (23:25 +0000)]
VMS updates.
Submitted by: Richard Levitte <levitte@stacken.kth.se>

25 years agoNew function OBJ_obj2txt()
Dr. Stephen Henson [Tue, 27 Jul 1999 22:22:58 +0000 (22:22 +0000)]
New function OBJ_obj2txt()

25 years agoNew RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.
Dr. Stephen Henson [Tue, 27 Jul 1999 21:58:08 +0000 (21:58 +0000)]
New RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.

25 years agowhen invoking bn_*_comba[48] result->top wasn't always set correctly.
Andy Polyakov [Tue, 27 Jul 1999 09:36:59 +0000 (09:36 +0000)]
when invoking bn_*_comba[48] result->top wasn't always set correctly.

25 years agoclose files.
Bodo Möller [Tue, 27 Jul 1999 09:13:49 +0000 (09:13 +0000)]
close files.

25 years agoUse correct CFLAG definition for makefile.one builds.
Bodo Möller [Tue, 27 Jul 1999 09:10:36 +0000 (09:10 +0000)]
Use correct CFLAG definition for makefile.one builds.

25 years agochange CFLAGS to those given in Configure
Bodo Möller [Mon, 26 Jul 1999 12:59:02 +0000 (12:59 +0000)]
change CFLAGS to those given in Configure

25 years ago-DPLATFORM and -DCFLAGS command line arguments are no longer used.
Bodo Möller [Mon, 26 Jul 1999 11:56:18 +0000 (11:56 +0000)]
-DPLATFORM and -DCFLAGS command line arguments are no longer used.

25 years agosummary of Andy's changes to Configure
Bodo Möller [Sun, 25 Jul 1999 23:41:16 +0000 (23:41 +0000)]
summary of Andy's changes to Configure

25 years agoSPARC Solaris config updates.
Andy Polyakov [Sun, 25 Jul 1999 22:25:12 +0000 (22:25 +0000)]
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!

25 years agoSGI IRIX config updates.
Andy Polyakov [Sun, 25 Jul 1999 20:40:58 +0000 (20:40 +0000)]
SGI IRIX config updates.

25 years agoMinor MD5 tune-up for WIN32 on Intel.
Andy Polyakov [Sun, 25 Jul 1999 15:25:30 +0000 (15:25 +0000)]
Minor MD5 tune-up for WIN32 on Intel.

25 years agoAdded support for SPARC Linux.
Andy Polyakov [Sun, 25 Jul 1999 15:13:49 +0000 (15:13 +0000)]
Added support for SPARC Linux.

25 years agoGNU assembler (read SPARC Linux) support added.
Andy Polyakov [Sun, 25 Jul 1999 14:07:48 +0000 (14:07 +0000)]
GNU assembler (read SPARC Linux) support added.

25 years ago- performance retunes, v8plus bn_*_comba routines are reimplemented;
Andy Polyakov [Sun, 25 Jul 1999 12:34:30 +0000 (12:34 +0000)]
- performance retunes, v8plus bn_*_comba routines are reimplemented;
- support for GNU assembler (read SPARC Linux);

25 years agoFirst cut for a proposed code freeze and release dates (from Steve and me).
Ralf S. Engelschall [Sun, 25 Jul 1999 12:19:02 +0000 (12:19 +0000)]
First cut for a proposed code freeze and release dates (from Steve and me).
All OpenSSL developers: Please feel free to adjust the dates if they still do
not fit into your personal scheduling.

25 years agoDon't include x509.h when we just need asn1.h
Bodo Möller [Sat, 24 Jul 1999 03:09:01 +0000 (03:09 +0000)]
Don't include x509.h when we just need asn1.h

25 years agoRemove obsolete files.
Ulf Möller [Thu, 22 Jul 1999 21:57:41 +0000 (21:57 +0000)]
Remove obsolete files.

25 years agoignore r586unix.cpp
Bodo Möller [Thu, 22 Jul 1999 16:23:54 +0000 (16:23 +0000)]
ignore r586unix.cpp

25 years agodate.h no longer to be deleted by "make clean"
Bodo Möller [Thu, 22 Jul 1999 16:22:11 +0000 (16:22 +0000)]
date.h no longer to be deleted by "make clean"

25 years agoMake the perl module compile and eliminate some of the warnings.
Ulf Möller [Thu, 22 Jul 1999 16:10:31 +0000 (16:10 +0000)]
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??)

25 years agoTorture weak compilers less by not automatically including x509.h where
Bodo Möller [Wed, 21 Jul 1999 22:10:23 +0000 (22:10 +0000)]
Torture weak compilers less by not automatically including x509.h where
it is not needed.

25 years agoadditional argument for key_callback
Bodo Möller [Wed, 21 Jul 1999 22:07:35 +0000 (22:07 +0000)]
additional argument for key_callback

25 years agoAdditional user data argument to pem_password_cb function type
Bodo Möller [Wed, 21 Jul 1999 20:57:16 +0000 (20:57 +0000)]
Additional user data argument to pem_password_cb function type
and to lots of PEM_... functions.
Submitted by: Damien Miller <dmiller@ilogic.com.au>

25 years agoavoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
Bodo Möller [Wed, 21 Jul 1999 20:49:15 +0000 (20:49 +0000)]
avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
use new file buildinf.h instead.