ABI breakage in 2.10.4 --> 2.11.6?

Andreas Metzler ametzler at downhill.at.eu.org
Thu Feb 17 20:00:09 CET 2011


Hello,

I think the the ABI in 2.11.6 was changed relative to 2.10.
Considering the recent discussion on list I guess this was not done
intentionally.

--- gnutls-2.10.4/lib/includes/gnutls/crypto.h  2010-08-01 22:37:50.000000000 +0
200
+++ gnutls-2.11.6/lib/includes/gnutls/crypto.h  2010-12-06 17:28:51.000000000 +0
100
[...]
@@ -85,17 +91,22 @@ typedef struct
 typedef struct
 {
   int (*init) (gnutls_mac_algorithm_t, void **ctx);
   int (*setkey) (void *ctx, const void *key, size_t keysize);
   int (*hash) (void *ctx, const void *text, size_t textsize);
-  int (*copy) (void **dst_ctx, void *src_ctx);
   int (*output) (void *src_ctx, void *digest, size_t digestsize);
   void (*deinit) (void *ctx);
 } gnutls_crypto_mac_st;

A member of a public struct was deleted, changing the size of the struct.

cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Gnutls-devel mailing list