History log of /openbsd-current/lib/libcrypto/bio/bio_cb.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.19 05-Jul-2023 beck

Hide symbols in asn1 and bio

ok jsing@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.18 07-Jan-2022 tb

Add a new, mostly empty, bio_local.h and include it in the files
that will need it in the upcoming bump.

discussed with jsing


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.17 25-Mar-2021 tb

Avoid mangled output in BIO_debug_callback

Instead of blindly skipping 14 characters, we can use the return
value of snprintf() to determine how much we should skip.

From Martin Vahlensieck with minor tweaks by me


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.16 08-Dec-2014 bcook

Use platform-defined method of printing a pointer.

Casting a pointer to an unsigned long discards bits on an LLP64 system.

ok deraadt@


# 1.15 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.14 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.13 29-May-2014 beck

Any sane platform has stdio. Stop pretending we will ever use a platform
that does not.
"fire bomb" tedu@


# 1.12 19-Apr-2014 guenther

We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later

ok deraadt@


# 1.11 16-Apr-2014 tedu

> As I walk through the valley of the shadow of death
> I take a look at my life and realize there's nothin' left
> Cause I've been blasting and laughing so long,
> That even my mama thinks that my mind is gone
Remove even more unspeakable evil being perpetuated in the name of VMS.
(and lesser evils done in the name of others.)
ok miod


# 1.10 16-Apr-2014 jsing

More KNF.


# 1.9 15-Apr-2014 jsing

First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.


# 1.8 15-Apr-2014 beck

Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf.
ok deraadt@


# 1.7 13-Apr-2014 beck

Remove some stuff that isn't needed.
ok miod@ deraadt@


# 1.6 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.5 08-Apr-2004 markus

merge 0.9.7d


# 1.4 06-Apr-2003 ho

sprintf->snprintf. deraadt@ suggestions and ok


# 1.3 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.2 29-Sep-1999 beck

OpenSSL 0.9.4 merge


# 1.1 05-Oct-1998 ryker

branches: 1.1.1;
Initial revision


# 1.18 07-Jan-2022 tb

Add a new, mostly empty, bio_local.h and include it in the files
that will need it in the upcoming bump.

discussed with jsing


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.17 25-Mar-2021 tb

Avoid mangled output in BIO_debug_callback

Instead of blindly skipping 14 characters, we can use the return
value of snprintf() to determine how much we should skip.

From Martin Vahlensieck with minor tweaks by me


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.16 08-Dec-2014 bcook

Use platform-defined method of printing a pointer.

Casting a pointer to an unsigned long discards bits on an LLP64 system.

ok deraadt@


# 1.15 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.14 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.13 29-May-2014 beck

Any sane platform has stdio. Stop pretending we will ever use a platform
that does not.
"fire bomb" tedu@


# 1.12 19-Apr-2014 guenther

We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later

ok deraadt@


# 1.11 16-Apr-2014 tedu

> As I walk through the valley of the shadow of death
> I take a look at my life and realize there's nothin' left
> Cause I've been blasting and laughing so long,
> That even my mama thinks that my mind is gone
Remove even more unspeakable evil being perpetuated in the name of VMS.
(and lesser evils done in the name of others.)
ok miod


# 1.10 16-Apr-2014 jsing

More KNF.


# 1.9 15-Apr-2014 jsing

First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.


# 1.8 15-Apr-2014 beck

Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf.
ok deraadt@


# 1.7 13-Apr-2014 beck

Remove some stuff that isn't needed.
ok miod@ deraadt@


# 1.6 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.5 08-Apr-2004 markus

merge 0.9.7d


# 1.4 06-Apr-2003 ho

sprintf->snprintf. deraadt@ suggestions and ok


# 1.3 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.2 29-Sep-1999 beck

OpenSSL 0.9.4 merge


# 1.1 05-Oct-1998 ryker

branches: 1.1.1;
Initial revision


# 1.17 25-Mar-2021 tb

Avoid mangled output in BIO_debug_callback

Instead of blindly skipping 14 characters, we can use the return
value of snprintf() to determine how much we should skip.

From Martin Vahlensieck with minor tweaks by me


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.16 08-Dec-2014 bcook

Use platform-defined method of printing a pointer.

Casting a pointer to an unsigned long discards bits on an LLP64 system.

ok deraadt@


# 1.15 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.14 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.13 29-May-2014 beck

Any sane platform has stdio. Stop pretending we will ever use a platform
that does not.
"fire bomb" tedu@


# 1.12 19-Apr-2014 guenther

We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later

ok deraadt@


# 1.11 16-Apr-2014 tedu

> As I walk through the valley of the shadow of death
> I take a look at my life and realize there's nothin' left
> Cause I've been blasting and laughing so long,
> That even my mama thinks that my mind is gone
Remove even more unspeakable evil being perpetuated in the name of VMS.
(and lesser evils done in the name of others.)
ok miod


# 1.10 16-Apr-2014 jsing

More KNF.


# 1.9 15-Apr-2014 jsing

First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.


# 1.8 15-Apr-2014 beck

Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf.
ok deraadt@


# 1.7 13-Apr-2014 beck

Remove some stuff that isn't needed.
ok miod@ deraadt@


# 1.6 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.5 08-Apr-2004 markus

merge 0.9.7d


# 1.4 06-Apr-2003 ho

sprintf->snprintf. deraadt@ suggestions and ok


# 1.3 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.2 29-Sep-1999 beck

OpenSSL 0.9.4 merge


# 1.1 05-Oct-1998 ryker

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.16 08-Dec-2014 bcook

Use platform-defined method of printing a pointer.

Casting a pointer to an unsigned long discards bits on an LLP64 system.

ok deraadt@


# 1.15 11-Jul-2014 jsing

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@


# 1.14 12-Jun-2014 deraadt

tags as requested by miod and tedu


# 1.13 29-May-2014 beck

Any sane platform has stdio. Stop pretending we will ever use a platform
that does not.
"fire bomb" tedu@


# 1.12 19-Apr-2014 guenther

We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later

ok deraadt@


# 1.11 16-Apr-2014 tedu

> As I walk through the valley of the shadow of death
> I take a look at my life and realize there's nothin' left
> Cause I've been blasting and laughing so long,
> That even my mama thinks that my mind is gone
Remove even more unspeakable evil being perpetuated in the name of VMS.
(and lesser evils done in the name of others.)
ok miod


# 1.10 16-Apr-2014 jsing

More KNF.


# 1.9 15-Apr-2014 jsing

First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.


# 1.8 15-Apr-2014 beck

Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf.
ok deraadt@


# 1.7 13-Apr-2014 beck

Remove some stuff that isn't needed.
ok miod@ deraadt@


# 1.6 01-Oct-2010 djm

resolve conflicts, fix local changes


# 1.5 08-Apr-2004 markus

merge 0.9.7d


# 1.4 06-Apr-2003 ho

sprintf->snprintf. deraadt@ suggestions and ok


# 1.3 15-May-2002 beck

OpenSSL 0.9.7 stable 2002 05 08 merge


# 1.2 29-Sep-1999 beck

OpenSSL 0.9.4 merge


# 1.1 05-Oct-1998 ryker

branches: 1.1.1;
Initial revision