projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify verify code to handle self signed certificates.
[openssl.git]
/
apps
/
pem_mail.c
diff --git
a/apps/pem_mail.c
b/apps/pem_mail.c
index e48c358f72f6b89c5717ce7b3497364bdcbeb63e..f85c7b1c831afff521957b221319c6730a783712 100644
(file)
--- a/
apps/pem_mail.c
+++ b/
apps/pem_mail.c
@@
-1,5
+1,5
@@
/* apps/pem_mail.c */
/* apps/pem_mail.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-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