summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-15 23:39:14 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-15 23:39:14 +0000
commit24e8e1fb36c3fa6319b00dff8b1db7feeb214905 (patch)
treeb9d908a734052bfd47c3107ae24e5b180b87220c /src/common/crypto.h
parentf5ed1f8469d28879a5efbf2a0ccad5766019bcbb (diff)
downloadtor-24e8e1fb36c3fa6319b00dff8b1db7feeb214905.tar.gz
tor-24e8e1fb36c3fa6319b00dff8b1db7feeb214905.zip
r14185@tombo: nickm | 2008-02-15 18:05:54 -0500
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use. svn:r13532
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index aa5cf920c4..bc47813889 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -207,6 +207,7 @@ struct dh_st *_crypto_dh_env_get_dh(crypto_dh_env_t *dh);
/* Prototypes for private functions only used by crypto.c and test.c*/
int crypto_pk_read_private_key_from_string(crypto_pk_env_t *env,
const char *s);
+void add_spaces_to_fp(char *out, size_t outlen, const char *in);
#endif
#endif