equal
deleted
inserted
replaced
54 * derivative of this code cannot be changed. i.e. this code cannot simply be |
54 * derivative of this code cannot be changed. i.e. this code cannot simply be |
55 * copied and put under another distribution licence |
55 * copied and put under another distribution licence |
56 * [including the GNU Public Licence.] |
56 * [including the GNU Public Licence.] |
57 */ |
57 */ |
58 /* |
58 /* |
59 © Portions copyright (c) 2006 Nokia Corporation. All rights reserved. |
59 © Portions copyright (c) 2006,2010 Nokia Corporation. All rights reserved. |
60 */ |
60 */ |
61 |
61 |
62 |
62 |
63 #include <stdio.h> |
63 #include <stdio.h> |
64 #include <time.h> |
64 #include <time.h> |
131 case X509_L_FILE_LOAD: |
131 case X509_L_FILE_LOAD: |
132 if (argl == X509_FILETYPE_DEFAULT) |
132 if (argl == X509_FILETYPE_DEFAULT) |
133 { |
133 { |
134 |
134 |
135 #ifdef SYMBIAN |
135 #ifdef SYMBIAN |
136 ok = X509_add_symbian_certs(ctx->store_ctx); |
136 ok = X509_add_symbian_certsL(ctx->store_ctx); |
137 #else |
137 #else |
138 file = (char *)Getenv(X509_get_default_cert_file_env()); |
138 file = (char *)Getenv(X509_get_default_cert_file_env()); |
139 if (file) |
139 if (file) |
140 ok = (X509_load_cert_crl_file(ctx,file, |
140 ok = (X509_load_cert_crl_file(ctx,file, |
141 X509_FILETYPE_PEM) != 0); |
141 X509_FILETYPE_PEM) != 0); |