diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-11-27 01:14:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-11-27 01:14:04 +0000 |
commit | 9868232ae1c0aaac34e0f96643031d68a5e417d3 (patch) | |
tree | da774d784d8d50dd263846e1a6cabf49fe842918 /crypto/asn1/a_digest.c | |
parent | d4cec6a13dfb2c1d1ddf66dff499aaf21bbbf002 (diff) |
Initial trust code: allow setting of trust checking functions
in a table. Doesn't do too much yet.
Make the -<digestname> options in 'x509' affect all relevant
options.
Change the name of the 'notrust' options to 'reject' as this
causes less confusion and is a better description of the
effect.
A few constification changes.
Diffstat (limited to 'crypto/asn1/a_digest.c')
-rw-r--r-- | crypto/asn1/a_digest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/a_digest.c b/crypto/asn1/a_digest.c index c838f60b46..3370aae998 100644 --- a/crypto/asn1/a_digest.c +++ b/crypto/asn1/a_digest.c @@ -69,8 +69,8 @@ #include <openssl/buffer.h> #include <openssl/x509.h> -int ASN1_digest(int (*i2d)(), EVP_MD *type, char *data, unsigned char *md, - unsigned int *len) +int ASN1_digest(int (*i2d)(), const EVP_MD *type, char *data, + unsigned char *md, unsigned int *len) { EVP_MD_CTX ctx; int i; |