We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e2a1bc commit dddf61bCopy full SHA for dddf61b
2 files changed
pg_pwhash.c
@@ -11,10 +11,12 @@
11
#include "pwhash_argon2.h"
12
#include "pwhash_yescrypt.h"
13
14
+PG_MODULE_MAGIC;
15
PG_FUNCTION_INFO_V1(pwhash_test_options);
16
PG_FUNCTION_INFO_V1(xgen_salt);
17
PG_FUNCTION_INFO_V1(pgxcrypt_crypt);
18
PG_FUNCTION_INFO_V1(xcrypt);
19
+void PGDLLEXPORT _PG_init(void);
20
21
#if PG_VERSION_NUM < 180000
22
#define PWHASH_PGB64_t char *
@@ -624,4 +626,4 @@ _PG_init(void)
624
626
NULL);
625
627
628
-}
629
+}
pwhash_scrypt.c
@@ -20,8 +20,6 @@
#include "libscrypt.h"
#endif
23
-PG_MODULE_MAGIC;
24
-
25
#define SCRYPT_WORK_FACTOR_N 16
26
#define SCRYPT_BLOCK_SIZE_r 8
27
#define SCRYPT_PARALLEL_FACTOR_p 1
0 commit comments