summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
d66848f)
Type: fix
Change-Id: Id1602981fcc6efed1b0efe79a1fc8177457acdb5
Signed-off-by: Yu Ping <ping.yu@intel.com>
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
+ rv = X509_STORE_load_file (om->cert_store, tm->ca_cert_path);
+#else
rv = X509_STORE_load_locations (om->cert_store, tm->ca_cert_path, 0);
rv = X509_STORE_load_locations (om->cert_store, tm->ca_cert_path, 0);
if (rv < 0)
{
clib_warning ("failed to load ca certificate");
if (rv < 0)
{
clib_warning ("failed to load ca certificate");