Duplicating const X509_NAME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I was wondering how to properly make a clone of a const X509_NAME in
OpenSSL 1.1?

In particular, I am obtaining a const X509_NAME* via OCSP_resp_get0_id()
and would like to pass it to X509_find_by_subject() which takes a
X509_NAME* (non-const). I looked into using X509_NAME_dup() to obtain a
local copy -- which looked like the obvious approach -- but that also
only takes a non-const parameter.

Any ideas? With

Thanks and kind regards
Sascha
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux