> On 30 Nov 2020, at 14:13, Michael Paquier <mich...@paquier.xyz> wrote: > On Mon, Nov 30, 2020 at 01:43:24PM +0100, Daniel Gustafsson wrote:
>> Since the cryptohash support is now generalized behind an abstraction layer, >> wouldn't it make sense to roll the resource ownership there as well kind of >> like how JIT is handled? It would make it easier to implement TLS backend >> support, and we won't have to inject OpenSSL headers here. > > So, you are referring here about using a new API in the abstraction > layer. This makes sense. What about naming that > pg_cryptohash_context_free(void *)? Yeah, that's along the lines of what I was thinking of. cheers ./daniel