Skip to content

Commit

Permalink
Support static linking auth plugins
Browse files Browse the repository at this point in the history
It was failed when both of caching_sha2_password and sha256_password
are linked statically.
  • Loading branch information
methane committed Jan 18, 2019
1 parent 16c780e commit 14c8a88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/auth/caching_sha2_pw.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static LPBYTE ma_load_pem(const char *buffer, DWORD *buffer_len)
}
#endif

char *load_pub_key_file(const char *filename, int *pub_key_size)
static char *load_pub_key_file(const char *filename, int *pub_key_size)
{
FILE *fp= NULL;
char *buffer= NULL;
Expand Down
2 changes: 1 addition & 1 deletion plugins/auth/sha256_pw.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static LPBYTE ma_load_pem(const char *buffer, DWORD *buffer_len)
}
#endif

char *load_pub_key_file(const char *filename, int *pub_key_size)
static char *load_pub_key_file(const char *filename, int *pub_key_size)
{
FILE *fp= NULL;
char *buffer= NULL;
Expand Down

0 comments on commit 14c8a88

Please sign in to comment.