OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
067a5cd
)
I forgot to update win32 code when doing a renaming in random.c.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 11 Jul 2005 17:00:03 +0000
(17:00 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 11 Jul 2005 17:00:03 +0000
(17:00 +0000)
Marko Kreen
contrib/pgcrypto/random.c
patch
|
blob
|
history
diff --git
a/contrib/pgcrypto/random.c
b/contrib/pgcrypto/random.c
index
019ac3c
..
501e36f
100644
(file)
--- a/
contrib/pgcrypto/random.c
+++ b/
contrib/pgcrypto/random.c
@@
-26,7
+26,7
@@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.1
2 2005/07/11 15:07:59
tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.1
3 2005/07/11 17:00:03
tgl Exp $
*/
#include "postgres.h"
@@
-126,7
+126,7
@@
static uint8 * try_win32_genrand(uint8 *dst)
if (!res)
return dst;
- res = CryptGenRandom(h,
NUM
_BYTES, dst);
+ res = CryptGenRandom(h,
RND
_BYTES, dst);
if (res == TRUE)
dst += len;