summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-06 13:26:10 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-06 13:26:10 +0000
commit8cca36d26ac77c2ae2ac80fce57103aab9684e99 (patch)
tree2a0dd7a660b33e29a3a0e7c48250d0ac8594cc81 /src/common/crypto.h
parent8b02610bd517a884e2077e1b5d14a5a4e71da0d0 (diff)
downloadtor-8cca36d26ac77c2ae2ac80fce57103aab9684e99.tar.gz
tor-8cca36d26ac77c2ae2ac80fce57103aab9684e99.zip
Implement (temporarily) a base64-encoded-DER format for RSA keys; make it easier to generate fingerprints with no space
svn:r2419
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 70ad1bc37e..699e4ad2a8 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -86,7 +86,7 @@ int crypto_pk_private_hybrid_decrypt(crypto_pk_env_t *env,
int crypto_pk_asn1_encode(crypto_pk_env_t *pk, char *dest, int dest_len);
crypto_pk_env_t *crypto_pk_asn1_decode(const char *str, int len);
int crypto_pk_get_digest(crypto_pk_env_t *pk, char *digest_out);
-int crypto_pk_get_fingerprint(crypto_pk_env_t *pk, char *fp_out);
+int crypto_pk_get_fingerprint(crypto_pk_env_t *pk, char *fp_out,int add_space);
int crypto_pk_check_fingerprint_syntax(const char *s);
int base64_encode(char *dest, int destlen, const char *src, int srclen);