public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/open-vm-tools] rawhide: Fix build with openssl 4.0
Date: Thu, 25 Jun 2026 12:37:47 GMT	[thread overview]
Message-ID: <178239106706.1.11075504919585408480.rpms-open-vm-tools-691a6cfe0849@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/open-vm-tools
            Branch : rawhide
            Commit : 691a6cfe0849f925a278023b068164628dec3079
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-19T11:15:16-04:00
            Stats  : +40/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/open-vm-tools/c/691a6cfe0849f925a278023b068164628dec3079?branch=rawhide

            Log:
            Fix build with openssl 4.0

https://github.com/vmware/open-vm-tools/issues/794

---
diff --git a/open-vm-tools-openssl4.patch b/open-vm-tools-openssl4.patch
new file mode 100644
index 0000000..4574fea
--- /dev/null
+++ b/open-vm-tools-openssl4.patch
@@ -0,0 +1,39 @@
+diff --git a/vgauth/common/certverify.c b/vgauth/common/certverify.c
+index 845f59b..ec5faf7 100644
+--- a/vgauth/common/certverify.c
++++ b/vgauth/common/certverify.c
+@@ -793,7 +793,7 @@ CertVerify_CheckSignatureUsingCert(VGAuthHashAlg hash,
+ {
+    VGAuthError err;
+    X509 *cert;
+-   X509_PUBKEY *x509PubKey;
++   const X509_PUBKEY *x509PubKey;
+    EVP_PKEY *publicKey;
+ 
+    cert = CertStringToX509(pemCert);
+@@ -924,12 +924,12 @@ done:
+ 
+ static X509 *
+ FindCert(GList *cList,
+-         X509_NAME *val,
++         const X509_NAME *val,
+          int checkSubj)
+ {
+    GList *l;
+    X509 *c;
+-   X509_NAME *v;
++   const X509_NAME *v;
+ 
+    l = cList;
+    while (l != NULL) {
+@@ -974,8 +974,8 @@ CertVerify_CheckForUnrelatedCerts(int numCerts,
+    GList *rawList = NULL;
+    X509 *baseCert;
+    X509 *curCert;
+-   X509_NAME *subject;
+-   X509_NAME *issuer;
++   const X509_NAME *subject;
++   const X509_NAME *issuer;
+ 
+    /* common single cert case; nothing to do */
+    if (numCerts == 1) {

diff --git a/open-vm-tools.spec b/open-vm-tools.spec
index 6a24aba..818f10f 100644
--- a/open-vm-tools.spec
+++ b/open-vm-tools.spec
@@ -18,6 +18,7 @@ Source5:          vmtoolsd.pam
 
 Patch0:           open-vm-tools-gcc16.patch
 Patch1:           open-vm-tools-sigc++3.patch
+Patch2:           open-vm-tools-openssl4.patch
 
 ExclusiveArch:    %{ix86} x86_64 aarch64
 

                 reply	other threads:[~2026-06-25 12:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178239106706.1.11075504919585408480.rpms-open-vm-tools-691a6cfe0849@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox