diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-16 14:44:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-16 14:45:06 -0400 |
commit | 4a22046c86bec7165e6977024ff84e2109832417 (patch) | |
tree | d3be101572e05bafdfb1be5d536b82ecb16105d3 /src/common/crypto.c | |
parent | 987190c2bc1dc7b64f0f4acf98f6a84609c9d50c (diff) | |
download | tor-4a22046c86bec7165e6977024ff84e2109832417.tar.gz tor-4a22046c86bec7165e6977024ff84e2109832417.zip |
squash! Add crypto_pk_check_key_public_exponent function
Rename crypto_pk_check_key_public_exponent to crypto_pk_public_exponent_ok:
it's nice to name predicates s.t. you can tell how to interpret true
and false.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 6761fd71f3..dffa2c7807 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -660,7 +660,7 @@ crypto_pk_key_is_private(const crypto_pk_env_t *key) * equals 65537. */ int -crypto_pk_check_key_public_exponent(crypto_pk_env_t *env) +crypto_pk_public_exponent_ok(crypto_pk_env_t *env) { tor_assert(env); tor_assert(env->key); |