ladybird/Userland/Libraries/LibCrypto
Nicholas-Baron c4ede38542 Everything: Add -Wnon-virtual-dtor flag
This flag warns on classes which have `virtual` functions but do not
have a `virtual` destructor.

This patch adds both the flag and missing destructors. The access level
of the destructors was determined by a two rules of thumb:
1. A destructor should have a similar or lower access level to that of a
   constructor.
2. Having a `private` destructor implicitly deletes the default
   constructor, which is probably undesirable for "interface" types
   (classes with only virtual functions and no data).

In short, most of the added destructors are `protected`, unless the
compiler complained about access.
2021-04-15 20:57:13 +02:00
..
ASN1 LibCrypto: Fail with overflow when bitfield has too many unused bits 2021-03-08 08:32:07 +01:00
Authentication Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
BigInt LibCrypto: Avoid overly big allocs in intermediate ModularPower results 2021-04-03 11:22:01 +02:00
Checksum Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
Cipher Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
Hash Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
NumberTheory LibCrypto: Avoid overly big allocs in intermediate ModularPower results 2021-04-03 11:22:01 +02:00
PK Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
CMakeLists.txt LibCrypto: Make a better ASN.1 parser 2021-02-14 13:30:10 +01:00
Verification.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00