Skip to content

Commit 9f39c5c

Browse files
authored
Merge pull request #98 from methane/static-sha2
Support static linking auth plugins
2 parents 4c93379 + 14c8a88 commit 9f39c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/auth/caching_sha2_pw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static LPBYTE ma_load_pem(const char *buffer, DWORD *buffer_len)
194194
}
195195
#endif
196196

197-
char *load_pub_key_file(const char *filename, int *pub_key_size)
197+
static char *load_pub_key_file(const char *filename, int *pub_key_size)
198198
{
199199
FILE *fp= NULL;
200200
char *buffer= NULL;

plugins/auth/sha256_pw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static LPBYTE ma_load_pem(const char *buffer, DWORD *buffer_len)
112112
}
113113
#endif
114114

115-
char *load_pub_key_file(const char *filename, int *pub_key_size)
115+
static char *load_pub_key_file(const char *filename, int *pub_key_size)
116116
{
117117
FILE *fp= NULL;
118118
char *buffer= NULL;

0 commit comments

Comments
 (0)