aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-25 10:36:34 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-25 22:29:59 -0500
commit10fdee628552bca65ddb86b17e0b057628ad3703 (patch)
tree3091b28e5cd359f38d0a25d0199099909339e3f5 /src/common/crypto.h
parentdedea28c2ef59eb86f5d9704e5609ae13fa8b3c2 (diff)
downloadtor-10fdee628552bca65ddb86b17e0b057628ad3703.tar.gz
tor-10fdee628552bca65ddb86b17e0b057628ad3703.zip
Add crypto-initializer functions to those whose return values must be checked
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index d2ced63bd5..60f9e28902 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -112,10 +112,10 @@ typedef struct crypto_dh_t crypto_dh_t;
/* global state */
const char * crypto_openssl_get_version_str(void);
const char * crypto_openssl_get_header_version_str(void);
-int crypto_early_init(void);
+int crypto_early_init(void) ATTR_WUR;
int crypto_global_init(int hardwareAccel,
const char *accelName,
- const char *accelPath);
+ const char *accelPath) ATTR_WUR;
void crypto_thread_cleanup(void);
int crypto_global_cleanup(void);