diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-27 23:52:31 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-27 23:52:31 +0000 |
commit | 71f080935a50c3fd795f0c3ccb6ee0dd7c453de1 (patch) | |
tree | f77d763433b57eb64f6d445d5faba2913497de9f /demos/bio | |
parent | e95f626827bf98fe0c0b792464202d325f4cf8b9 (diff) | |
download | openssl-71f080935a50c3fd795f0c3ccb6ee0dd7c453de1.tar.gz |
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> |