]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/serializer/deserializer_lib.c
DESERIALIZER: Refactor the constructor setting API
authorRichard Levitte <levitte@openssl.org>
Mon, 27 Jul 2020 19:51:44 +0000 (21:51 +0200)
committerPauli <paul.dale@oracle.com>
Sat, 1 Aug 2020 01:51:20 +0000 (11:51 +1000)
commit3c033c5bfed214b02c0f041239d1cb8a4e27fd82
tree44b1c0c4c3dee36c6077dcdd7f894881a193cb91
parent319d0b2be96539f10628c98f37306655fd158f61
DESERIALIZER: Refactor the constructor setting API

It's not the best idea to set a whole bunch of parameters in one call,
that leads to functions that are hard to update.  Better to re-model
this into several function made to set one parameter each.

This also renames "finalizer" to "constructor", which was suggested
earlier but got lost at the time.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12544)
crypto/serializer/deserializer_lib.c
crypto/serializer/deserializer_meth.c
crypto/serializer/deserializer_pkey.c
crypto/serializer/serializer_local.h
doc/man3/OSSL_DESERIALIZER_from_bio.pod
include/openssl/deserializer.h
util/libcrypto.num
util/other.syms