From 240aac1f315f7a1134e54770c8318611366ccd9c Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 20 Jan 2017 08:57:12 +0000 Subject: rearrange pledge promises into the canonical order; easier to eyeball --- src/usr.bin/openssl/rand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/rand.c') diff --git a/src/usr.bin/openssl/rand.c b/src/usr.bin/openssl/rand.c index 5f21bbc11c..04105bc46e 100644 --- a/src/usr.bin/openssl/rand.c +++ b/src/usr.bin/openssl/rand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rand.c,v 1.10 2015/10/17 15:00:11 doug Exp $ */ +/* $OpenBSD: rand.c,v 1.11 2017/01/20 08:57:12 deraadt Exp $ */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * @@ -110,7 +110,7 @@ rand_main(int argc, char **argv) BIO *out = NULL; if (single_execution) { - if (pledge("stdio rpath wpath cpath", NULL) == -1) { + if (pledge("stdio cpath wpath rpath", NULL) == -1) { perror("pledge"); exit(1); } -- cgit v1.2.3-55-g6feb