oweals/openssl.git
21 years agoExplicitely tell the compiler we're mips3 for the target irix-mips3-cc.
Richard Levitte [Thu, 10 Apr 2003 05:46:55 +0000 (05:46 +0000)]
Explicitely tell the compiler we're mips3 for the target irix-mips3-cc.

21 years agoOnly call redirected rsa_sign or rsa_verify if the pointer is set.
Dr. Stephen Henson [Thu, 10 Apr 2003 01:13:37 +0000 (01:13 +0000)]
Only call redirected rsa_sign or rsa_verify if the pointer is set.

This allows, for example, a smart card to redirect rsa_sign and keep
the default rsa_verify.

21 years agoTypo.
Dr. Stephen Henson [Thu, 10 Apr 2003 00:03:22 +0000 (00:03 +0000)]
Typo.

21 years agoDont forget req.
Richard Levitte [Wed, 9 Apr 2003 06:50:39 +0000 (06:50 +0000)]
Dont forget req.

21 years agoTypo
Richard Levitte [Wed, 9 Apr 2003 05:25:22 +0000 (05:25 +0000)]
Typo

21 years agoSet LD_LIBRARY_PATH when linking, since OpenUnix' ld uses it to create
Richard Levitte [Tue, 8 Apr 2003 11:54:32 +0000 (11:54 +0000)]
Set LD_LIBRARY_PATH when linking, since OpenUnix' ld uses it to create
a library search path.

Correct typos.

21 years agoInclude rand.h, so RAND_status() and friends get properly declared.
Richard Levitte [Tue, 8 Apr 2003 11:07:13 +0000 (11:07 +0000)]
Include rand.h, so RAND_status() and friends get properly declared.

21 years agoFix ordering of compare functions: strncmp() must be used first, as it
Lutz Jänicke [Tue, 8 Apr 2003 06:28:34 +0000 (06:28 +0000)]
Fix ordering of compare functions: strncmp() must be used first, as it
the cipher name in the list is not guaranteed to be at least "buflen"
long.
PR: 567
Submitted by: "Matt Harren" <matth@cs.berkeley.edu>

21 years agoWe seem to carry some rests of the 0.9.6 [engine] ENGINE framework, here in
Richard Levitte [Tue, 8 Apr 2003 06:02:00 +0000 (06:02 +0000)]
We seem to carry some rests of the 0.9.6 [engine] ENGINE framework, here in
form of unneeded direct calls through the engine pointer..

21 years agoWe seem to carry some rests of the 0.9.6 [engine] ENGINE framework in form
Richard Levitte [Tue, 8 Apr 2003 06:00:17 +0000 (06:00 +0000)]
We seem to carry some rests of the 0.9.6 [engine] ENGINE framework in form
of unneeded includes of openssl/engine.h.

21 years agoRSA_FLAG_SIGN_VER indicates the special rsa_sign and rsa_verify function
Richard Levitte [Mon, 7 Apr 2003 19:15:29 +0000 (19:15 +0000)]
RSA_FLAG_SIGN_VER indicates the special rsa_sign and rsa_verify function
pointers should be used.  It doesn't necessarely mean it should go through
the ENGINE framework.

21 years agoDo not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.
Richard Levitte [Sat, 5 Apr 2003 21:21:29 +0000 (21:21 +0000)]
Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.
PR: 564

21 years agomake update
Richard Levitte [Fri, 4 Apr 2003 14:41:40 +0000 (14:41 +0000)]
make update

21 years agoTransfer the changes to detect multiline comments and the GCC
Richard Levitte [Fri, 4 Apr 2003 14:21:04 +0000 (14:21 +0000)]
Transfer the changes to detect multiline comments and the GCC
extension __attribute__.

21 years agoMake %p and %# work properly, at least with pointers and floats.
Richard Levitte [Thu, 3 Apr 2003 23:35:16 +0000 (23:35 +0000)]
Make %p and %# work properly, at least with pointers and floats.

21 years agoIt's recommended to use req rather than x509 to create self-signed certificates
Richard Levitte [Thu, 3 Apr 2003 22:12:50 +0000 (22:12 +0000)]
It's recommended to use req rather than x509 to create self-signed certificates

21 years agoTypo correction
Richard Levitte [Thu, 3 Apr 2003 21:55:57 +0000 (21:55 +0000)]
Typo correction

21 years agoReset the version number of the issuer certificate? I believe this
Richard Levitte [Thu, 3 Apr 2003 18:50:48 +0000 (18:50 +0000)]
Reset the version number of the issuer certificate?  I believe this
hasn't been tested in a long while...

21 years agomake RSA blinding thread-safe
Bodo Möller [Wed, 2 Apr 2003 09:50:55 +0000 (09:50 +0000)]
make RSA blinding thread-safe

21 years agoIt seems like gcc-drivven shared library building on OpenUnix 8 requires
Richard Levitte [Tue, 1 Apr 2003 10:59:40 +0000 (10:59 +0000)]
It seems like gcc-drivven shared library building on OpenUnix 8 requires
-shared rather than -G.

21 years agoNo need to test -setalias twice.
Richard Levitte [Mon, 31 Mar 2003 13:56:55 +0000 (13:56 +0000)]
No need to test -setalias twice.
PR: 556

21 years agoDon't feil when indent is 0.
Richard Levitte [Mon, 31 Mar 2003 13:24:04 +0000 (13:24 +0000)]
Don't feil when indent is 0.
PR: 559

21 years agoAdd usage string for -fingerprint.
Richard Levitte [Mon, 31 Mar 2003 13:06:27 +0000 (13:06 +0000)]
Add usage string for -fingerprint.
PR: 560

21 years agoOpenUNIX 8 has some problems using -G with gcc. Maybe using gnu-shared works better...
Richard Levitte [Fri, 28 Mar 2003 08:57:09 +0000 (08:57 +0000)]
OpenUNIX 8 has some problems using -G with gcc.  Maybe using gnu-shared works better (will be tested tonight).

21 years agoAdd warning about unwanted side effect when calling SSL_CTX_free():
Lutz Jänicke [Thu, 27 Mar 2003 22:03:11 +0000 (22:03 +0000)]
Add warning about unwanted side effect when calling SSL_CTX_free():
sessions in the external session cache might be removed.
Submitted by: "Nadav Har'El" <nyh@math.technion.ac.il>

PR: 547

21 years agoUpdate ocsp usage message and docs.
Dr. Stephen Henson [Wed, 26 Mar 2003 00:47:07 +0000 (00:47 +0000)]
Update ocsp usage message and docs.

21 years agoLet's limit the extent of the definition of _XOPEN_SOURCE.
Richard Levitte [Tue, 25 Mar 2003 21:17:31 +0000 (21:17 +0000)]
Let's limit the extent of the definition of _XOPEN_SOURCE.

21 years agoMissed a few dollars.
Richard Levitte [Tue, 25 Mar 2003 20:56:10 +0000 (20:56 +0000)]
Missed a few dollars.
PR: 528

21 years agoGet X509_V_FLAG_CRL_CHECK_ALL logic the right way round.
Dr. Stephen Henson [Mon, 24 Mar 2003 16:58:01 +0000 (16:58 +0000)]
Get X509_V_FLAG_CRL_CHECK_ALL logic the right way round.
PR:544

21 years agoGet X509_V_FLAG_CRL_CHECK_ALL logic the right way round.
Dr. Stephen Henson [Mon, 24 Mar 2003 16:57:08 +0000 (16:57 +0000)]
Get X509_V_FLAG_CRL_CHECK_ALL logic the right way round.
PR:544

21 years agoAdd SCO5 shared library scripts.
Lutz Jänicke [Sun, 23 Mar 2003 10:16:04 +0000 (10:16 +0000)]
Add SCO5 shared library scripts.
Upate SVR5 scripts for the upcoming 0.9.7b.
Submitted by: Boyd Lynn Gerber <gerberb@zenez.com>

21 years agoAdd documentation for -starttls (s_client) and -id_prefix (s_server).
Richard Levitte [Thu, 20 Mar 2003 16:34:29 +0000 (16:34 +0000)]
Add documentation for -starttls (s_client) and -id_prefix (s_server).
PR: 542

21 years agoSome shells (ksh in this case) don't say 'command not found'.
Richard Levitte [Thu, 20 Mar 2003 11:44:31 +0000 (11:44 +0000)]
Some shells (ksh in this case) don't say 'command not found'.
PR: 540

21 years agoSpelling errors.
Richard Levitte [Thu, 20 Mar 2003 11:42:01 +0000 (11:42 +0000)]
Spelling errors.
PR: 538

21 years agoMake sure that all the library paths are modified in prepend mode, not
Richard Levitte [Thu, 20 Mar 2003 11:37:55 +0000 (11:37 +0000)]
Make sure that all the library paths are modified in prepend mode, not
replace mode.
PR: 528

21 years agohinv may generate more than one line (1 line per CPU).
Richard Levitte [Thu, 20 Mar 2003 11:15:16 +0000 (11:15 +0000)]
hinv may generate more than one line (1 line per CPU).
PR: 520

21 years agoShut up an ANSI compiler about uninitialised variables.
Richard Levitte [Thu, 20 Mar 2003 10:57:12 +0000 (10:57 +0000)]
Shut up an ANSI compiler about uninitialised variables.
PR: 517

21 years agoAdd the target linux-ia64-ecc, suggested by Keith Thompson <kst@sdsc.edu>.
Richard Levitte [Thu, 20 Mar 2003 10:50:40 +0000 (10:50 +0000)]
Add the target linux-ia64-ecc, suggested by Keith Thompson <kst@sdsc.edu>.
PR: 516

21 years agocountermeasure against new Klima-Pokorny-Rosa atack
Bodo Möller [Wed, 19 Mar 2003 19:19:58 +0000 (19:19 +0000)]
countermeasure against new Klima-Pokorny-Rosa atack

21 years agomake sure RSA blinding works when the PRNG is not properly seeded;
Bodo Möller [Wed, 19 Mar 2003 18:58:55 +0000 (18:58 +0000)]
make sure RSA blinding works when the PRNG is not properly seeded;
enable it automatically only for the built-in engine

21 years agoFix Certificate and CRL adding in X509_load_cert_crl_file:
Dr. Stephen Henson [Wed, 19 Mar 2003 13:56:32 +0000 (13:56 +0000)]
Fix Certificate and CRL adding in X509_load_cert_crl_file:
an X509_INFO structure can contain more than one object,
for example a certififcate and a CRL.

21 years agofix formatting
Bodo Möller [Tue, 18 Mar 2003 12:50:21 +0000 (12:50 +0000)]
fix formatting

21 years agoTurn on RSA blinding by default.
Ben Laurie [Tue, 18 Mar 2003 12:12:10 +0000 (12:12 +0000)]
Turn on RSA blinding by default.

21 years agoFix for no-ec on Windows.
Dr. Stephen Henson [Sat, 15 Mar 2003 01:29:18 +0000 (01:29 +0000)]
Fix for no-ec on Windows.

21 years agoDon't give an error if response reason absent in OCSP HTTP.
Dr. Stephen Henson [Fri, 14 Mar 2003 23:37:17 +0000 (23:37 +0000)]
Don't give an error if response reason absent in OCSP HTTP.

21 years agoAdd entry for domainComponent so it is treated correctly.
Dr. Stephen Henson [Fri, 14 Mar 2003 01:45:44 +0000 (01:45 +0000)]
Add entry for domainComponent so it is treated correctly.

Add table order test to end of a_strnid.c

21 years agoGet the PEDANTIC stuff right this time...
Dr. Stephen Henson [Thu, 13 Mar 2003 21:26:31 +0000 (21:26 +0000)]
Get the PEDANTIC stuff right this time...

21 years agoFix a bone-head bug. This warrants a CHANGES entry because it could affect
Geoff Thorpe [Thu, 13 Mar 2003 20:23:19 +0000 (20:23 +0000)]
Fix a bone-head bug. This warrants a CHANGES entry because it could affect
applications if they were passing a bogus 'flags' parameter yet having
things work as they wanted anyway.

21 years agoReturn an error if gmtime returns NULL.
Dr. Stephen Henson [Thu, 13 Mar 2003 14:10:11 +0000 (14:10 +0000)]
Return an error if gmtime returns NULL.

21 years agoAvoid warnings for no-engine and PEDANTIC
Dr. Stephen Henson [Wed, 12 Mar 2003 02:38:35 +0000 (02:38 +0000)]
Avoid warnings for no-engine and PEDANTIC

21 years agoFixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE.
Dr. Stephen Henson [Wed, 12 Mar 2003 02:31:12 +0000 (02:31 +0000)]
Fixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE.

21 years agomemset problem has been handled
Bodo Möller [Fri, 28 Feb 2003 15:16:30 +0000 (15:16 +0000)]
memset problem has been handled

PR: 343

21 years agoEncryption BIOs misbehave when used with non blocking I/O.
Dr. Stephen Henson [Thu, 27 Feb 2003 14:08:44 +0000 (14:08 +0000)]
Encryption BIOs misbehave when used with non blocking I/O.

Two fixes:

1. If BIO_write() fails inside enc_write() it should return the
   total number of bytes successfully written.

2. If BIO_write() fails during BIO_flush() it should return immediately
   with the error code: previously it would fall through to the final
   encrypt, corrupting the buffer.

21 years agoTypo.
Dr. Stephen Henson [Thu, 27 Feb 2003 13:03:27 +0000 (13:03 +0000)]
Typo.

21 years agoyear 2003
Bodo Möller [Mon, 24 Feb 2003 17:16:32 +0000 (17:16 +0000)]
year 2003

21 years agoget rid of a bad character
Ulf Möller [Sat, 22 Feb 2003 23:13:55 +0000 (23:13 +0000)]
get rid of a bad character

21 years agoAdd instructions for building the MinGW target in Cygwin, and
Ulf Möller [Sat, 22 Feb 2003 23:00:25 +0000 (23:00 +0000)]
Add instructions for building the MinGW target in Cygwin, and
rearrange some of the other text for better readability.

21 years agoreplace symlink with copy, as in head
Ulf Möller [Sat, 22 Feb 2003 22:59:01 +0000 (22:59 +0000)]
replace symlink with copy, as in head

21 years agomingw related cleanups, as in head
Ulf Möller [Sat, 22 Feb 2003 18:02:46 +0000 (18:02 +0000)]
mingw related cleanups, as in head

21 years agoRemove duplication and have clean depend on libclean
Richard Levitte [Sat, 22 Feb 2003 15:04:06 +0000 (15:04 +0000)]
Remove duplication and have clean depend on libclean

21 years agomingw related changes as in head
Ulf Möller [Sat, 22 Feb 2003 01:25:37 +0000 (01:25 +0000)]
mingw related changes as in head

21 years agoLet's move on to development of 0.9.7b.
Richard Levitte [Wed, 19 Feb 2003 12:55:39 +0000 (12:55 +0000)]
Let's move on to development of 0.9.7b.

21 years agoTime to release 0.9.7a. OpenSSL_0_9_7a
Richard Levitte [Wed, 19 Feb 2003 12:33:55 +0000 (12:33 +0000)]
Time to release 0.9.7a.
The tag will be OpenSSL_0_9_7a.

21 years agoSecurity fix: Vaudenay timing attack on CBC.
Richard Levitte [Wed, 19 Feb 2003 12:04:16 +0000 (12:04 +0000)]
Security fix: Vaudenay timing attack on CBC.
An advisory will be posted to the web.  Expect a release within the hour.

21 years agoMake sure the memory allocation routines check for negative sizes
Richard Levitte [Wed, 19 Feb 2003 11:54:57 +0000 (11:54 +0000)]
Make sure the memory allocation routines check for negative sizes

21 years agoBorland C++ Builder 5 complains about unreachable statements.
Richard Levitte [Wed, 19 Feb 2003 11:22:18 +0000 (11:22 +0000)]
Borland C++ Builder 5 complains about unreachable statements.

21 years agoMake the no-err option work properly
Richard Levitte [Tue, 18 Feb 2003 12:15:13 +0000 (12:15 +0000)]
Make the no-err option work properly

21 years agoRemove "+Olibcalls" option from HPUX targets.
Bodo Möller [Sun, 16 Feb 2003 20:10:26 +0000 (20:10 +0000)]
Remove "+Olibcalls" option from HPUX targets.

Reportedly this option is deprecated, and on some systems
"make test" fails if it is included.

PR: 495

21 years agomask old error codes so that mkerr.pl does not re-add them
Bodo Möller [Fri, 14 Feb 2003 14:43:31 +0000 (14:43 +0000)]
mask old error codes so that mkerr.pl does not re-add them

21 years agomake update
Bodo Möller [Fri, 14 Feb 2003 14:40:04 +0000 (14:40 +0000)]
make update

21 years agoAdd support for IA64.
Richard Levitte [Fri, 14 Feb 2003 13:30:43 +0000 (13:30 +0000)]
Add support for IA64.
PR: 454

21 years agoHandle krb5 libraries separately and make sure only libssl.so depends
Richard Levitte [Fri, 14 Feb 2003 13:11:44 +0000 (13:11 +0000)]
Handle krb5 libraries separately and make sure only libssl.so depends
on it.

21 years agoUpdate linux-mips and linux-mipsel to support threads and shared libraries.
Richard Levitte [Fri, 14 Feb 2003 08:56:25 +0000 (08:56 +0000)]
Update linux-mips and linux-mipsel to support threads and shared libraries.
I also updated the bn_ops field with values taken from OpenBSD-mips.
PR: 498

21 years agoPay attention to disabled SSL versions.
Richard Levitte [Fri, 14 Feb 2003 05:24:25 +0000 (05:24 +0000)]
Pay attention to disabled SSL versions.
PR: 500

21 years agoChange no_rmd160 to no_ripemd for consistency.
Richard Levitte [Fri, 14 Feb 2003 05:20:28 +0000 (05:20 +0000)]
Change no_rmd160 to no_ripemd for consistency.
PR: 500

21 years agoMake it possible to disable OCSP, the speed application, and the use of sockets.
Richard Levitte [Fri, 14 Feb 2003 01:03:06 +0000 (01:03 +0000)]
Make it possible to disable OCSP, the speed application, and the use of sockets.
PR: 358

21 years agoOh, the destest program did look at the return value...
Richard Levitte [Thu, 13 Feb 2003 08:53:43 +0000 (08:53 +0000)]
Oh, the destest program did look at the return value...

21 years agoAdjust DES_cbc_cksum() so the returned value is the same as MIT's
Richard Levitte [Wed, 12 Feb 2003 17:20:50 +0000 (17:20 +0000)]
Adjust DES_cbc_cksum() so the returned value is the same as MIT's
mit_des_cbc_cksum().  The difference was first observed, then verified by
looking at the MIT source.

21 years agoOption to disable auto SSL chain building.
Dr. Stephen Henson [Wed, 12 Feb 2003 17:05:17 +0000 (17:05 +0000)]
Option to disable auto SSL chain building.

21 years agocomments
Bodo Möller [Wed, 12 Feb 2003 14:17:38 +0000 (14:17 +0000)]
comments

21 years agoPKCS#1 has a new RFC, which we do implement
Richard Levitte [Thu, 6 Feb 2003 19:30:14 +0000 (19:30 +0000)]
PKCS#1 has a new RFC, which we do implement

21 years agoadditional sanity checks for arguments to EC_POINTs_mul()
Bodo Möller [Thu, 6 Feb 2003 18:07:23 +0000 (18:07 +0000)]
additional sanity checks for arguments to EC_POINTs_mul()

21 years agoEC_GROUP_get_extra_data() should not set an error when it returns NULL.
Bodo Möller [Thu, 6 Feb 2003 18:00:20 +0000 (18:00 +0000)]
EC_GROUP_get_extra_data() should not set an error when it returns NULL.
(NB: this is not an API change because this internal function is unused
in 0.9.7.  0.9.8-dev will use it, and will contain a similar change).

21 years agotypo in WIN16 section
Bodo Möller [Wed, 5 Feb 2003 16:50:50 +0000 (16:50 +0000)]
typo in WIN16 section

Submitted by: Toni Andjelkovic <toni@soth.at>

21 years agoSSL_add_dir_cert_subjects_to_stack now exists for WIN32
Bodo Möller [Wed, 5 Feb 2003 16:37:17 +0000 (16:37 +0000)]
SSL_add_dir_cert_subjects_to_stack now exists for WIN32

21 years agotypo
Bodo Möller [Tue, 4 Feb 2003 12:57:37 +0000 (12:57 +0000)]
typo

21 years agoUpdate PRNG entry:
Bodo Möller [Tue, 4 Feb 2003 12:26:48 +0000 (12:26 +0000)]
Update PRNG entry:
- OpenSSL version differences
- Sun /dev/urandom patch information

21 years agoWe can't say in advance what the argument to BIO_socket_ioctl() should be, so
Richard Levitte [Fri, 31 Jan 2003 12:20:41 +0000 (12:20 +0000)]
We can't say in advance what the argument to BIO_socket_ioctl() should be, so
let's make that a void *.  Also, BIO_socket_nbio() should send it an int
argument, not a long.
PR: 457

21 years agoDocument -engine where missing.
Richard Levitte [Thu, 30 Jan 2003 22:02:31 +0000 (22:02 +0000)]
Document -engine where missing.
PR: 424

21 years agoA few small bugs with BIO popping.
Richard Levitte [Thu, 30 Jan 2003 21:49:16 +0000 (21:49 +0000)]
A few small bugs with BIO popping.
PR: 364

21 years agoThe util scripts need to handled no-hw.
Richard Levitte [Thu, 30 Jan 2003 20:03:48 +0000 (20:03 +0000)]
The util scripts need to handled no-hw.
PR: 327

21 years agoThe MASM situation is more difficult than described so far. It is part of VC++ 7.
Richard Levitte [Thu, 30 Jan 2003 19:05:27 +0000 (19:05 +0000)]
The MASM situation is more difficult than described so far.  It is part of VC++ 7.
PR: 327

21 years agoFor VC++7 and up, the file is VSVARS32.BAT.
Richard Levitte [Thu, 30 Jan 2003 19:01:59 +0000 (19:01 +0000)]
For VC++7 and up, the file is VSVARS32.BAT.
PR: 327

21 years agoThe OPENSSL_NO_ENGINE has small problem: it changes certain structures. That's
Richard Levitte [Thu, 30 Jan 2003 18:52:52 +0000 (18:52 +0000)]
The OPENSSL_NO_ENGINE has small problem: it changes certain structures.  That's
bad, so let's not check OPENSSL_NO_ENGINE in those places.  Fortunately, all
the header files where the problem existed include ossl_typ.h, which makes
a 'forward declaration' of the ENGINE type.

21 years agomake update
Richard Levitte [Thu, 30 Jan 2003 17:58:25 +0000 (17:58 +0000)]
make update

21 years agoAdd the possibility to build without the ENGINE framework.
Richard Levitte [Thu, 30 Jan 2003 17:37:49 +0000 (17:37 +0000)]
Add the possibility to build without the ENGINE framework.
PR: 287

21 years agoSmall typo, OENSSL should really be spelled OPENSSL.
Richard Levitte [Thu, 30 Jan 2003 11:08:47 +0000 (11:08 +0000)]
Small typo, OENSSL should really be spelled OPENSSL.
PR: 476

21 years agoFix a memory leak in SSL.
Richard Levitte [Thu, 30 Jan 2003 11:00:37 +0000 (11:00 +0000)]
Fix a memory leak in SSL.
PR: 477

21 years agocert_sk isn't always allocated, so freeing it may cause a crash.
Richard Levitte [Thu, 30 Jan 2003 10:27:47 +0000 (10:27 +0000)]
cert_sk isn't always allocated, so freeing it may cause a crash.
PR: 481

21 years agoDVCS (see RFC 3029) was missing among the possible purposes.
Richard Levitte [Wed, 29 Jan 2003 15:06:38 +0000 (15:06 +0000)]
DVCS (see RFC 3029) was missing among the possible purposes.
Notified privately to me by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>,
one of the authors of said RFC