DN codepage problems

TM <[email protected]> Tue, 09 Dec 2014 04:16:03 +0100
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Hello.

I run into a new sort of problems.
with
err := cryptSetAttributeString(CertReq.Handle, CRYPT_CERTINFO_COMMONNAME, Pointer(FcommonName), Length(FcommonName));

I am getting -3 error (bad argument 3) if FcommonName has only some of national win1250 letters
http://en.wikipedia.org/wiki/Windows-1250
ń - 241
ś - 156
ź - 159

These works fine:
ć - 230
ł - 179
ż - 191


ErrorLocation = 2105
ErrorType = 2
Error occurred: cryptSetAttributeString: Bad argument, parameter 3

Best regards
Tomasz Markiewicz


_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.