Add UI functions to set result with explicit length and to retrieve the length
[openssl.git] / crypto / ui / ui_locl.h
index 1b0d596..19b33b8 100644 (file)
@@ -71,6 +71,7 @@ struct ui_string_st {
                                  * Otherwise, it may be allocated by the UI
                                  * routine, meaning result_minsize is going
                                  * to be overwritten. */
+    size_t result_len;
     union {
         struct {
             int result_minsize; /* Input: minimum required size of the