diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-01-14 14:07:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-01-14 14:07:10 +0000 |
commit | 6308af199d97d1163d4317557e2d655d7aa211ae (patch) | |
tree | b51511bb05522efb3853cad6b75f4a4332cc5ba1 /crypto/pkcs12/pkcs12.h | |
parent | 8e5b6314ef3dd6de9188614ff356c0388fc37134 (diff) |
Change PKCS#12 key derivation routines to cope with
non null terminated passwords.
Diffstat (limited to 'crypto/pkcs12/pkcs12.h')
-rw-r--r-- | crypto/pkcs12/pkcs12.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs12/pkcs12.h b/crypto/pkcs12/pkcs12.h index 6492a910e2..1531ee7926 100644 --- a/crypto/pkcs12/pkcs12.h +++ b/crypto/pkcs12/pkcs12.h @@ -230,7 +230,7 @@ int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, EVP_MD *md_type); int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, EVP_MD *md_type); -unsigned char *asc2uni(const char *asc, unsigned char **uni, int *unilen); +unsigned char *asc2uni(const char *asc, int asclen, unsigned char **uni, int *unilen); char *uni2asc(unsigned char *uni, int unilen); DECLARE_ASN1_FUNCTIONS(PKCS12) |