summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto/arc4random_aix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/crypto/arc4random_aix.h')
-rw-r--r--src/lib/libcrypto/crypto/arc4random_aix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto/arc4random_aix.h b/src/lib/libcrypto/crypto/arc4random_aix.h
index e76c8cb598..3142a1f278 100644
--- a/src/lib/libcrypto/crypto/arc4random_aix.h
+++ b/src/lib/libcrypto/crypto/arc4random_aix.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: arc4random_aix.h,v 1.1 2015/03/30 11:29:48 bcook Exp $ */ 1/* $OpenBSD: arc4random_aix.h,v 1.2 2016/06/30 12:19:51 bcook Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 4 * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -72,6 +72,7 @@ _rs_allocate(struct _rs **rsp, struct _rsx **rsxp)
72 if ((*rsxp = mmap(NULL, sizeof(**rsxp), PROT_READ|PROT_WRITE, 72 if ((*rsxp = mmap(NULL, sizeof(**rsxp), PROT_READ|PROT_WRITE,
73 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) { 73 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) {
74 munmap(*rsp, sizeof(**rsp)); 74 munmap(*rsp, sizeof(**rsp));
75 *rsp = NULL;
75 return (-1); 76 return (-1);
76 } 77 }
77 78