X509_NAME canon_enc, canon_enclen

Bruce Stephens bruce.r.stephens at gmail.com
Fri Sep 27 16:39:41 UTC 2019

I have some code accessing these fields from X509_NAME pointers, but
obviously that's not allowed in 1.1.

I think the code can be restructured to use X509_NAME_cmp
instead. Maybe.

But before I start that, is there some strong reason for not offering an
accessor function? Something like

  X509_NAME_get0_canonenc(const X509_NAME*, const unsigned char* *canonenc,
      unsigned int *canon_len)

More information about the openssl-users mailing list