summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arc4random/arc4random_osx.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/arc4random/arc4random_osx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arc4random/arc4random_osx.h b/src/lib/libcrypto/arc4random/arc4random_osx.h
index c14e044fe2..32cbccd1ed 100644
--- a/src/lib/libcrypto/arc4random/arc4random_osx.h
+++ b/src/lib/libcrypto/arc4random/arc4random_osx.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: arc4random_osx.h,v 1.7 2014/07/20 20:51:13 bcook Exp $ */ 1/* $OpenBSD: arc4random_osx.h,v 1.8 2014/08/13 06:04:10 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 4 * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -70,7 +70,7 @@ _rs_allocate(struct _rs **rsp, struct _rsx **rsxp)
70 70
71 if ((*rsxp = mmap(NULL, sizeof(**rsxp), PROT_READ|PROT_WRITE, 71 if ((*rsxp = mmap(NULL, sizeof(**rsxp), PROT_READ|PROT_WRITE,
72 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) { 72 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) {
73 munmap(*rsxp, sizeof(**rsxp)); 73 munmap(*rsp, sizeof(**rsp));
74 return -1; 74 return -1;
75 } 75 }
76 76