Store canonical encodings of Name structures. Update X509_NAME_cmp() to use
[oweals/openssl.git] / crypto / x509 / x509.h
index f9d7e56219e672ee3d3b61f4273cbb026a2d49eb..b06863291083ebe860bf45c30662a172186335f5 100644 (file)
@@ -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)