mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
libseckey: Adjustments for OpenSSL v4.0.0 API changes and deprecations
With OpenSSL 4.0.0 function X509_NAME_get_entry() returns a const pointer. Make the local variable also const to avoid compile warnings like: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
7755d35995
commit
7e68d7f61a
@@ -395,7 +395,7 @@ const struct sk_digest_info *SK_UTIL_get_digest_info(int digest_nid)
|
||||
static bool SK_UTILS_is_duplicate_name_entry(const X509_NAME *name,
|
||||
const X509_NAME_ENTRY *entry)
|
||||
{
|
||||
X509_NAME_ENTRY *ne;
|
||||
const X509_NAME_ENTRY *ne;
|
||||
int count, i;
|
||||
|
||||
count = X509_NAME_entry_count(name);
|
||||
|
||||
Reference in New Issue
Block a user