Skip to content

Commit

Permalink
Allow compilation with pre gcc-11 compilers
Browse files Browse the repository at this point in the history
Argument names can only be omitted since gcc-11, see
https://gcc.gnu.org/pipermail/gcc-cvs/2020-October/336068.html

Needed for builds on CentOS 7 and CentOS Stream 8 and Rocky Linux 8.
  • Loading branch information
fscheiner committed Jan 20, 2024
1 parent 1f37795 commit 6a03bba
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions gsi_openssh/source/sshkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,43 +135,43 @@ extern const struct sshkey_impl sshkey_xmss_impl;
extern const struct sshkey_impl sshkey_xmss_cert_impl;
#endif

static int ssh_gss_equal(const struct sshkey *, const struct sshkey *)
static int ssh_gss_equal(const struct sshkey * arg1, const struct sshkey * arg2)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}

static int ssh_gss_serialize_public(const struct sshkey *, struct sshbuf *,
enum sshkey_serialize_rep)
static int ssh_gss_serialize_public(const struct sshkey * arg1, struct sshbuf * arg2,
enum sshkey_serialize_rep arg3)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}

static int ssh_gss_deserialize_public(const char *, struct sshbuf *,
struct sshkey *)
static int ssh_gss_deserialize_public(const char * arg1, struct sshbuf * arg2,
struct sshkey * arg3)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}

static int ssh_gss_serialize_private(const struct sshkey *, struct sshbuf *,
enum sshkey_serialize_rep)
static int ssh_gss_serialize_private(const struct sshkey * arg1, struct sshbuf * arg2,
enum sshkey_serialize_rep arg3)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}

static int ssh_gss_deserialize_private(const char *, struct sshbuf *,
struct sshkey *)
static int ssh_gss_deserialize_private(const char * arg1, struct sshbuf * arg2,
struct sshkey * arg3)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}

static int ssh_gss_copy_public(const struct sshkey *, struct sshkey *)
static int ssh_gss_copy_public(const struct sshkey * arg1, struct sshkey * arg2)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}

static int ssh_gss_verify(const struct sshkey *, const u_char *, size_t,
const u_char *, size_t, const char *, u_int,
struct sshkey_sig_details **)
static int ssh_gss_verify(const struct sshkey * arg1, const u_char * arg2, size_t arg3,
const u_char * arg4, size_t arg5, const char * arg6, u_int arg7,
struct sshkey_sig_details ** arg8)
{
return SSH_ERR_FEATURE_UNSUPPORTED;
}
Expand Down

0 comments on commit 6a03bba

Please sign in to comment.