Add UI functions to set result with explicit length and to retrieve the length
authorRichard Levitte <levitte@openssl.org>
Sat, 1 Jul 2017 10:39:51 +0000 (12:39 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 8 Sep 2017 18:06:06 +0000 (20:06 +0200)
commit4e049e2c3658ee2bc6e63e696a3779d2f9eed377
tree3991cd2f4d5fb0d64b515dcc5bcc8a12443454e7
parenta8c5ed812d1537728807059b4182d358bb2ca7c1
Add UI functions to set result with explicit length and to retrieve the length

This allows completely arbitrary passphrases to be entered, including
NUL bytes.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/3821)
crypto/err/openssl.txt
crypto/ui/ui_err.c
crypto/ui/ui_lib.c
crypto/ui/ui_locl.h
crypto/ui/ui_util.c
doc/man3/UI_STRING.pod
doc/man3/UI_new.pod
include/openssl/ui.h
include/openssl/uierr.h
util/libcrypto.num