mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 15:06:21 +00:00
a tad more const-correctness
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -1134,7 +1134,7 @@ sv_ev_muc_occupant_online(const char* const room, const char* const nick, const
|
||||
}
|
||||
|
||||
int
|
||||
sv_ev_certfail(const char* const errormsg, TLSCertificate* cert)
|
||||
sv_ev_certfail(const char* const errormsg, const TLSCertificate* cert)
|
||||
{
|
||||
// check profanity trusted certs
|
||||
if (tlscerts_exists(cert->fingerprint)) {
|
||||
|
||||
@@ -86,7 +86,7 @@ void sv_ev_roster_update(const char* const barejid, const char* const name,
|
||||
GSList* groups, const char* const subscription, gboolean pending_out);
|
||||
void sv_ev_roster_received(void);
|
||||
void sv_ev_connection_features_received(void);
|
||||
int sv_ev_certfail(const char* const errormsg, TLSCertificate* cert);
|
||||
int sv_ev_certfail(const char* const errormsg, const TLSCertificate* cert);
|
||||
void sv_ev_lastactivity_response(const char* const from, const int seconds, const char* const msg);
|
||||
void sv_ev_bookmark_autojoin(Bookmark* bookmark);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user