summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/demos/maurice/example2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/demos/maurice/example2.c')
-rw-r--r--lib/libssl/src/demos/maurice/example2.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/libssl/src/demos/maurice/example2.c b/lib/libssl/src/demos/maurice/example2.c
index 99f7b224409..57bce10b5ed 100644
--- a/lib/libssl/src/demos/maurice/example2.c
+++ b/lib/libssl/src/demos/maurice/example2.c
@@ -10,13 +10,13 @@
#include <stdio.h>
#include <strings.h>
-#include "rsa.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
-#include "err.h"
-#include "pem.h"
-#include "ssl.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 <openssl/ssl.h>
#include "loadkeys.h"
@@ -33,7 +33,6 @@ int main()
EVP_PKEY *pubKey;
EVP_PKEY *privKey;
int len;
- FILE *fp;
ERR_load_crypto_strings();
@@ -72,6 +71,5 @@ int main()
EVP_PKEY_free(pubKey);
free(buf);
free(buf2);
+ return 0;
}
-
-