diff options
author | Richard Levitte <levitte@openssl.org> | 2017-06-28 13:01:29 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-06-28 14:24:28 +0200 |
commit | a2755b1695e8f58c3b531a53058aba5146ea075b (patch) | |
tree | f91cc52c8551abc2fd80daf6e8c4869131cdc3e8 /test | |
parent | 3816be5d4a6a1f17dc4b7d398c42398c48e62e1a (diff) |
test/uitest.c's pem_password_cb returned 1 instead of the password length
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3791)
Diffstat (limited to 'test')
-rw-r--r-- | test/uitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uitest.c b/test/uitest.c index 68b4b8cbd9..469e2304f8 100644 --- a/test/uitest.c +++ b/test/uitest.c @@ -24,7 +24,7 @@ char *default_config_file = NULL; static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata) { OPENSSL_strlcpy(buf, (char *)userdata, (size_t)size); - return 1; + return strlen(buf); } /* |