Fix time_t/bigtime_t mixup.

Thanks stippi for noticing!
This commit is contained in:
Adrien Destugues 2014-01-16 09:41:01 +01:00
parent 3db3864644
commit 67af469ef0
2 changed files with 6 additions and 6 deletions

View File

@ -16,8 +16,8 @@ public:
BString String();
bigtime_t StartDate();
bigtime_t ExpirationDate();
time_t StartDate();
time_t ExpirationDate();
BString Issuer();
BString Subject();

View File

@ -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;