Fix time_t/bigtime_t mixup.
Thanks stippi for noticing!
This commit is contained in:
parent
3db3864644
commit
67af469ef0
@ -16,8 +16,8 @@ public:
|
||||
|
||||
BString String();
|
||||
|
||||
bigtime_t StartDate();
|
||||
bigtime_t ExpirationDate();
|
||||
time_t StartDate();
|
||||
time_t ExpirationDate();
|
||||
BString Issuer();
|
||||
BString Subject();
|
||||
|
||||
|
@ -71,14 +71,14 @@ BCertificate::String()
|
||||
}
|
||||
|
||||
|
||||
bigtime_t
|
||||
time_t
|
||||
BCertificate::StartDate()
|
||||
{
|
||||
return parse_ASN1(X509_get_notBefore(fPrivate->fX509));
|
||||
}
|
||||
|
||||
|
||||
bigtime_t
|
||||
time_t
|
||||
BCertificate::ExpirationDate()
|
||||
{
|
||||
return parse_ASN1(X509_get_notAfter(fPrivate->fX509));
|
||||
@ -129,14 +129,14 @@ BCertificate::String()
|
||||
}
|
||||
|
||||
|
||||
bigtime_t
|
||||
time_t
|
||||
BCertificate::StartDate()
|
||||
{
|
||||
return B_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
|
||||
bigtime_t
|
||||
time_t
|
||||
BCertificate::ExpirationDate()
|
||||
{
|
||||
return B_NOT_SUPPORTED;
|
||||
|
Loading…
Reference in New Issue
Block a user