Extend all the loading functions to take an engine pointer, a pass
authorRichard Levitte <levitte@openssl.org>
Wed, 30 May 2001 15:29:28 +0000 (15:29 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 30 May 2001 15:29:28 +0000 (15:29 +0000)
commit30b4c2724ea2a078d921ba16a51b8d3e2ad85c42
tree551cb4a7545944a838e3a1f571dabce14bea1a24
parent2adc929367129a845ae2aa8358e645d4dbb9c624
Extend all the loading functions to take an engine pointer, a pass
string (some engines may have certificates protected by a PIN!) and
a description to put into error messages.

Also, have our own password callback that we can send both a password
and some prompt info to.  The default password callback in EVP assumes
that the passed parameter is a password, which isn't always the right
thing, and the ENGINE code (at least the nCipher one) makes other
assumptions...

Also, in spite of having the functions to load keys, some utilities
did the loading all by themselves...  That's changed too.
apps/apps.c
apps/apps.h
apps/ca.c
apps/dgst.c
apps/ocsp.c
apps/req.c
apps/rsautl.c
apps/smime.c
apps/x509.c