move LOAD_PUBLIC_KEY and LOAD_PRIVATE_KEY to crypt.h
[paraslash.git] / crypt.c
diff --git a/crypt.c b/crypt.c
index 34eeb407ed6a33a2487e449dcb87b297b89c6e85..cf1cabecbad80cdca6d69cf2bbc2165427a84ed8 100644 (file)
--- a/crypt.c
+++ b/crypt.c
 
 /** \file crypt.c openssl-based RSA encryption/decryption routines */
 
-#include <openssl/pem.h>
 #include "para.h"
 #include "error.h"
 #include "string.h"
-
-/** \cond used to distinguish between loading of private/public key */
-#define LOAD_PUBLIC_KEY 0
-#define LOAD_PRIVATE_KEY 1
-/** \endcond **/
+#include "crypt.h"
 
 static EVP_PKEY *load_key(const char *file, int private)
 {