Re: [openssl-users] i2d and d2i fucntions

2015-02-12 Thread Rajeswari K
Hello Dave, Am really thankful to you. I am unaware that i2d_EC_PUBKEY() or i2d_x function will move the pointer to after the encoded data. Due to which am seeing unexpected data. Based on your reply, i tried to print the data from the memory address which i allocated. Now the data is exactly

Re: [openssl-users] i2d and d2i fucntions

2015-02-12 Thread Dave Thompson
> From: openssl-users On Behalf Of Rajeswari K > Sent: Thursday, February 12, 2015 00:40 > I have a query on d2i_PUBKEY() and i2d_PUBKEY(). > i have a EC public key in form of character buffer. > Have inputted this character buffer to d2i_PUBKEY() and got EVP_PKEY format > EC key. To be exact

Re: [openssl-users] OpenSSL 1.0.1l: X509_NAME_add_entry_by_txt broken?

2015-02-12 Thread Jörg Eyring
Am 12.02.2015 um 01:28 schrieb Dave Thompson : > ASN1 strings set with the "generic" MBSTRING_ types that are for > known/standard OID-value pairs are constrained by tbl_standard in > asn1/a_strnid.c. A few like Country are forced to Printable as per standard. > > Those standardized as Director

[openssl-users] Code Reformat blog post

2015-02-12 Thread Matt Caswell
I have posted a new blog article covering the recent reformat activity: https://www.openssl.org/blog/blog/2015/02/11/code-reformat-finished/ It's basically a review of what we did, how we did it and the problems we encountered. It also discusses the various tags that we've created in the repo, and