Skip to content

Commit

Permalink
Make verify_server_fingerprint() static
Browse files Browse the repository at this point in the history
Fix compiler warnings by making local funcion static
  • Loading branch information
rbgarga authored and corecode committed Feb 12, 2021
1 parent a9f892c commit c3a04c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto.c
Expand Up @@ -78,7 +78,7 @@ init_cert_file(SSL_CTX *ctx, const char *path)
return (0);
}

int
static int
verify_server_fingerprint(const X509 *cert)
{
unsigned char fingerprint[EVP_MAX_MD_SIZE] = {0};
Expand Down

0 comments on commit c3a04c8

Please sign in to comment.