On Sat, May 15, 2021 at 05:05:26AM +0100, Philip Wyett wrote:
>...
> --- libstorj-1.0.3/debian/libstorj0.symbols   2018-12-30 17:48:58.000000000 
> +0000
> +++ libstorj-1.0.3/debian/libstorj0.symbols   2021-05-15 04:38:45.000000000 
> +0100
> @@ -28,7 +28,6 @@
>   mnemonic_generate_indexes@Base 1.0.2
>   mnemonic_to_seed@Base 1.0.2
>   mnemonic_wordlist@Base 1.0.2
> - pbkdf2_hmac_sha512@Base 1.0.2
>   print_int_array@Base 1.0.2
>   put_shard@Base 1.0.2
>   random_buffer@Base 1.0.2
>...

This is an ABI break from the version in buster.

Correct would be instead something like (untested):

Removal from the header is fine, but libstorj-dev should get a runtime 
dependency on new enough nettle-dev (not the one in buster).

In src/crypto.c, instead of
  #ifndef pbkdf2_hmac_sha512
do an
  #undef pbkdf2_hmac_sha512
This would still build the function into the library for legacy users 
compiled against the buster version of the library.

cu
Adrian

Reply via email to