diff options
author | George Kadianakis <desnacked@riseup.net> | 2014-12-01 16:12:05 +0000 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2014-12-02 12:15:11 +0000 |
commit | 447ece46f5705770df05bd28e27765dde50063de (patch) | |
tree | ef7a2277a97de2ca6902a5164c825f11a2e5eddd /src/common/crypto.h | |
parent | 11b652acb382b181927d2c31a50e4c8621615083 (diff) | |
download | tor-447ece46f5705770df05bd28e27765dde50063de.tar.gz tor-447ece46f5705770df05bd28e27765dde50063de.zip |
Constify crypto_pk_get_digest().
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index d496521849..a8f0fbc975 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -180,7 +180,7 @@ int crypto_pk_private_hybrid_decrypt(crypto_pk_t *env, char *to, int crypto_pk_asn1_encode(crypto_pk_t *pk, char *dest, size_t dest_len); crypto_pk_t *crypto_pk_asn1_decode(const char *str, size_t len); -int crypto_pk_get_digest(crypto_pk_t *pk, char *digest_out); +int crypto_pk_get_digest(const crypto_pk_t *pk, char *digest_out); int crypto_pk_get_all_digests(crypto_pk_t *pk, digests_t *digests_out); int crypto_pk_get_fingerprint(crypto_pk_t *pk, char *fp_out,int add_space); int crypto_pk_get_hashed_fingerprint(crypto_pk_t *pk, char *fp_out); |