[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: GNS PROXY: Add SubjectAltNa
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: GNS PROXY: Add SubjectAltName; Fix memdup bug |
Date: |
Sat, 17 Nov 2018 08:37:08 +0100 |
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 6de27e488 GNS PROXY: Add SubjectAltName; Fix memdup bug
6de27e488 is described below
commit 6de27e4884dcc1781f5a0611ebb1d8bc524619d3
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sat Nov 17 08:37:04 2018 +0100
GNS PROXY: Add SubjectAltName; Fix memdup bug
---
src/gns/gnunet-gns-proxy.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index e1997e215..9f664e4dd 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -2671,6 +2671,9 @@ generate_gns_certificate (const char *name)
0,
name,
strlen (name));
+ gnutls_x509_crt_set_subject_alternative_name (request,
+ GNUTLS_SAN_DNSNAME,
+ name);
GNUNET_break (GNUTLS_E_SUCCESS ==
gnutls_x509_crt_set_version (request,
3));
@@ -3092,7 +3095,7 @@ handle_gns_result (void *cls,
= r->data_size - sizeof (struct GNUNET_GNSRECORD_BoxRecord);
s5r->dane_data[s5r->num_danes]
= GNUNET_memdup (&box[1],
- s5r->dane_data_len);
+ s5r->dane_data_len[s5r->num_danes]);
s5r->num_danes++;
break;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: GNS PROXY: Add SubjectAltName; Fix memdup bug,
gnunet <=