> I want to copy an x509_store variable in another one which have the same
> type (x509_store).
> is there a method like (memcpy in c++) which can copy from x509_store to
> x509_store? Or, how we can define the size of the struct x509_store to use
>
> the function memcpy(x509_stor * x, x509_store * y, int size-of-y)

it's not int it's size_t and that's an important difference.

what you want is memcpy(x, y, sizeof(x509_store));, I guess, but
that's more of a C question than an openssl question


-- 
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to