diff --git a/headers/os/net/Certificate.h b/headers/os/net/Certificate.h index c42207db94..120541a8ea 100644 --- a/headers/os/net/Certificate.h +++ b/headers/os/net/Certificate.h @@ -16,8 +16,8 @@ public: BString String(); - bigtime_t StartDate(); - bigtime_t ExpirationDate(); + time_t StartDate(); + time_t ExpirationDate(); BString Issuer(); BString Subject(); diff --git a/src/kits/network/libnetapi/Certificate.cpp b/src/kits/network/libnetapi/Certificate.cpp index a8cd129933..e456c9c032 100644 --- a/src/kits/network/libnetapi/Certificate.cpp +++ b/src/kits/network/libnetapi/Certificate.cpp @@ -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;