summaryrefslogtreecommitdiffstats
path: root/doc/internal
diff options
context:
space:
mode:
authorDaniel Fiala <daniel@openssl.org>2022-06-20 18:40:30 +0200
committerTomas Mraz <tomas@openssl.org>2022-06-27 10:58:40 +0200
commit59196250cb45ecd128d2f8bbc47de612167606d3 (patch)
tree87629f973c88b5f3da5fe0651549bad9d30c45af /doc/internal
parent48320997b49b07b5abadec89c7fbe5d5f3d41da4 (diff)
der_writer: Use uint32_t instead of long.
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18615)
Diffstat (limited to 'doc/internal')
-rw-r--r--doc/internal/man3/ossl_DER_w_bn.pod6
-rw-r--r--doc/internal/man7/DERlib.pod2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/internal/man3/ossl_DER_w_bn.pod b/doc/internal/man3/ossl_DER_w_bn.pod
index a5bdd848bf..3d67067a9e 100644
--- a/doc/internal/man3/ossl_DER_w_bn.pod
+++ b/doc/internal/man3/ossl_DER_w_bn.pod
@@ -2,7 +2,7 @@
=head1 NAME
-ossl_DER_w_boolean, ossl_DER_w_ulong, ossl_DER_w_bn, ossl_DER_w_null,
+ossl_DER_w_boolean, ossl_DER_w_uint32, ossl_DER_w_bn, ossl_DER_w_null,
ossl_DER_w_octet_string, ossl_DER_w_octet_string_uint32
- internal DER writers for DER primitives
@@ -11,7 +11,7 @@ ossl_DER_w_octet_string, ossl_DER_w_octet_string_uint32
#include "internal/der.h"
int ossl_DER_w_boolean(WPACKET *pkt, int tag, int b);
- int ossl_DER_w_ulong(WPACKET *pkt, int tag, unsigned long v);
+ int ossl_DER_w_uint32(WPACKET *pkt, int tag, uint32_t v);
int ossl_DER_w_bn(WPACKET *pkt, int tag, const BIGNUM *v);
int ossl_DER_w_null(WPACKET *pkt, int tag);
int ossl_DER_w_octet_string(WPACKET *pkt, int tag,
@@ -29,7 +29,7 @@ ossl_DER_w_boolean() writes the primitive BOOLEAN using the value I<b>.
Any value that evaluates as true will render a B<true> BOOLEAN,
otherwise a B<false> BOOLEAN.
-ossl_DER_w_ulong() and ossl_DER_w_bn() both write the primitive INTEGER using
+ossl_DER_w_uint32() and ossl_DER_w_bn() both write the primitive INTEGER using
the value I<v>.
=for comment Other similar functions for diverse C integers should be
diff --git a/doc/internal/man7/DERlib.pod b/doc/internal/man7/DERlib.pod
index 3129a9b74d..f4f3abab51 100644
--- a/doc/internal/man7/DERlib.pod
+++ b/doc/internal/man7/DERlib.pod
@@ -118,7 +118,7 @@ value:
{
return ossl_DER_w_begin_sequence(pkt, tag)
&& (ossl_DER_w_begin_sequence(pkt, DER_NO_CONTEXT)
- && ossl_DER_w_ulong(pkt, 2, 20)
+ && ossl_DER_w_uint32(pkt, 2, 20)
&& ossl_DER_w_precompiled(pkt, 1,
der_mgf1SHA256Identifier,
sizeof(der_mgf1SHA256Identifier))