]> granicus.if.org Git - openssl/log
openssl
23 years agoFor the sake of DOS and Windows, provide a different way to get a
Richard Levitte [Sun, 27 Jan 2002 17:13:35 +0000 (17:13 +0000)]
For the sake of DOS and Windows, provide a different way to get a
pid_t.

23 years agoMerge in the latest changes from the 0.9.6-stable branch.
Richard Levitte [Sat, 26 Jan 2002 01:18:50 +0000 (01:18 +0000)]
Merge in the latest changes from the 0.9.6-stable branch.

23 years agoApply a change by Toomas Kiisk <vix@cyber.ee>:
Richard Levitte [Fri, 25 Jan 2002 19:28:32 +0000 (19:28 +0000)]
Apply a change by Toomas Kiisk <vix@cyber.ee>:

* Fix a crashbug and a logic bug in hwcrhk_load_pubkey()

23 years agoApply a change by Toomas Kiisk <vix@cyber.ee>:
Richard Levitte [Fri, 25 Jan 2002 17:46:34 +0000 (17:46 +0000)]
Apply a change by Toomas Kiisk <vix@cyber.ee>:

* Fix a crashbug and a logic bug in hwcrhk_load_pubkey()

23 years agoStatus update
Richard Levitte [Fri, 21 Dec 2001 03:23:29 +0000 (03:23 +0000)]
Status update

23 years agoThe release has been tagged, so let's move on to 0.9.6d, which we hope will never...
Richard Levitte [Fri, 21 Dec 2001 02:27:44 +0000 (02:27 +0000)]
The release has been tagged, so let's move on to 0.9.6d, which we hope will never be released.

23 years agoTime to release 0.9.6c [engine]. The tag will be OpenSSL-engine-0_9_6c
Richard Levitte [Fri, 21 Dec 2001 01:57:16 +0000 (01:57 +0000)]
Time to release 0.9.6c [engine].  The tag will be OpenSSL-engine-0_9_6c

23 years agoAnd just for the sake of completeness, let's add some standard macros...
Richard Levitte [Fri, 21 Dec 2001 01:13:01 +0000 (01:13 +0000)]
And just for the sake of completeness, let's add some standard macros...

23 years agoBetter use the same number in all branches, to avoid confusion
Richard Levitte [Fri, 21 Dec 2001 01:09:34 +0000 (01:09 +0000)]
Better use the same number in all branches, to avoid confusion

23 years agoreally make update, this time...
Richard Levitte [Thu, 20 Dec 2001 22:59:14 +0000 (22:59 +0000)]
really make update, this time...

23 years agomake update
Richard Levitte [Thu, 20 Dec 2001 22:41:45 +0000 (22:41 +0000)]
make update

23 years agoDo not forget to compile comp_err.c
Richard Levitte [Thu, 20 Dec 2001 22:11:05 +0000 (22:11 +0000)]
Do not forget to compile comp_err.c

23 years agoAnother merge from the 0.9.6 branch.
Richard Levitte [Thu, 20 Dec 2001 16:53:55 +0000 (16:53 +0000)]
Another merge from the 0.9.6 branch.

23 years agoAnother merge from the 0.9.6 branch.
Richard Levitte [Thu, 20 Dec 2001 10:17:22 +0000 (10:17 +0000)]
Another merge from the 0.9.6 branch.

23 years agomerge from the 0.9.6 branch.
Richard Levitte [Thu, 20 Dec 2001 09:43:59 +0000 (09:43 +0000)]
merge from the 0.9.6 branch.

23 years agoMake the type of hConnection consistent.
Richard Levitte [Tue, 11 Dec 2001 07:40:51 +0000 (07:40 +0000)]
Make the type of hConnection consistent.

23 years agoProblem:
Richard Levitte [Tue, 11 Dec 2001 07:37:40 +0000 (07:37 +0000)]
Problem:
1. some platforms do not have inttypes.h, and chasing them down
   becomes ridiculous.  Therefore, uint64_t can't be used for 64-bit
   values.
2. some (other) platforms do not support "long long".

Solution: make AEP_U64 a struct with two longs unless long already is
64 bit long.

Also, restore all other types back to use unsigned char, unsigned int
and unsigned long.  Make sure that AEP_U32 actually becomes 32 bits,
even on platforms where long is 64 bits (actually, we're just guessing
that int will stay at 32 bits on those...).

23 years agoMerge in latest changes from 0.9.6-stable.
Richard Levitte [Wed, 28 Nov 2001 07:53:13 +0000 (07:53 +0000)]
Merge in latest changes from 0.9.6-stable.

23 years agoThis looks to have been a typo.
Geoff Thorpe [Sat, 24 Nov 2001 03:57:57 +0000 (03:57 +0000)]
This looks to have been a typo.

23 years agomerge (new stuff from OpenSSL-0_9_6-stable)
Bodo Möller [Fri, 23 Nov 2001 21:14:00 +0000 (21:14 +0000)]
merge (new stuff from OpenSSL-0_9_6-stable)

23 years agofixes submitted by Andy Schneider <andy.schneider@bjss.co.uk>
Bodo Möller [Fri, 23 Nov 2001 20:56:27 +0000 (20:56 +0000)]
fixes submitted by Andy Schneider <andy.schneider@bjss.co.uk>

23 years agoFix unexpected difference between the 0.9.6 and the 0.9.6 [engine]
Richard Levitte [Wed, 21 Nov 2001 14:05:30 +0000 (14:05 +0000)]
Fix unexpected difference between the 0.9.6 and the 0.9.6 [engine]
branches.

23 years agomerge changes from the 0.9.6 branch.
Richard Levitte [Wed, 21 Nov 2001 14:02:49 +0000 (14:02 +0000)]
merge changes from the 0.9.6 branch.

23 years agointtypes.h apparently doesn't exist with VC++. Therefore, use the
Richard Levitte [Wed, 21 Nov 2001 13:26:57 +0000 (13:26 +0000)]
inttypes.h apparently doesn't exist with VC++.  Therefore, use the
built-in types __int8, __int16 and so on on that platform.

23 years agoSquash a VC++ warning.
Geoff Thorpe [Wed, 21 Nov 2001 03:49:51 +0000 (03:49 +0000)]
Squash a VC++ warning.

23 years agoTesting on WIN32 turned up a faulty default value.
Geoff Thorpe [Tue, 20 Nov 2001 05:19:20 +0000 (05:19 +0000)]
Testing on WIN32 turned up a faulty default value.

23 years agoExtentions of the explanations to the linking problem on Win32. Provided by Andrew...
Richard Levitte [Mon, 19 Nov 2001 20:47:02 +0000 (20:47 +0000)]
Extentions of the explanations to the linking problem on Win32.  Provided by Andrew Gray <agray@iconsinc.com>

23 years agounsigned long long is not accepted anywhere, especially on certain
Richard Levitte [Sat, 17 Nov 2001 23:01:25 +0000 (23:01 +0000)]
unsigned long long is not accepted anywhere, especially on certain
32-bit platforms.  Instead, make use of inttypes.h and use the types
defined there to get 8-, 16-, 32- an 64-bit values.

There might be some operating systems where one should use int_types.h
instead of inttypes.h.  Unfortunately, I don't recall which one(s).

23 years agoNote the new engine
Geoff Thorpe [Sat, 17 Nov 2001 05:45:20 +0000 (05:45 +0000)]
Note the new engine

23 years agoAnother ENGINE that's been working in 0.9.6-engine for a while that will
Geoff Thorpe [Sat, 17 Nov 2001 05:29:25 +0000 (05:29 +0000)]
Another ENGINE that's been working in 0.9.6-engine for a while that will
be included for 0.9.6c-engine.

23 years agoUse memset() instead of bzero().
Richard Levitte [Fri, 16 Nov 2001 23:31:07 +0000 (23:31 +0000)]
Use memset() instead of bzero().

23 years agounsigned char * vs. char *
Richard Levitte [Fri, 16 Nov 2001 23:28:45 +0000 (23:28 +0000)]
unsigned char * vs. char *

23 years agoLet's not forget the latest engines on VMS (at least see if they
Richard Levitte [Fri, 16 Nov 2001 17:57:27 +0000 (17:57 +0000)]
Let's not forget the latest engines on VMS (at least see if they
compile properly).

23 years agoMerge in latest changes from 0.9.6-stable.
Richard Levitte [Thu, 15 Nov 2001 13:33:08 +0000 (13:33 +0000)]
Merge in latest changes from 0.9.6-stable.
make update
perl util/mkerr.pl -recurse -write -rebuild

(now, just look at the effect that last thing had on the ENGINE error
strings!  How did that unbalance between macros and strings happen?)

23 years agoMerg in latest changes from 0.9.6-stable.
Richard Levitte [Thu, 15 Nov 2001 08:15:05 +0000 (08:15 +0000)]
Merg in latest changes from 0.9.6-stable.

23 years ago"sureware" should not be "hwcrhk".
Geoff Thorpe [Thu, 15 Nov 2001 02:51:01 +0000 (02:51 +0000)]
"sureware" should not be "hwcrhk".

Also, the "to" variable used in cleanup is never non-NULL and is entirely
unused. As such, the cleanup might have been missed under genuine error
conditions and caused leaks and/or returned invalid pointers.

23 years agoENGINE support has not been put into dsaparam, so these declarations seem
Geoff Thorpe [Thu, 15 Nov 2001 01:58:32 +0000 (01:58 +0000)]
ENGINE support has not been put into dsaparam, so these declarations seem
to be pointless.

23 years agofix warning (due to an error during manual conflict resolution)
Bodo Möller [Tue, 13 Nov 2001 10:19:54 +0000 (10:19 +0000)]
fix warning (due to an error during manual conflict resolution)

23 years agoMerge from OpenSSL_0_9_6-stable
Bodo Möller [Tue, 13 Nov 2001 10:12:25 +0000 (10:12 +0000)]
Merge from OpenSSL_0_9_6-stable

23 years agosynchronise with main 0.9.6 stable branch
Bodo Möller [Mon, 12 Nov 2001 22:42:40 +0000 (22:42 +0000)]
synchronise with main 0.9.6 stable branch

23 years agoBack-port of Broadcom engine code from 0.9.7 to 0.9.6, but with a few
Mark J. Cox [Mon, 12 Nov 2001 20:28:09 +0000 (20:28 +0000)]
Back-port of Broadcom engine code from 0.9.7 to 0.9.6, but with a few
patches taken from Red Hat Linux 7.2.  Original code from Broadcom with
patches and backport by Nalin, more backport to fix warnings and const
changes by Mark
Submitted by: Mark Cox
Reviewed by:
PR:

23 years agoAdd initial support for Baltimore SureWare accelerator cards; this works
Mark J. Cox [Mon, 12 Nov 2001 15:21:55 +0000 (15:21 +0000)]
Add initial support for Baltimore SureWare accelerator cards; this works
for acceleration only at the moment, but full key management is being
worked on for the future.  This code has been compiled cross-platform but
not extensively tested
Submitted by: Mark Cox, Baltimore Technologies
Reviewed by: Mark Cox
PR:

23 years agoCommit missing AEP files (oops)
Mark J. Cox [Mon, 12 Nov 2001 12:11:06 +0000 (12:11 +0000)]
Commit missing AEP files (oops)
Submitted by:
Reviewed by:
PR:

23 years agoAdd support for AEP crypto cards to 0.9.6c. This patch is in Red Hat Linux
Mark J. Cox [Mon, 12 Nov 2001 11:17:19 +0000 (11:17 +0000)]
Add support for AEP crypto cards to 0.9.6c.  This patch is in Red Hat Linux
7.2 and been given extensive testing; it also compiles okay on our selection
of random machines (including 64-bit)
Submitted by: AEP, Mark Cox
Reviewed by: Mark Cox
PR:

23 years agoThis commit was manufactured by cvs2svn to create branch 'OpenSSL-engine-
cvs2svn [Sat, 10 Nov 2001 02:12:57 +0000 (02:12 +0000)]
This commit was manufactured by cvs2svn to create branch 'OpenSSL-engine-
0_9_6-stable'.

23 years agoremove incorrect 'callback' prototype
Bodo Möller [Sat, 10 Nov 2001 02:12:56 +0000 (02:12 +0000)]
remove incorrect 'callback' prototype

23 years agomsg_callback documentation
Bodo Möller [Sat, 10 Nov 2001 02:12:09 +0000 (02:12 +0000)]
msg_callback documentation

23 years agomore output for SSL 2.0 in our msg_callback
Bodo Möller [Sat, 10 Nov 2001 01:17:02 +0000 (01:17 +0000)]
more output for SSL 2.0 in our msg_callback

23 years agoImplement msg_callback for SSL 2.0.
Bodo Möller [Sat, 10 Nov 2001 01:16:28 +0000 (01:16 +0000)]
Implement msg_callback for SSL 2.0.

Important SSL 2.0 bugfixes (bugs found while implementing msg_callback).

23 years ago2001, not 2000
Bodo Möller [Fri, 9 Nov 2001 13:15:05 +0000 (13:15 +0000)]
2001, not 2000

23 years agoadjust to OpenSSL_0_9_6-stable version
Bodo Möller [Fri, 9 Nov 2001 13:09:11 +0000 (13:09 +0000)]
adjust to OpenSSL_0_9_6-stable version

23 years agocast to 'unsigned long' before using ~ if we need an unsigned long result
Bodo Möller [Fri, 9 Nov 2001 12:58:05 +0000 (12:58 +0000)]
cast to 'unsigned long' before using ~ if we need an unsigned long result

Submitted by: "Stefan Marxen" <stefan.marxen@gmx.net>

23 years agoclarify
Bodo Möller [Thu, 8 Nov 2001 14:54:21 +0000 (14:54 +0000)]
clarify

23 years agoDon't define _REENTRANT here in e_os.h. On systems where we need
Bodo Möller [Thu, 8 Nov 2001 14:32:06 +0000 (14:32 +0000)]
Don't define _REENTRANT here in e_os.h.  On systems where we need
_REENTRANT if threads support is enabled, the ./Configure entry must
define it so that it ends up in CFLAG.

23 years agoPKCS#12 code fixes: initialize and cleanup digests and ciphers
Dr. Stephen Henson [Tue, 6 Nov 2001 13:54:48 +0000 (13:54 +0000)]
PKCS#12 code fixes: initialize and cleanup digests and ciphers
properly.

23 years agoWin32 fixes.
Dr. Stephen Henson [Tue, 6 Nov 2001 13:40:27 +0000 (13:40 +0000)]
Win32 fixes.

23 years agodes_old.h doesn't really need to include des.h, so don't. That will
Richard Levitte [Tue, 6 Nov 2001 11:37:14 +0000 (11:37 +0000)]
des_old.h doesn't really need to include des.h, so don't.  That will
avoid clashes with other code that have their own DES_ functions but
really only use OpenSSL's old des_ functions.

23 years agoFix email address delete code.
Dr. Stephen Henson [Tue, 6 Nov 2001 01:44:21 +0000 (01:44 +0000)]
Fix email address delete code.

23 years agoPlace the OpenSSL-specific headers back so they always get included,
Richard Levitte [Mon, 5 Nov 2001 18:18:12 +0000 (18:18 +0000)]
Place the OpenSSL-specific headers back so they always get included,
or we get a dependency war in Makefile.ssl

23 years agoNo need to include anything on systems that do not have /dev/crypt
Richard Levitte [Mon, 5 Nov 2001 12:44:14 +0000 (12:44 +0000)]
No need to include anything on systems that do not have /dev/crypt

23 years agoDOS and Windows do not like unistd.h
Richard Levitte [Mon, 5 Nov 2001 12:43:17 +0000 (12:43 +0000)]
DOS and Windows do not like unistd.h

23 years agoIf verify fails, say why.
Ben Laurie [Fri, 2 Nov 2001 13:29:14 +0000 (13:29 +0000)]
If verify fails, say why.

23 years agoChange the shared library support so the shared libraries get built
Richard Levitte [Tue, 30 Oct 2001 08:00:59 +0000 (08:00 +0000)]
Change the shared library support so the shared libraries get built
sooner and the programs get built against the shared libraries.

This requires a bit more work.  Things like -rpath and the possibility
to still link the programs statically should be included.  Some
cleanup is also needed.  This will be worked on.

23 years agoAddapt VMS scripts to the newer disk layout system ODS-5, which allows more than...
Richard Levitte [Mon, 29 Oct 2001 13:05:28 +0000 (13:05 +0000)]
Addapt VMS scripts to the newer disk layout system ODS-5, which allows more than one period and mixed size characters in file names

23 years agoAnother noemailDN fix.
Dr. Stephen Henson [Sat, 27 Oct 2001 17:53:06 +0000 (17:53 +0000)]
Another noemailDN fix.

23 years agoAllow ca to certify requests containing BMPStrings and UTF8Strings.
Dr. Stephen Henson [Sat, 27 Oct 2001 17:04:47 +0000 (17:04 +0000)]
Allow ca to certify requests containing BMPStrings and UTF8Strings.

23 years agoBugfixes for noemailDN option. Make it use the
Dr. Stephen Henson [Sat, 27 Oct 2001 17:03:20 +0000 (17:03 +0000)]
Bugfixes for noemailDN option. Make it use the
correct name (instead of NULL) if nomailDN is
not set, fix memory leaks and retain DN structure
when deleting emailAddress.

23 years agoStop compiler warnings.
Dr. Stephen Henson [Sat, 27 Oct 2001 00:18:04 +0000 (00:18 +0000)]
Stop compiler warnings.

23 years agoAdd support for Subject Info Acess extension.
Dr. Stephen Henson [Sat, 27 Oct 2001 00:16:53 +0000 (00:16 +0000)]
Add support for Subject Info Acess extension.

23 years agoNote BUF_MEM_grow() consistency fix.
Bodo Möller [Fri, 26 Oct 2001 14:06:33 +0000 (14:06 +0000)]
Note BUF_MEM_grow() consistency fix.

23 years agoConsistency fix in BUF_MEM_grow: Initialise to zero when new memory
Bodo Möller [Fri, 26 Oct 2001 13:12:25 +0000 (13:12 +0000)]
Consistency fix in BUF_MEM_grow: Initialise to zero when new memory
had to be allocated, not just when reusing the existing buffer.

23 years agodisable caching in BIO_gethostbyname
Bodo Möller [Fri, 26 Oct 2001 13:04:23 +0000 (13:04 +0000)]
disable caching in BIO_gethostbyname

23 years agoNew options to allow req to accept UTF8 strings as input.
Dr. Stephen Henson [Fri, 26 Oct 2001 12:40:38 +0000 (12:40 +0000)]
New options to allow req to accept UTF8 strings as input.

23 years agoremove compatibility notes that no longer apply
Ulf Möller [Thu, 25 Oct 2001 17:45:25 +0000 (17:45 +0000)]
remove compatibility notes that no longer apply

23 years agoCorrect some links...
Richard Levitte [Thu, 25 Oct 2001 16:56:06 +0000 (16:56 +0000)]
Correct some links...

23 years agoChange the DES documentation to reflect the current status. Note that
Richard Levitte [Thu, 25 Oct 2001 16:55:17 +0000 (16:55 +0000)]
Change the DES documentation to reflect the current status.  Note that
some password reading functions are really part of the UI
compatibility library...

23 years agoMake sure openssl speed is compilable on systems where fork() doesn't
Richard Levitte [Thu, 25 Oct 2001 16:08:17 +0000 (16:08 +0000)]
Make sure openssl speed is compilable on systems where fork() doesn't
exist.  For now, that's all the ones we "support" except Unix.

23 years agoAdd paralellism to speed - note that this currently causes a weird memory leak.
Ben Laurie [Thu, 25 Oct 2001 14:27:17 +0000 (14:27 +0000)]
Add paralellism to speed - note that this currently causes a weird memory leak.

23 years agoFix warning.
Ben Laurie [Thu, 25 Oct 2001 14:24:59 +0000 (14:24 +0000)]
Fix warning.

23 years agoLike MD_Init, MD now must include a NULL engine pointer in its definition.
Bodo Möller [Thu, 25 Oct 2001 08:53:54 +0000 (08:53 +0000)]
Like MD_Init, MD now must include a NULL engine pointer in its definition.

23 years agoremove redundant definitions that are also in des.h
Bodo Möller [Thu, 25 Oct 2001 08:46:10 +0000 (08:46 +0000)]
remove redundant definitions that are also in des.h

23 years agomention des_old.h
Bodo Möller [Thu, 25 Oct 2001 08:44:10 +0000 (08:44 +0000)]
mention des_old.h

23 years agoAdd '-noemailDN' option to 'openssl ca'. This prevents inclusion of
Bodo Möller [Thu, 25 Oct 2001 08:25:19 +0000 (08:25 +0000)]
Add '-noemailDN' option to 'openssl ca'.  This prevents inclusion of
the e-mail address in the DN (i.e., it will go into a certificate
extension only).  The new configuration file option 'email_in_dn = no'
has the same effect.

Submitted by: Massimiliano Pala madwolf@openca.org

23 years agofilenames are des_old.[ch], not des.comp*
Bodo Möller [Thu, 25 Oct 2001 08:23:13 +0000 (08:23 +0000)]
filenames are des_old.[ch], not des.comp*

23 years agoConsistency with s2_... and s23_... variants (no real functional
Bodo Möller [Thu, 25 Oct 2001 08:17:53 +0000 (08:17 +0000)]
Consistency with s2_... and s23_... variants (no real functional
change)

23 years agoRemove DES_random_seed() but retain des_random_seed() for now. Change
Richard Levitte [Thu, 25 Oct 2001 06:46:22 +0000 (06:46 +0000)]
Remove DES_random_seed() but retain des_random_seed() for now.  Change
the docs to reflect this change and correct libeay.num.

23 years agoAssume TLS 1.0 when ClientHello fragment is too short.
Bodo Möller [Thu, 25 Oct 2001 06:09:51 +0000 (06:09 +0000)]
Assume TLS 1.0 when ClientHello fragment is too short.

23 years agoHave the removal warnings very high up in the source.
Richard Levitte [Thu, 25 Oct 2001 05:37:10 +0000 (05:37 +0000)]
Have the removal warnings very high up in the source.

23 years agoA C file is a C file is a C file!
Richard Levitte [Wed, 24 Oct 2001 21:31:14 +0000 (21:31 +0000)]
A C file is a C file is a C file!

23 years agoDue to an increasing number of clashes between modern OpenSSL and
Richard Levitte [Wed, 24 Oct 2001 21:21:12 +0000 (21:21 +0000)]
Due to an increasing number of clashes between modern OpenSSL and
libdes (which is still used out there) or other des implementations,
the OpenSSL DES functions are renamed to begin with DES_ instead of
des_.  Compatibility routines are provided and declared by including
openssl/des_old.h.  Those declarations are the same as were in des.h
when the OpenSSL project started, which is exactly how libdes looked
at that time, and hopefully still looks today.

The compatibility functions will be removed in some future release, at
the latest in version 1.0.

23 years agoFix SSL handshake functions and SSL_clear() such that SSL_clear()
Bodo Möller [Wed, 24 Oct 2001 19:03:22 +0000 (19:03 +0000)]
Fix SSL handshake functions and SSL_clear() such that SSL_clear()
never resets s->method to s->ctx->method when called from within
one of the SSL handshake functions.

23 years agoDeprecate the macro MAC_OS_pre_X.
Richard Levitte [Wed, 24 Oct 2001 15:32:53 +0000 (15:32 +0000)]
Deprecate the macro MAC_OS_pre_X.

23 years agomake update
Richard Levitte [Wed, 24 Oct 2001 15:32:14 +0000 (15:32 +0000)]
make update

23 years agomake update
Richard Levitte [Wed, 24 Oct 2001 08:27:22 +0000 (08:27 +0000)]
make update

23 years agoCorrection of the id-pda OID's.
Richard Levitte [Tue, 23 Oct 2001 14:30:57 +0000 (14:30 +0000)]
Correction of the id-pda OID's.
Submitted by Frederic.Giudicelli@INTRINsec.com

23 years agoSanitize CHANGES entry.
Dr. Stephen Henson [Tue, 23 Oct 2001 00:54:58 +0000 (00:54 +0000)]
Sanitize CHANGES entry.

23 years agoFix memory leak.
Bodo Möller [Mon, 22 Oct 2001 13:59:36 +0000 (13:59 +0000)]
Fix memory leak.

23 years agoReject certificates with unhandled critical extensions.
Dr. Stephen Henson [Sun, 21 Oct 2001 02:09:15 +0000 (02:09 +0000)]
Reject certificates with unhandled critical extensions.

23 years agoStop spurious "unable to load config info" errors in req
Dr. Stephen Henson [Sun, 21 Oct 2001 01:05:53 +0000 (01:05 +0000)]
Stop spurious "unable to load config info" errors in req

23 years agoCall msg_callback with correct length parameter if ssl3_write_bytes had to
Bodo Möller [Sat, 20 Oct 2001 18:56:01 +0000 (18:56 +0000)]
Call msg_callback with correct length parameter if ssl3_write_bytes had to
be called multiple times