Hi!

I work for a company which have sourced and paid for wolfSSL. We need to have support for userid/UID/0.9.2342.19200300.100.1.1 in the Subject field of a CSR. I attach a patch on 5.1.1/master which holds updates that make your code support  it. An obvious patch work but you will easily get the idea of what I ask for.

It has been tested by reading th DER-formatted file back by using openssl and it seems to work:

> openssl req -noout -text -inform DER -in csr.der 
Certificate Request:
    Data:
        Version: 3 (0x2)
        Subject: CN = name, serialNumber = number, UID = This is what is added by the patch
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (4096 bit)

I'd appreciate it if you could get back to me regarding this matter.

Brs
/Olle