]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - crypt.h
preparations for user list in memory
[paraslash.git] / crypt.h
diff --git a/crypt.h b/crypt.h
index 82ed4f9dc42face7d7a3cfda25b1a154e341edd8..d658f89b33e1453587c2a31a771958c36ef2f3d4 100644 (file)
--- a/crypt.h
+++ b/crypt.h
@@ -1,3 +1,4 @@
+#include <openssl/pem.h>
 /** \file crypt.h prototypes for the RSA crypt functions */
 int para_decrypt_challenge(char *key_file, long unsigned *challenge_nr,
        unsigned char *buf, int rsa_inlen);
@@ -7,3 +8,4 @@ int para_encrypt_buffer(char *key_file, unsigned char *inbuf, const unsigned len
        unsigned char *outbuf);
 int para_decrypt_buffer(char *key_file, unsigned char *outbuf, unsigned char *inbuf,
        int rsa_inlen);
+int get_rsa_key(char *key_file, RSA **rsa, int private);