summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/demos/maurice/example2.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>1999-09-29 04:35:07 +0000
committerbeck <beck@openbsd.org>1999-09-29 04:35:07 +0000
commit913ec974266f8a62ab2e5ca34a31d6e6f75b3cf0 (patch)
tree62c001f84cb6413a049c5c811a08bfbe7c747b77 /lib/libssl/src/demos/maurice/example2.c
parentfix byte counters; imain@netidea.com (diff)
downloadwireguard-openbsd-913ec974266f8a62ab2e5ca34a31d6e6f75b3cf0.tar.xz
wireguard-openbsd-913ec974266f8a62ab2e5ca34a31d6e6f75b3cf0.zip
OpenSSL 0.9.4 merge
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;
}
-
-