projects
/
moonshot-ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disabling Vala code that does not compile in Centos 6.9
[moonshot-ui.git]
/
src
/
moonshot-id.vala
diff --git
a/src/moonshot-id.vala
b/src/moonshot-id.vala
index
42916c5
..
82ce1ac
100644
(file)
--- a/
src/moonshot-id.vala
+++ b/
src/moonshot-id.vala
@@
-123,9
+123,10
@@
openssl to produce this format. Alternatively, base64 encode a DER format certi
}
internal static string format_datetime_now() {
}
internal static string format_datetime_now() {
- DateTime now = new DateTime.now_utc();
- string dt = now.format("%b %d %T %Y %Z");
- return dt;
+ // DateTime now = new DateTime.now_utc();
+ // string dt = now.format("%b %d %T %Y %Z");
+ // return dt;
+ return "Sorry; formatted date/time strings not available on Centos 6";
}
internal void update_server_fingerprint(string fingerprint) {
}
internal void update_server_fingerprint(string fingerprint) {
@@
-175,7
+176,7
@@
openssl to produce this format. Alternatively, base64 encode a DER format certi
cert.chomp();
uchar[] binary = Base64.decode(cert);
cert.chomp();
uchar[] binary = Base64.decode(cert);
- IdCard.logger.trace("get_expiration_date: encoded length=%d; decoded length=%d".printf(cert.length, binary.length));
+ IdCard.logger.trace("get_expiration_date: encoded length=%
l
d; decoded length=%d".printf(cert.length, binary.length));
char buf[64];
string err = (string) get_cert_valid_before(binary, binary.length, buf, 64);
char buf[64];
string err = (string) get_cert_valid_before(binary, binary.length, buf, 64);
@@
-406,6
+407,7
@@
public class IdCard : Object
{
IdCard card = new IdCard();
card.display_name = NO_IDENTITY;
{
IdCard card = new IdCard();
card.display_name = NO_IDENTITY;
+ card._nai = "";
return card;
}
return card;
}