]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - crypt.h
Move para_tmpname() to file_write.c and make it static.
[paraslash.git] / crypt.h
diff --git a/crypt.h b/crypt.h
index 3d1daf56fbf6d45df72c0a1a74f6cbbc0720539f..1ed3985d444e3d6445cb691f6f6478a68e760edb 100644 (file)
--- a/crypt.h
+++ b/crypt.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -18,6 +18,8 @@ int para_decrypt_buffer(char *key_file, unsigned char *outbuf, unsigned char *in
 int get_rsa_key(char *key_file, RSA **rsa, int private);
 
 void rsa_free(RSA *rsa);
+void get_random_bytes_or_die(unsigned char *buf, int num);
+void init_random_seed_or_die(void);
 
 /** \cond used to distinguish between loading of private/public key */
 #define LOAD_PUBLIC_KEY 0