projects
/
moonshot-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cc8495f
)
windows: send correct data in response to get identity
author
Kevin Wasserman
<krwasserman@hotmail.com>
Thu, 9 Jan 2014 20:24:33 +0000
(15:24 -0500)
committer
Kevin Wasserman
<krwasserman@hotmail.com>
Thu, 9 Jan 2014 20:24:33 +0000
(15:24 -0500)
src/moonshot-server.vala
patch
|
blob
|
history
diff --git
a/src/moonshot-server.vala
b/src/moonshot-server.vala
index
f5a086f
..
0f42448
100644
(file)
--- a/
src/moonshot-server.vala
+++ b/
src/moonshot-server.vala
@@
-290,7
+290,10
@@
public class MoonshotServer : Object {
// The strings are freed by the RPC runtime
nai_out = id_card.nai;
password_out = id_card.password;
- server_certificate_hash = "certificate";
+ server_certificate_hash = id_card.trust_anchor.server_cert;
+ ca_certificate = id_card.trust_anchor.ca_cert;
+ subject_name_constraint = id_card.trust_anchor.subject;
+ subject_alt_name_constraint = id_card.trust_anchor.subject_alt;
return_if_fail (nai_out != null);
return_if_fail (password_out != null);