blob: 46988520c559f2c2af2ff756ff9331d2f9f6e131 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id$
OPENSSL_DIR = ../../openssl/openssl
CFLAGS = -g -I${OPENSSL_DIR}/include
# -H -Wl,-t
BIN = resource-set-test
OBJ = resource-set-test.o
LIB = ${OPENSSL_DIR}/libcrypto.a
all: ${BIN}
clean:
rm -f ${BIN} ${OBJ}
${BIN}: ${OBJ} ${LIB} Makefile
${CC} -g -o $@ ${OBJ} ${LIB}
test: ${BIN} test.conf
@echo This test needs more work
@echo ''
${OPENSSL_DIR}/apps/openssl req -new -x509 -config test.conf -keyout test.key -out test.cer -outform DER
@echo ''
./${BIN} -v -a AS:17 -i IPv4:10.0.0.44 -d test.cer
immaculate: clean
rm -f test.key test.cer
|