diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-28 01:52:31 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-28 01:52:31 +0200 |
commit | 71f080935a50c3fd795f0c3ccb6ee0dd7c453de1 (patch) | |
tree | f77d763433b57eb64f6d445d5faba2913497de9f /demos/bio | |
parent | *** empty log message *** (diff) | |
download | openssl-71f080935a50c3fd795f0c3ccb6ee0dd7c453de1.tar.xz openssl-71f080935a50c3fd795f0c3ccb6ee0dd7c453de1.zip |
Updated some demos.
Submitted by: Sean O Riordain <Sean.ORiordain@cyrona.com>
Diffstat (limited to 'demos/bio')
-rw-r--r-- | demos/bio/Makefile | 16 | ||||
-rw-r--r-- | demos/bio/sconnect.c | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/demos/bio/Makefile b/demos/bio/Makefile new file mode 100644 index 0000000000..4351540532 --- /dev/null +++ b/demos/bio/Makefile @@ -0,0 +1,16 @@ +CC=cc +CFLAGS= -g -I../../include +LIBS= -L../.. ../../libssl.a ../../libcrypto.a +EXAMPLES=saccept sconnect + +all: $(EXAMPLES) + +saccept: saccept.o + $(CC) -o saccept saccept.o $(LIBS) + +sconnect: sconnect.o + $(CC) -o sconnect sconnect.o $(LIBS) + +clean: + rm -f $(EXAMPLES) *.o + diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c index 8fb6302b94..59fab1985e 100644 --- a/demos/bio/sconnect.c +++ b/demos/bio/sconnect.c @@ -9,6 +9,7 @@ */ #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include <openssl/err.h> #include <openssl/ssl.h> |