[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Richard Levitte
levitte at openssl.org
Mon May 16 16:35:25 UTC 2016
The branch OpenSSL_1_0_2-stable has been updated
via 2a73576f89b7271018c064c7a4632f24c6dcfe65 (commit)
from 05fc0bae8661aaca9b4c11071c1bd7bf06d1b90f (commit)
- Log -----------------------------------------------------------------
commit 2a73576f89b7271018c064c7a4632f24c6dcfe65
Author: Richard Levitte <levitte at openssl.org>
Date: Mon May 16 15:39:50 2016 +0200
Documentation: Clarify sizes for UI_add_input_string()
The given sizes to not include the final NUL character.
RT#2622
Reviewed-by: Matt Caswell <matt at openssl.org>
(cherry picked from commit 727ee8cfeb2893d5aec4a6e571e9adf0667e9135)
-----------------------------------------------------------------------
Summary of changes:
doc/crypto/ui.pod | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/crypto/ui.pod b/doc/crypto/ui.pod
index 04f8e9c..2e94d8c 100644
--- a/doc/crypto/ui.pod
+++ b/doc/crypto/ui.pod
@@ -109,12 +109,12 @@ that's connected to it, like duplicated input strings, results and others.
UI_add_input_string() and UI_add_verify_string() add a prompt to the UI,
as well as flags and a result buffer and the desired minimum and maximum
-sizes of the result. The given information is used to prompt for
-information, for example a password, and to verify a password (i.e. having
-the user enter it twice and check that the same string was entered twice).
-UI_add_verify_string() takes and extra argument that should be a pointer
-to the result buffer of the input string that it's supposed to verify, or
-verification will fail.
+sizes of the result, not counting the final NUL character. The given
+information is used to prompt for information, for example a password,
+and to verify a password (i.e. having the user enter it twice and check
+that the same string was entered twice). UI_add_verify_string() takes
+and extra argument that should be a pointer to the result buffer of the
+input string that it's supposed to verify, or verification will fail.
UI_add_input_boolean() adds a prompt to the UI that's supposed to be answered
in a boolean way, with a single character for yes and a different character
More information about the openssl-commits
mailing list