Hi,

I have to verifiy the signature of many messages sent from a client to a
server. So, i want to gard a copy of the certificate because it can be lost
after verification.

The problem is resolved. I do it defferently. The matter was in my C++
algorithm.

Thank you for your help.

2010/11/4 Dr. Stephen Henson <st...@openssl.org>

> On Thu, Nov 04, 2010, fatma sarhan wrote:
>
> > Hi,
> >
> > 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)
> >
>
> You can't just memcpy() one X509_STORE to another because it contains
> internal
> pointers to various structures too.
>
> Why do you need to copy it? There may be an alternative way to achieve what
> you want.
>
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>



-- 
--------------------
Amicalement

Fatma

Reply via email to