Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
open-vm-tools.6364
fix_discards_qualifiers_warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_discards_qualifiers_warning.patch of Package open-vm-tools.6364
This patch is required in SLES11 environments which will report the following error during compilation: cert_key.c: In function 'LoadOpenSSLConf': cert_key.c:264: error: passing argument 1 of 'ASN1_STRING_set_default_mask_asc' discards qualifiers from pointer target type In order to avoid the warning, mask must be passed as a char to ASN1_STRING_set_default_mask_asc. Index: open-vm-tools-10.1.15-6677369/guestproxycerttool/cert_key.c =================================================================== --- open-vm-tools-10.1.15-6677369.orig/guestproxycerttool/cert_key.c +++ open-vm-tools-10.1.15-6677369/guestproxycerttool/cert_key.c @@ -261,7 +261,7 @@ LoadOpenSSLConf(const gchar *fname) mask = NCONF_get_string(config, "req", "string_mask"); if (mask) { - ASN1_STRING_set_default_mask_asc(mask); + ASN1_STRING_set_default_mask_asc((char*)mask); } ret = TRUE;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor