mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
libekmfweb: Fix sparse and gcc 10 warnings
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
041e3ad996
commit
edaa72d68a
@@ -80,6 +80,9 @@
|
||||
#define FEATURE_ID_PERVASIVE_ENCRYPTION \
|
||||
"com.ibm.ccc.ekmf.web.features.PervasiveEncryptionFeature"
|
||||
|
||||
void __attribute__ ((constructor)) ekmf_init(void);
|
||||
void __attribute__ ((destructor)) ekmf_exit(void);
|
||||
|
||||
#define pr_verbose(verbose, fmt...) do { \
|
||||
if (verbose) \
|
||||
warnx(fmt); \
|
||||
@@ -137,9 +140,9 @@ struct curl_sslctx_cb_data {
|
||||
#define CURL_CERTINFO_CERT "Cert:"
|
||||
#define HTTP_HDR_CONTENT_TYPE "Content-Type:"
|
||||
|
||||
const char *accepted_content_types[] = { "application/json",
|
||||
"text/x-json",
|
||||
NULL};
|
||||
static const char *accepted_content_types[] = { "application/json",
|
||||
"text/x-json",
|
||||
NULL};
|
||||
|
||||
struct private_data {
|
||||
const struct ekmf_ext_lib *ext_lib;
|
||||
|
||||
Reference in New Issue
Block a user