examples/ecore: command to generate OpenSSL PEM files.

it's cumbersome to remember these commands and without them it's hard
to test the SSL server examples, so add a make rule for that.
This commit is contained in:
Gustavo Sverzut Barbieri 2016-11-01 11:52:21 -02:00
parent 83457a52e2
commit 15a0ca0fb9
2 changed files with 4 additions and 0 deletions

View File

@ -59,3 +59,4 @@
/ecore_evas_vnc
/efl_net_socket_ssl_dialer_example
/efl_net_socket_ssl_server_example
/*.pem

View File

@ -387,6 +387,9 @@ efl_net_dialer_udp_example.c \
efl_net_socket_ssl_dialer_example.c \
efl_net_socket_ssl_server_example.c
%.pem:
echo -e "US\nOR\nPortland\nXPTO Ltd\n\nlocalhost\nroot@localhost\n" | openssl req -new -x509 -days 30 -nodes -out $@ -keyout $@
DATA_FILES = red.png Makefile.examples
EXTRA_DIST = $(DATA_FILES)