projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
[oweals/openssl.git]
/
apps
/
pem_mail.c
diff --git
a/apps/pem_mail.c
b/apps/pem_mail.c
index 64e04acb52782d9deef9551a8034b9b8e7f2f9b5..f85c7b1c831afff521957b221319c6730a783712 100644
(file)
--- a/
apps/pem_mail.c
+++ b/
apps/pem_mail.c
@@
-56,13
+56,14
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
+#ifndef NO_RSA
#include <stdio.h>
#include <stdio.h>
-#include
"rsa.h"
-#include
"evp.h"
-#include
"objects.h"
-#include
"x509.h"
-#include
"err.h"
-#include
"pem.h"
+#include
<openssl/rsa.h>
+#include
<openssl/evp.h>
+#include
<openssl/objects.h>
+#include
<openssl/x509.h>
+#include
<openssl/err.h>
+#include
<openssl/pem.h>
#include "apps.h"
#undef PROG
#include "apps.h"
#undef PROG
@@
-87,9
+88,7
@@
typedef struct lines_St
struct lines_st *next;
} LINES;
struct lines_st *next;
} LINES;
-int main(argc, argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
{
FILE *in;
RSA *rsa=NULL;
{
FILE *in;
RSA *rsa=NULL;
@@
-168,3
+167,4
@@
err:
ERR_print_errors(bio_err);
EXIT(1);
}
ERR_print_errors(bio_err);
EXIT(1);
}
+#endif