barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=15a0ca0fb9eaa914329d47666397f70f37d85bf5

commit 15a0ca0fb9eaa914329d47666397f70f37d85bf5
Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi>
Date:   Tue Nov 1 11:52:21 2016 -0200

    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.
---
 src/examples/ecore/.gitignore  | 1 +
 src/examples/ecore/Makefile.am | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/src/examples/ecore/.gitignore b/src/examples/ecore/.gitignore
index 7068b7c..18a9ea8 100644
--- a/src/examples/ecore/.gitignore
+++ b/src/examples/ecore/.gitignore
@@ -59,3 +59,4 @@
 /ecore_evas_vnc
 /efl_net_socket_ssl_dialer_example
 /efl_net_socket_ssl_server_example
+/*.pem
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 7e26163..fe23058 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -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)

-- 


Reply via email to