Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bctoolbox for openSUSE:Factory checked in at 2022-10-17 14:58:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bctoolbox (Old) and /work/SRC/openSUSE:Factory/.bctoolbox.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bctoolbox" Mon Oct 17 14:58:12 2022 rev:37 rq:1012000 version:5.1.64 Changes: -------- --- /work/SRC/openSUSE:Factory/bctoolbox/bctoolbox.changes 2022-08-18 16:49:12.297451178 +0200 +++ /work/SRC/openSUSE:Factory/.bctoolbox.new.2275/bctoolbox.changes 2022-10-17 14:58:13.082152453 +0200 @@ -1,0 +2,5 @@ +Mon Oct 17 07:08:31 UTC 2022 - Paolo Stivanin <[email protected]> + +- Update to 5.1.64 (no changelog). + +------------------------------------------------------------------- Old: ---- bctoolbox-5.1.45.tar.bz2 New: ---- bctoolbox-5.1.64.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bctoolbox.spec ++++++ --- /var/tmp/diff_new_pack.rKXD14/_old 2022-10-17 14:58:13.850153928 +0200 +++ /var/tmp/diff_new_pack.rKXD14/_new 2022-10-17 14:58:13.854153936 +0200 @@ -18,7 +18,7 @@ %define sover 1 Name: bctoolbox -Version: 5.1.45 +Version: 5.1.64 Release: 0 Summary: Utility library for software from Belledonne Communications License: GPL-3.0-only @@ -30,13 +30,13 @@ Patch0: bctoolbox-fix-pkgconfig.patch Patch1: gcc9-stringop-bogus-warning.patch BuildRequires: bcunit-devel >= 3.0.2+git.20191119 +BuildRequires: chrpath BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: mbedtls-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(bcunit) BuildRequires: pkgconfig(zlib) -BuildRequires: chrpath %description Utilities library used by Belledonne Communications softwares like ++++++ bctoolbox-5.1.45.tar.bz2 -> bctoolbox-5.1.64.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bctoolbox-5.1.45/src/crypto/ecc.cc new/bctoolbox-5.1.64/src/crypto/ecc.cc --- old/bctoolbox-5.1.45/src/crypto/ecc.cc 2022-05-27 21:35:26.000000000 +0200 +++ new/bctoolbox-5.1.64/src/crypto/ecc.cc 2022-07-20 16:17:23.000000000 +0200 @@ -348,14 +348,20 @@ switch (context->algo) { case BCTBX_EDDSA_25519: if (*signatureLength>=DECAF_EDDSA_25519_SIGNATURE_BYTES) { /* check the buffer is large enough to hold the signature */ - decaf_ed25519_sign ( signature, context->secretKey, context->publicKey, message, messageLength, 0, associatedData, associatedDataLength); + decaf_eddsa_25519_keypair_t keypair; + decaf_ed25519_derive_keypair(keypair, context->secretKey); + decaf_ed25519_keypair_sign ( signature, keypair, message, messageLength, 0, associatedData, associatedDataLength); + decaf_ed25519_keypair_destroy(keypair); *signatureLength=DECAF_EDDSA_25519_SIGNATURE_BYTES; return; } break; case BCTBX_EDDSA_448: if (*signatureLength>=DECAF_EDDSA_448_SIGNATURE_BYTES) { /* check the buffer is large enough to hold the signature */ - decaf_ed448_sign ( signature, context->secretKey, context->publicKey, message, messageLength, 0, associatedData, associatedDataLength); + decaf_eddsa_448_keypair_t keypair; + decaf_ed448_derive_keypair(keypair, context->secretKey); + decaf_ed448_keypair_sign ( signature, keypair, message, messageLength, 0, associatedData, associatedDataLength); + decaf_ed448_keypair_destroy(keypair); *signatureLength=DECAF_EDDSA_448_SIGNATURE_BYTES; return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bctoolbox-5.1.45/src/crypto/mbedtls.c new/bctoolbox-5.1.64/src/crypto/mbedtls.c --- old/bctoolbox-5.1.45/src/crypto/mbedtls.c 2022-05-27 21:35:26.000000000 +0200 +++ new/bctoolbox-5.1.64/src/crypto/mbedtls.c 2022-07-20 16:17:23.000000000 +0200 @@ -1169,6 +1169,11 @@ if (ret <0) { return ret; } + if (transport == BCTBX_SSL_TRANSPORT_DATAGRAM) { + // Set agressive repetition timer for DTLS handshake + mbedtls_ssl_conf_handshake_timeout(ssl_config->ssl_config, 400, 15000); + } + /* Set the default x509 security profile used for verification of all certificate in chain */ mbedtls_ssl_conf_cert_profile(ssl_config->ssl_config, &bctbx_x509_crt_profile_default); ++++++ bctoolbox-fix-pkgconfig.patch ++++++ --- /var/tmp/diff_new_pack.rKXD14/_old 2022-10-17 14:58:14.066154343 +0200 +++ /var/tmp/diff_new_pack.rKXD14/_new 2022-10-17 14:58:14.074154358 +0200 @@ -1,5 +1,7 @@ ---- a/bctoolbox.pc.in -+++ b/bctoolbox.pc.in +Index: bctoolbox-5.1.64/bctoolbox.pc.in +=================================================================== +--- bctoolbox-5.1.64.orig/bctoolbox.pc.in ++++ bctoolbox-5.1.64/bctoolbox.pc.in @@ -8,3 +8,4 @@ Version: @PROJECT_VERSION@ Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lbctoolbox Libs.private: @LIBS_PRIVATE@ ++++++ gcc9-stringop-bogus-warning.patch ++++++ --- /var/tmp/diff_new_pack.rKXD14/_old 2022-10-17 14:58:14.086154382 +0200 +++ /var/tmp/diff_new_pack.rKXD14/_new 2022-10-17 14:58:14.094154397 +0200 @@ -1,8 +1,8 @@ -diff --git a/src/logging/logging.c b/src/logging/logging.c -index 7252840..0f135fa 100644 ---- a/src/logging/logging.c -+++ b/src/logging/logging.c -@@ -305,6 +305,9 @@ char *bctbx_strdup_printf(const char *fmt,...){ +Index: bctoolbox-5.1.64/src/logging/logging.c +=================================================================== +--- bctoolbox-5.1.64.orig/src/logging/logging.c ++++ bctoolbox-5.1.64/src/logging/logging.c +@@ -422,6 +422,9 @@ char *bctbx_strdup_printf(const char *fm return ret; } @@ -12,7 +12,7 @@ char * bctbx_strcat_vprintf(char* dst, const char *fmt, va_list ap){ char *ret; size_t dstlen, retlen; -@@ -326,6 +329,8 @@ char * bctbx_strcat_vprintf(char* dst, const char *fmt, va_list ap){ +@@ -442,6 +445,8 @@ char * bctbx_strcat_vprintf(char* dst, c } }
