summaryrefslogtreecommitdiff
path: root/doc/html/appdev/y2038.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/appdev/y2038.html')
-rw-r--r--doc/html/appdev/y2038.html28
1 files changed, 13 insertions, 15 deletions
diff --git a/doc/html/appdev/y2038.html b/doc/html/appdev/y2038.html
index 9b5959cb4497..ec63517adc53 100644
--- a/doc/html/appdev/y2038.html
+++ b/doc/html/appdev/y2038.html
@@ -1,33 +1,31 @@
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>Year 2038 considerations for uses of krb5_timestamp &mdash; MIT Kerberos Documentation</title>
-
+ <title>Year 2038 considerations for uses of krb5_timestamp &#8212; MIT Kerberos Documentation</title>
<link rel="stylesheet" href="../_static/agogo.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/kerb.css" type="text/css" />
-
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '1.21.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
- HAS_SOURCE: true
+ HAS_SOURCE: true,
+ SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
+ <link rel="index" title="Index" href="../genindex.html" />
+ <link rel="search" title="Search" href="../search.html" />
<link rel="copyright" title="Copyright" href="../copyright.html" />
- <link rel="top" title="MIT Kerberos Documentation" href="../index.html" />
- <link rel="up" title="For application developers" href="index.html" />
<link rel="next" title="Differences between Heimdal and MIT Kerberos API" href="h5l_mit_apidiff.html" />
<link rel="prev" title="Developing with GSSAPI" href="gssapi.html" />
</head>
@@ -61,7 +59,7 @@
<div class="documentwrapper">
<div class="bodywrapper">
- <div class="body">
+ <div class="body" role="main">
<div class="section" id="year-2038-considerations-for-uses-of-krb5-timestamp">
<h1>Year 2038 considerations for uses of krb5_timestamp<a class="headerlink" href="#year-2038-considerations-for-uses-of-krb5-timestamp" title="Permalink to this headline">ΒΆ</a></h1>
@@ -71,12 +69,12 @@ integer in January 2038. This documentation describes considerations
for consumers of the MIT krb5 libraries.</p>
<p>Applications or libraries which use libkrb5 and consume the timestamps
included in credentials or other structures make use of the
-<a class="reference internal" href="refs/types/krb5_timestamp.html#c.krb5_timestamp" title="krb5_timestamp"><tt class="xref c c-type docutils literal"><span class="pre">krb5_timestamp</span></tt></a> type. For historical reasons, krb5_timestamp
+<a class="reference internal" href="refs/types/krb5_timestamp.html#c.krb5_timestamp" title="krb5_timestamp"><code class="xref c c-type docutils literal"><span class="pre">krb5_timestamp</span></code></a> type. For historical reasons, krb5_timestamp
is a signed 32-bit integer, even on platforms where a larger type is
natively used to represent time values. To behave properly for time
values after January 2038, calling code should cast krb5_timestamp
values to uint32_t, and then to time_t:</p>
-<div class="highlight-python"><div class="highlight"><pre>(time_t)(uint32_t)timestamp
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="p">(</span><span class="n">time_t</span><span class="p">)(</span><span class="n">uint32_t</span><span class="p">)</span><span class="n">timestamp</span>
</pre></div>
</div>
<p>Used in this way, krb5_timestamp values can represent time values up
@@ -108,7 +106,7 @@ correctly after January 2038, provided that they use MIT krb5 release
<li class="toctree-l1"><a class="reference internal" href="../admin/index.html">For administrators</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">For application developers</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="gssapi.html">Developing with GSSAPI</a></li>
-<li class="toctree-l2 current"><a class="current reference internal" href="">Year 2038 considerations for uses of krb5_timestamp</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" href="#">Year 2038 considerations for uses of krb5_timestamp</a></li>
<li class="toctree-l2"><a class="reference internal" href="h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li>
<li class="toctree-l2"><a class="reference internal" href="init_creds.html">Initial credentials</a></li>
<li class="toctree-l2"><a class="reference internal" href="princ_handle.html">Principal manipulation and parsing</a></li>
@@ -141,8 +139,8 @@ correctly after January 2038, provided that they use MIT krb5 release
<div class="footer-wrapper">
<div class="footer" >
- <div class="right" ><i>Release: 1.16</i><br />
- &copy; <a href="../copyright.html">Copyright</a> 1985-2017, MIT.
+ <div class="right" ><i>Release: 1.21.1</i><br />
+ &copy; <a href="../copyright.html">Copyright</a> 1985-2023, MIT.
</div>
<div class="left">