diff options
author | tb <> | 2023-11-21 17:56:19 +0000 |
---|---|---|
committer | tb <> | 2023-11-21 17:56:19 +0000 |
commit | 1740aa5a02c9685a344ca455a39790bd21680064 (patch) | |
tree | ff4645c5482bdc02143400e2f36d337adeb41a6d /src/usr.bin/openssl/apps.c | |
parent | 7c178f9af5dd84d292b8bda62f75d0c3ff7d5206 (diff) | |
download | openbsd-1740aa5a02c9685a344ca455a39790bd21680064.tar.gz openbsd-1740aa5a02c9685a344ca455a39790bd21680064.tar.bz2 openbsd-1740aa5a02c9685a344ca455a39790bd21680064.zip |
Make a few purpose things const
This should allow us to constify a sizable table in libcrypto in an
upcoming bump.
Diffstat (limited to 'src/usr.bin/openssl/apps.c')
-rw-r--r-- | src/usr.bin/openssl/apps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c index 70857e0423..6ffbe6f0c4 100644 --- a/src/usr.bin/openssl/apps.c +++ b/src/usr.bin/openssl/apps.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: apps.c,v 1.66 2023/07/23 11:39:29 tb Exp $ */ | 1 | /* $OpenBSD: apps.c,v 1.67 2023/11/21 17:56:19 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -1716,7 +1716,7 @@ args_verify(char ***pargs, int *pargc, int *badarg, BIO *err, | |||
1716 | } | 1716 | } |
1717 | (*pargs)++; | 1717 | (*pargs)++; |
1718 | } else if (strcmp(arg, "-purpose") == 0) { | 1718 | } else if (strcmp(arg, "-purpose") == 0) { |
1719 | X509_PURPOSE *xptmp; | 1719 | const X509_PURPOSE *xptmp; |
1720 | if (!argn) | 1720 | if (!argn) |
1721 | *badarg = 1; | 1721 | *badarg = 1; |
1722 | else { | 1722 | else { |