History log of /openbsd/lib/libcrypto/asn1/tasn_fre.c (Results 1 – 23 of 23)
Revision Date Author Comments
# c9ae38aa 28-Jul-2023 tb <tb@openbsd.org>

Make ASN1_{primitive,template}_* internal

These were long removed from the public OpenSSL API, so we can do the
same. Remove ASN1_template_{d2i,i2d}() - those are unused internally.

ok jsing


# acf64401 05-Jul-2023 beck <beck@openbsd.org>

Hide symbols in asn1 and bio

ok jsing@


# c9675a23 26-Nov-2022 tb <tb@openbsd.org>

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_l

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.

discussed with jsing,
no objection bcook

show more ...


# 35c1d792 12-May-2022 jsing <jsing@openbsd.org>

Rename asn1_enc_free() to asn1_enc_cleanup().

This function does not actually free an ASN1_ENCODING, which are embedded
in a struct.

Name suggested by tb@


# 5a79a2ab 10-May-2022 jsing <jsing@openbsd.org>

Remove ASN.1 combining.

This was an option used to combine ASN.1 into a single structure, which was
only ever used by DSAPublicKey and X509_ATTRIBUTE. Since they no longer use
it we can mop this up

Remove ASN.1 combining.

This was an option used to combine ASN.1 into a single structure, which was
only ever used by DSAPublicKey and X509_ATTRIBUTE. Since they no longer use
it we can mop this up and simplify all of the related code.

ok tb@

show more ...


# 4b3400b0 07-Jan-2022 tb <tb@openbsd.org>

A few more files need asn1_locl.h.


# ded91594 01-Apr-2019 jsing <jsing@openbsd.org>

Require all ASN1_PRIMITIVE_FUNCS functions to be provided.

If an ASN.1 item provides its own ASN1_PRIMITIVE_FUNCS functions, require
all functions to be provided (currently excluding prim_clear). Th

Require all ASN1_PRIMITIVE_FUNCS functions to be provided.

If an ASN.1 item provides its own ASN1_PRIMITIVE_FUNCS functions, require
all functions to be provided (currently excluding prim_clear). This avoids
situations such as having a custom allocator that returns a specific struct
but then is then printed using the default primative print functions, which
interpret the memory as a different struct.

Found by oss-fuzz, fixes issue #13799.

ok beck@, tb@

show more ...


# 3119b836 06-Apr-2018 bluhm <bluhm@openbsd.org>

Revert revision 1.12 commit. Although *pval looks like a C pointer,
it may be something else. For primitive types it is possible that
a boolean int has been casted to an ASN1_VALUE pointer. Then t

Revert revision 1.12 commit. Although *pval looks like a C pointer,
it may be something else. For primitive types it is possible that
a boolean int has been casted to an ASN1_VALUE pointer. Then the
64 bit read access to *pval may crash due to alignent or 32 bit
size.
bug report Anton Borowka; OK tedu@ jsing@ miod@

show more ...


# b2b2c403 30-Dec-2016 jsing <jsing@openbsd.org>

Expand ASN1_ITEM_rptr and ASN1_ITEM_ptr macros - no change in generated
assembly.


# 4f242a39 14-Feb-2015 miod <miod@openbsd.org>

Remove IMPLEMENT_COMPAT_ASN1() and related support code. Nothing uses it in
libcrypto/libssl, and nothing seems to use it in the wild, apart from embedded
copies of OpenSSL.
ok jsing@


# 13615f9c 14-Feb-2015 jsing <jsing@openbsd.org>

Spell NULL correctly, be explicit with NULL checks and it is also easier to
initialise during declaration and drop the else statement.

ok doug@ miod@


# a2230efb 10-Jul-2014 tedu <tedu@openbsd.org>

make asn1 free safe to call with null pointers of any type.
ok jsing miod


# c3d6a26a 12-Jun-2014 deraadt <deraadt@openbsd.org>

tags as requested by miod and tedu


# ab6f8336 23-Apr-2014 miod <miod@openbsd.org>

Remove duplicate pointer assignment in ASN1_primitive_free(); Dirk Engling


# 04a37b9b 18-Apr-2014 jsing <jsing@openbsd.org>

More KNF.


# cc777fd4 18-Apr-2014 tedu <tedu@openbsd.org>

lob a few more knf grenades in here to soften things up.


# 93a4b0e0 18-Apr-2014 tedu <tedu@openbsd.org>

putting most of the braces in the right column is the very least we can do.


# 6f3a6cb1 17-Apr-2014 beck <beck@openbsd.org>

Change library to use intrinsic memory allocation functions instead of
OPENSSL_foo wrappers. This changes:
OPENSSL_malloc->malloc
OPENSSL_free->free
OPENSSL_relloc->realloc
OPENSSL_freeFunc->free


# 0a5d6ede 01-Oct-2010 djm <djm@openbsd.org>

resolve conflicts, fix local changes


# e6841c1d 09-Jan-2009 djm <djm@openbsd.org>

resolve conflicts


# 4fcf65c5 06-Sep-2008 djm <djm@openbsd.org>

resolve conflicts


# 3a5f3d0e 11-May-2003 markus <markus@openbsd.org>

import 0.9.7b (without idea and rc5)


# da347917 15-May-2002 beck <beck@openbsd.org>

OpenSSL 0.9.7 stable 2002 05 08 merge