Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bssl_wrapper for openSUSE:Factory 
checked in at 2021-01-19 16:01:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bssl_wrapper (Old)
 and      /work/SRC/openSUSE:Factory/.bssl_wrapper.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bssl_wrapper"

Tue Jan 19 16:01:27 2021 rev:4 rq:861692 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/bssl_wrapper/bssl_wrapper.changes        
2020-01-06 15:24:18.588546777 +0100
+++ /work/SRC/openSUSE:Factory/.bssl_wrapper.new.28504/bssl_wrapper.changes     
2021-01-19 16:01:41.827334869 +0100
@@ -1,0 +2,15 @@
+Fri Jan 08 11:48:01 UTC 2021 - [email protected]
+
+- Update to version 2.0.1:
+  * Responding to feedback
+  * Fixes MAISTRA-1226: fix for ScopedEVP_MD_CTX used in 
UtilityImpl::verifySignature
+  * udpate
+  * switch mergify to rebase instead of merge
+  * Disabled commented-reviews-by
+  * Disable commit message lint: MAISTRA-667
+  * Update commit message lint to remove mergify message: MAISTRA-667
+  * Update commit message lint to include mergify: MAISTRA-667
+  * Enable commit message lint
+  * Add mergify.yml file
+
+-------------------------------------------------------------------

Old:
----
  bssl_wrapper-0.12.0.tar.xz

New:
----
  bssl_wrapper-2.0.1.tar.xz

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

Other differences:
------------------
++++++ bssl_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.uXCado/_old  2021-01-19 16:01:42.707336200 +0100
+++ /var/tmp/diff_new_pack.uXCado/_new  2021-01-19 16:01:42.707336200 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bssl_wrapper
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,12 +20,12 @@
 %define libname lib%{name}_lib%{sover}
 
 Name:           bssl_wrapper
-Version:        0.12.0
+Version:        2.0.1
 Release:        0
 Summary:        Library which translates BoringSSL calls to OpenSSL calls
 License:        Apache-2.0
 Group:          Development/Libraries/C and C++
-Url:            https://github.com/Maistra/%{name}
+URL:            https://github.com/Maistra/%{name}
 Source:         %{name}-%{version}.tar.xz
 BuildRequires:  bazel
 BuildRequires:  bazel-rules-cc-source

++++++ _service ++++++
--- /var/tmp/diff_new_pack.uXCado/_old  2021-01-19 16:01:42.751336266 +0100
+++ /var/tmp/diff_new_pack.uXCado/_new  2021-01-19 16:01:42.751336266 +0100
@@ -6,7 +6,7 @@
     <param name="filename">bssl_wrapper</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">maistra(.*)</param>
-    <param name="revision">maistra-0.12.0</param>
+    <param name="revision">maistra-2.0.1</param>
   </service>
   <service mode="disabled" name="recompress">
     <param name="file">*.tar</param>

++++++ bssl_wrapper-0.12.0.tar.xz -> bssl_wrapper-2.0.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bssl_wrapper-0.12.0/.github/config.yml 
new/bssl_wrapper-2.0.1/.github/config.yml
--- old/bssl_wrapper-0.12.0/.github/config.yml  1970-01-01 01:00:00.000000000 
+0100
+++ new/bssl_wrapper-2.0.1/.github/config.yml   2020-03-09 19:22:35.000000000 
+0100
@@ -0,0 +1 @@
+COMMIT_MESSAGE_REGEX: "\bMAISTRA-\d+(?![.\d])"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bssl_wrapper-0.12.0/.mergify.yml 
new/bssl_wrapper-2.0.1/.mergify.yml
--- old/bssl_wrapper-0.12.0/.mergify.yml        1970-01-01 01:00:00.000000000 
+0100
+++ new/bssl_wrapper-2.0.1/.mergify.yml 2020-03-09 19:22:35.000000000 +0100
@@ -0,0 +1,31 @@
+pull_request_rules:
+  - name: automatic merge with strict when reviewed and not work in progress
+    conditions:
+      - '#approved-reviews-by>=2'
+      - '#review-requested=0'
+      - '#changes-requested-reviews-by=0'
+      #- '#commented-reviews-by=0'
+      - label != "work in progress"
+      - label = "okay to merge"
+      #- status-success=Commit Message Lint
+      #- milestone ~= '^maistra-\d+-\d+$'
+    actions:
+      merge:
+        method: rebase
+        strict: smart
+  - name: label work in progress PRs
+    conditions:
+      - label != "work in progress"
+      - title ~= '^WIP\b'
+    actions:
+      label:
+        add:
+          - "work in progress"
+  - name: remove work in progress labels
+    conditions:
+      - label = "work in progress"
+      - title ~= '^(?!WIP\b)'
+    actions:
+      label:
+        remove:
+          - "work in progress"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bssl_wrapper-0.12.0/README.md 
new/bssl_wrapper-2.0.1/README.md
--- old/bssl_wrapper-0.12.0/README.md   2019-06-11 00:25:54.000000000 +0200
+++ new/bssl_wrapper-2.0.1/README.md    2020-03-09 19:22:35.000000000 +0100
@@ -1 +1,3 @@
-# bssl_wrapper
\ No newline at end of file
+# bssl_wrapper
+
+Contains the bssl::UniquePtr functionality provided by BoringSSL but not 
provided by OpenSSL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bssl_wrapper-0.12.0/bssl_wrapper/bssl_wrapper.cc 
new/bssl_wrapper-2.0.1/bssl_wrapper/bssl_wrapper.cc
--- old/bssl_wrapper-0.12.0/bssl_wrapper/bssl_wrapper.cc        2019-06-11 
00:25:54.000000000 +0200
+++ new/bssl_wrapper-2.0.1/bssl_wrapper/bssl_wrapper.cc 2020-03-09 
19:22:35.000000000 +0100
@@ -1,5 +1,14 @@
 #include "bssl_wrapper.h"
 
+int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) {
+  EVP_MD_CTX_free(ctx);
+  return 1;
+}
+
+EVP_MD_CTX* EVP_MD_CTX_initialize() {
+  return EVP_MD_CTX_new();
+}
+
 int BIO_mem_contents(const BIO *bio, const uint8_t **out_contents,
                      size_t *out_len) {
   size_t length = BIO_get_mem_data((BIO *)bio, out_contents);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bssl_wrapper-0.12.0/bssl_wrapper/bssl_wrapper.h 
new/bssl_wrapper-2.0.1/bssl_wrapper/bssl_wrapper.h
--- old/bssl_wrapper-0.12.0/bssl_wrapper/bssl_wrapper.h 2019-06-11 
00:25:54.000000000 +0200
+++ new/bssl_wrapper-2.0.1/bssl_wrapper/bssl_wrapper.h  2020-03-09 
19:22:35.000000000 +0100
@@ -7,10 +7,9 @@
 #include <utility>
 #include <iostream>
 
-//#include <iostream>
-#include <openssl/ssl.h>
-//#include <openssl/bio.h>
-#include <openssl/x509v3.h>
+#include "openssl/evp.h"
+#include "openssl/ssl.h"
+#include "openssl/x509v3.h"
 
 #define sk_X509_NAME_find(a,b,c) sk_X509_NAME_find((a), (c))
 
@@ -18,6 +17,9 @@
 // ticket.
 #define SSL_TICKET_KEY_NAME_LEN 16
 
+int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx);
+EVP_MD_CTX* EVP_MD_CTX_initialize();
+
 extern "C++" {
 
 #include <memory>
@@ -25,6 +27,33 @@
 
 namespace bssl {
 
+template <typename T, typename CleanupRet, T* (*init)(),
+          CleanupRet (*cleanup)(T *)>
+class StackAllocated {
+ public:
+  StackAllocated() { ctx_ = init(); }
+  ~StackAllocated() { cleanup(ctx_); }
+
+  StackAllocated(const StackAllocated<T, CleanupRet, init, cleanup> &) = 
delete;
+  T& operator=(const StackAllocated<T, CleanupRet, init, cleanup> &) = delete;
+
+  T *get() { return ctx_; }
+  const T *get() const { return ctx_; }
+
+  T *operator->() { return ctx_; }
+  const T *operator->() const { return ctx_; }
+
+  void Reset() {
+    cleanup(ctx_);
+    ctx_ = init();
+  }
+
+ private:
+  T* ctx_;
+};
+
+using ScopedEVP_MD_CTX = StackAllocated<EVP_MD_CTX, int, 
EVP_MD_CTX_initialize, EVP_MD_CTX_cleanup>;
+
 namespace internal {
 
 // The Enable parameter is ignored and only exists so specializations can use

Reply via email to