chiark / gitweb /
algorithms.c, knock-on: Eliminate `f_freeme' flags.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 9 Nov 2018 12:22:16 +0000 (12:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Nov 2018 01:30:59 +0000 (01:30 +0000)
commitc41d03718b8dc50076405c3d0f3136cfaa1cb21b
treefb8d6b31aa71bb4b0cde0e2bddb98bb2d5c9bc4a
parent0e5c668c75eb9f7bb4394bf69fe96c760308df58
algorithms.c, knock-on: Eliminate `f_freeme' flags.

These were being carefully set and checked on ciphers, hashes, and MACs,
for no good reason because the flag was always set.  Abolish it.

The flag still exists for `grand' objects because they get injected into
Python through the `pgen' event-handling machinery, and Python mustn't
destroy them just because it loses its reference.  (It also mustn't try
to hang onto them, so there's a longstanding bug in there.)
algorithms.c
catacomb-python.h
pubkey.c