summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2008-09-30 08:08:58 -0700
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-09-30 08:08:58 -0700
commitae2be3d89ca173fde03531bf3c3bf6172aa0b8d0 (patch)
treef7e3e7316d569560873b1da2e9d8d313bb985651
parent46e6ec02257a1a761b4d529dd44449ce308b46d1 (diff)
downloadcrda-ae2be3d89ca173fde03531bf3c3bf6172aa0b8d0.tar.gz
crda-ae2be3d89ca173fde03531bf3c3bf6172aa0b8d0.tar.bz2
crda-ae2be3d89ca173fde03531bf3c3bf6172aa0b8d0.zip
Initialize gcrypt in dump.c
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--README5
-rw-r--r--dump.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/README b/README
index 440d7ec..d4edce7 100644
--- a/README
+++ b/README
@@ -17,6 +17,9 @@ The package build requirements currently are:
* python and the m2crypto package (python-m2crypto)
* libgcrypt or libssl (openssl) header files
+
+If you want to put up a web site with a database viewer using MoinMoin:
+
* MoinMoin (http://moinmo.in) for the web viewer
CALLING CRDA -- UDEV
@@ -42,7 +45,7 @@ table.
The regulatory information in `db.txt' is stored in a human-readable
format which can be read using the `dbparse.py' python module. This
python module is used by the web viewer (web/Regulatory.py) which is
-implemented as a MoinMoin macro (and used on http://linuxwireless.org)
+implemented as a MoinMoin macro (and used on http://wireless.kernel.org)
to allow viewing the database for verification.
The dbparse module is also used by db2bin.py, the `compiler', which
diff --git a/dump.c b/dump.c
index 01553d2..b133915 100644
--- a/dump.c
+++ b/dump.c
@@ -193,6 +193,9 @@ int main(int argc, char **argv)
#endif
#ifdef USE_GCRYPT
+ /* initialise */
+ gcry_check_version(NULL);
+
/* hash the db */
gcry_md_hash_buffer(GCRY_MD_SHA1, hash, db, dblen);