summaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-04 19:51:43 +0000
committerRich Salz <rsalz@openssl.org>2016-03-09 11:34:48 -0500
commit5da65ef23ce30285e87652469298ce6513560032 (patch)
tree5705e2768ab285d640e8d06172903dc158d42354 /apps/apps.h
parent8fbb93d0e24da283a21bb48c4361e20a17bba955 (diff)
Extensive application of __owur to CT functions that return a boolean
Also improves some documentation of those functions. Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/apps.h b/apps/apps.h
index ebf696b81b..0fcac07351 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -487,9 +487,10 @@ int load_crls(const char *file, STACK_OF(X509_CRL) **crls, int format,
const char *pass, const char *cert_descrip);
X509_STORE *setup_verify(char *CAfile, char *CApath,
int noCAfile, int noCApath);
-int ctx_set_verify_locations(SSL_CTX *ctx, const char *CAfile,
- const char *CApath, int noCAfile, int noCApath);
-int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
+__owur int ctx_set_verify_locations(SSL_CTX *ctx, const char *CAfile,
+ const char *CApath, int noCAfile,
+ int noCApath);
+__owur int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
# ifdef OPENSSL_NO_ENGINE
# define setup_engine(engine, debug) NULL