summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-07-18 12:36:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-07-18 12:36:19 +0000
commit450ea83495f8da9d9331da7a724514158d618a6f (patch)
tree2ea54540139764fb5347f7722aac81e2820f3951 /crypto/x509/x509.h
parentaf8c1d81a3366009fbf7b563ac629d6a33880012 (diff)
Store canonical encodings of Name structures. Update X509_NAME_cmp() to use
them.
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r--crypto/x509/x509.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index f9d7e56219..b068632910 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -190,6 +190,8 @@ struct X509_name_st
char *bytes;
#endif
unsigned long hash; /* Keep the hash around for lookups */
+ unsigned char *canon_enc;
+ int canon_enclen;
} /* X509_NAME */;
DECLARE_STACK_OF(X509_NAME)