public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/open-vm-tools] rawhide: Fix build with openssl 4.0
@ 2026-06-25 12:37 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-25 12:37 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 12:37 [rpms/open-vm-tools] rawhide: Fix build with openssl 4.0 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox