|
|
@ -4,6 +4,7 @@ |
|
|
|
#include "SlotList.h" |
|
|
|
#include "SlotList.h" |
|
|
|
#include "SecOpGuard.h" |
|
|
|
#include "SecOpGuard.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <openssl/ssl.h> |
|
|
|
#include <openssl/objects.h> |
|
|
|
#include <openssl/objects.h> |
|
|
|
#include <openssl/crypto.h> |
|
|
|
#include <openssl/crypto.h> |
|
|
|
#include <openssl/engine.h> |
|
|
|
#include <openssl/engine.h> |
|
|
@ -129,7 +130,7 @@ void CertificateList::init(SlotList& slots) |
|
|
|
for(cert_map_t::const_iterator it = cert_temp_map.begin(); it != cert_temp_map.end();++it)
|
|
|
|
for(cert_map_t::const_iterator it = cert_temp_map.begin(); it != cert_temp_map.end();++it)
|
|
|
|
{ |
|
|
|
{ |
|
|
|
const act::Blob& certblob = it->first; |
|
|
|
const act::Blob& certblob = it->first; |
|
|
|
const unsigned char *cbp = &certblob[0]; |
|
|
|
unsigned char *cbp = const_cast<unsigned char*>(&certblob[0]); |
|
|
|
|
|
|
|
|
|
|
|
cert_p->cert = d2i_X509(NULL, &cbp, certblob.size()); |
|
|
|
cert_p->cert = d2i_X509(NULL, &cbp, certblob.size()); |
|
|
|
|
|
|
|
|
|
|
|