[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r16324: Move function prototype to a place where it is visible. (tor/branches/121-hs-authorization/src/common)



Author: kloesing
Date: 2008-08-01 06:15:17 -0400 (Fri, 01 Aug 2008)
New Revision: 16324

Modified:
   tor/branches/121-hs-authorization/src/common/crypto.h
Log:
Move function prototype to a place where it is visible.

Modified: tor/branches/121-hs-authorization/src/common/crypto.h
===================================================================
--- tor/branches/121-hs-authorization/src/common/crypto.h	2008-08-01 09:54:17 UTC (rev 16323)
+++ tor/branches/121-hs-authorization/src/common/crypto.h	2008-08-01 10:15:17 UTC (rev 16324)
@@ -83,6 +83,8 @@
                                           char **dest, size_t *len);
 int crypto_pk_read_public_key_from_string(crypto_pk_env_t *env,
                                           const char *src, size_t len);
+int crypto_pk_read_private_key_from_string(crypto_pk_env_t *env,
+                                           const char *s);
 int crypto_pk_write_private_key_to_filename(crypto_pk_env_t *env,
                                             const char *fname);
 
@@ -208,8 +210,6 @@
                                                 int private);
 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