libpurple/certificate.c

changeset 23473
df05ffc37ed0
parent 23451
a426760d244d
child 24014
9abbc8608b3c
equal deleted inserted replaced
23472:47e62844487f 23473:df05ffc37ed0
743 if (NULL == x509_ca_paths) { 743 if (NULL == x509_ca_paths) {
744 #ifdef _WIN32 744 #ifdef _WIN32
745 x509_ca_paths = g_list_append(NULL, g_build_filename(DATADIR, 745 x509_ca_paths = g_list_append(NULL, g_build_filename(DATADIR,
746 "ca-certs", NULL)); 746 "ca-certs", NULL));
747 #else 747 #else
748 # ifdef SSL_CERTIFICATES_DIR
749 x509_ca_paths = g_list_append(NULL, SSL_CERTIFICATES_DIR);
750 # else
748 x509_ca_paths = g_list_append(NULL, g_build_filename(DATADIR, 751 x509_ca_paths = g_list_append(NULL, g_build_filename(DATADIR,
749 "purple", "ca-certs", NULL)); 752 "purple", "ca-certs", NULL));
753 # endif
750 #endif 754 #endif
751 } 755 }
752 756
753 /* Attempt to initialize now, but if it doesn't work, that's OK; 757 /* Attempt to initialize now, but if it doesn't work, that's OK;
754 it will get done later */ 758 it will get done later */

mercurial