diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-27 19:27:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-27 19:27:51 +0000 |
commit | 9caf25d1449e78d0ab145c5bde936d4760bc528f (patch) | |
tree | 43028d29f9c34e811abf6659e06596b9075469f2 /crypto/pem | |
parent | 348620c7ac710ab22cffc3d8d474d4b62040e0d4 (diff) |
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 a547fdc933..42e4861bc1 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); |