diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-27 19:31:55 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-27 19:31:55 +0000 |
commit | 08df41277a2e0048af93ae33094923040a4e7f13 (patch) | |
tree | a33d0f483ffe9c07d03ddb1f7fe70703fcee4815 /crypto/pem | |
parent | ac495542a663b241a598e9bd13bf8d2d7b8720be (diff) | |
download | openssl-08df41277a2e0048af93ae33094923040a4e7f13.tar.gz |
PR: 1904
Submitted by: David Woodhouse <dwmw2@infradead.org>
Pass passphrase minimum length down to UI.
Diffstat (limited to 'crypto/pem')
-rw-r--r-- | crypto/pem/pem_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c index 27f0544c06..18cde7c2d9 100644 --- a/crypto/pem/pem_lib.c +++ b/crypto/pem/pem_lib.c @@ -105,7 +105,7 @@ int PEM_def_callback(char *buf, int num, int w, void *key) for (;;) { - i=EVP_read_pw_string(buf,num,prompt,w); + i=EVP_read_pw_string_min(buf,MIN_LENGTH,num,prompt,w); if (i != 0) { PEMerr(PEM_F_PEM_DEF_CALLBACK,PEM_R_PROBLEMS_GETTING_PASSWORD); |