[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: Prevent user from storing records which
From: |
gnunet |
Subject: |
[gnunet] branch master updated: Prevent user from storing records which belong in a BOX |
Date: |
Sun, 28 Jun 2020 22:44:31 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 8c2243f05 Prevent user from storing records which belong in a BOX
8c2243f05 is described below
commit 8c2243f05b4aa671cdcd4cfd614055ef6f80e20c
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Jun 28 22:38:45 2020 +0200
Prevent user from storing records which belong in a BOX
---
src/namestore/gnunet-namestore.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index 94fcb8952..1e0c6fdbc 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -1087,6 +1087,16 @@ run_with_zone_pkey (const struct
GNUNET_CONFIGURATION_Handle *cfg)
ret = 1;
return;
}
+ if ((GNUNET_DNSPARSER_TYPE_SRV == type) ||
+ (GNUNET_DNSPARSER_TYPE_TLSA == type) ||
+ (GNUNET_DNSPARSER_TYPE_OPENPGPKEY == type))
+ {
+ fprintf (stderr,
+ _ ("For DNS record types `SRV', `TLSA' and `OPENPGPKEY'"));
+ fprintf (stderr, ", please use a `BOX' record instead\n");
+ ret = 1;
+ return;
+ }
if (NULL == value)
{
fprintf (stderr,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: Prevent user from storing records which belong in a BOX,
gnunet <=