From dd2d2adcc25981d8fdb87985b32d9be006e451c6 Mon Sep 17 00:00:00 2001
From: Ulf Wiger <ulf@feuerlabs.com>
Date: Mon, 2 Feb 2015 12:39:05 +0100
Subject: [PATCH] check_edown script also starts asn1

---
 README.md                       | 2 +-
 doc/README.md                   | 2 +-
 doc/overview.edoc               | 2 +-
 priv/scripts/check_edown.script | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index e594160..df8e8ec 100644
--- a/README.md
+++ b/README.md
@@ -129,7 +129,7 @@ output, since "raw" links wouldn't work for the markdown files.
 
 The next issue is that Edoc uses httpd_client to fetch the
 `edoc-info` files, which requires `inets` to be started. To
-further complicate matters, `ssl` (and thus `crypto` and
+further complicate matters, `ssl` (and thus `crypto`, 'asn1' and
 `public_key`) must also be started, since Github will
 redirect to https.
 
diff --git a/doc/README.md b/doc/README.md
index 482aba0..37dba3f 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -129,7 +129,7 @@ output, since "raw" links wouldn't work for the markdown files.
 
 The next issue is that Edoc uses httpd_client to fetch the
 `edoc-info` files, which requires `inets` to be started. To
-further complicate matters, `ssl` (and thus `crypto` and
+further complicate matters, `ssl` (and thus `crypto`, 'asn1' and
 `public_key`) must also be started, since Github will
 redirect to https.
 
diff --git a/doc/overview.edoc b/doc/overview.edoc
index ddc88f7..5542cc5 100644
--- a/doc/overview.edoc
+++ b/doc/overview.edoc
@@ -114,7 +114,7 @@ output, since "raw" links wouldn't work for the markdown files.
 
 The next issue is that Edoc uses httpd_client to fetch the
 `edoc-info' files, which requires `inets' to be started. To
-further complicate matters, `ssl' (and thus `crypto' and
+further complicate matters, `ssl' (and thus `crypto', 'asn1' and
 `public_key') must also be started, since Github will
 redirect to https.
 
diff --git a/priv/scripts/check_edown.script b/priv/scripts/check_edown.script
index 17726f6..636f8bb 100644
--- a/priv/scripts/check_edown.script
+++ b/priv/scripts/check_edown.script
@@ -14,6 +14,7 @@ case lists:member("doc", Args) of
     true ->
 	%% We actually only need to start inets if we have a doc path with http URIS
 	application:start(crypto),
+	application:start(asn1),
 	application:start(public_key),
 	application:start(ssl),
 	application:start(inets),
-- 
GitLab