summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-04-03 10:21:13 +0200
committerWerner Koch <wk@gnupg.org>2023-04-03 10:21:13 +0200
commit14835c5d7662ccc9c9e871ab5d9f2e5032880adc (patch)
treeb9b98d720f8f426c728239dd3330823f40c5819c
parentc118a8ddd0224f951f26ae78d58d0eed5ee35779 (diff)
downloadlibgcrypt-14835c5d7662ccc9c9e871ab5d9f2e5032880adc.tar.gz
doc: Add remark that leading zeroes are stripped from printed MPIs.
-- GnuPG-bug-id: 6435
-rw-r--r--doc/gcrypt.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index dd55600d..f6d755ed 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -5181,7 +5181,8 @@ Simple unsigned integer.
@noindent
Note that all of the above formats store the integer in big-endian
-format (MSB first).
+format (MSB first). Leading zeroes are stripped unless they are
+required to keep a value positive.
@end deftypefun