Fix some obvious bugs in the PKCS#7 library handling. It didn't try to
[openssl.git] / crypto / evp / p_seal.c
index 618bdc10b607582c39536755196fb45eb5d36e0e..09b46f4b0e1045e35489f2e30dadc315aad4b557 100644 (file)
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "rand.h"
-#include "rsa.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/rand.h>
+#ifndef NO_RSA
+#include <openssl/rsa.h>
+#endif
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
 
 int EVP_SealInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char **ek,
             int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk)