Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package liboqs for openSUSE:Factory checked 
in at 2023-03-29 23:28:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liboqs (Old)
 and      /work/SRC/openSUSE:Factory/.liboqs.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liboqs"

Wed Mar 29 23:28:13 2023 rev:6 rq:1075197 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/liboqs/liboqs.changes    2022-11-16 
15:44:01.063987890 +0100
+++ /work/SRC/openSUSE:Factory/.liboqs.new.31432/liboqs.changes 2023-03-29 
23:28:14.403790472 +0200
@@ -1,0 +2,6 @@
+Wed Mar 29 06:38:25 UTC 2023 - Marcus Meissner <meiss...@suse.com>
+
+- liboqs-fix-prototypemismatch.patch: fixed uint8_t* vs unsigned char* mismatch
+- disable -Werror for now.
+
+-------------------------------------------------------------------

New:
----
  liboqs-fix-prototypemismatch.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ liboqs.spec ++++++
--- /var/tmp/diff_new_pack.s4B2Hc/_old  2023-03-29 23:28:14.971793507 +0200
+++ /var/tmp/diff_new_pack.s4B2Hc/_new  2023-03-29 23:28:14.975793528 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package liboqs
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 # PATCH-FIX-UPSTREAM
 Patch1:         0001-Add-support-for-powerpc64.-1160.patch
 Patch2:         0002-Mark-stack-non-executable-when-compiling-with-clang-.patch
+Patch3:         liboqs-fix-prototypemismatch.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  libopenssl-devel

++++++ liboqs-fix-prototypemismatch.patch ++++++
Index: liboqs-0.7.1/src/kem/frodokem/kem_frodokem.h
===================================================================
--- liboqs-0.7.1.orig/src/kem/frodokem/kem_frodokem.h
+++ liboqs-0.7.1/src/kem/frodokem/kem_frodokem.h
@@ -11,9 +11,9 @@
 #define OQS_KEM_frodokem_640_aes_length_ciphertext 9720
 #define OQS_KEM_frodokem_640_aes_length_shared_secret 16
 OQS_KEM *OQS_KEM_frodokem_640_aes_new(void);
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair(uint8_t *public_key, 
uint8_t *secret_key);
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps(uint8_t *ciphertext, 
uint8_t *shared_secret, const uint8_t *public_key);
-OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_decaps(uint8_t *shared_secret, 
const uint8_t *ciphertext, const uint8_t *secret_key);
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_keypair(unsigned char *public_key, 
unsigned char *secret_key);
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_encaps(unsigned char *ciphertext, 
unsigned char *shared_secret, const unsigned char *public_key);
+OQS_API OQS_STATUS OQS_KEM_frodokem_640_aes_decaps(unsigned char 
*shared_secret, const unsigned char *ciphertext, const unsigned char 
*secret_key);
 #endif
 
 #ifdef OQS_ENABLE_KEM_frodokem_640_shake
Index: liboqs-0.7.1/.CMake/compiler_opts.cmake
===================================================================
--- liboqs-0.7.1.orig/.CMake/compiler_opts.cmake
+++ liboqs-0.7.1/.CMake/compiler_opts.cmake
@@ -62,7 +62,6 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang|GN
 endif()
 
 if(CMAKE_C_COMPILER_ID MATCHES "Clang")
-    add_compile_options(-Werror)
     add_compile_options(-Wall)
     add_compile_options(-Wextra)
     add_compile_options(-Wpedantic)
@@ -109,7 +108,6 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang")
     endif()
 
 elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU")
-    add_compile_options(-Werror)
     add_compile_options(-Wall)
     add_compile_options(-Wextra)
     add_compile_options(-Wpedantic)

Reply via email to