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/openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/openssl.c') diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index 0ac9bc08b8..346b1d83c7 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openssl.c,v 1.24 2016/09/04 18:19:53 beck Exp $ */ +/* $OpenBSD: openssl.c,v 1.25 2017/01/20 08:57:12 deraadt Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -435,7 +435,7 @@ main(int argc, char **argv) arg.data = NULL; arg.count = 0; - if (pledge("stdio inet dns rpath wpath cpath proc flock tty", NULL) == -1) { + if (pledge("stdio cpath wpath rpath inet dns proc flock tty", NULL) == -1) { fprintf(stderr, "openssl: pledge: %s\n", strerror(errno)); exit(1); } -- cgit v1.2.3-55-g6feb