Mercurial > trustbridge
comparison cinst/main.c @ 161:a4b1c77f3e6a
Change install_certificates_win to generic write_stores_win
This function will also handle the removal to avoid
redundancies in store handling
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 25 Mar 2014 10:08:31 +0000 |
parents | dbbd761959ae |
children | 8cfcd38a9bb3 |
comparison
equal
deleted
inserted
replaced
160:bf4bfd8843bd | 161:a4b1c77f3e6a |
---|---|
231 strv_free(all_certs); | 231 strv_free(all_certs); |
232 all_certs = NULL; | 232 all_certs = NULL; |
233 } | 233 } |
234 | 234 |
235 #ifdef WIN32 | 235 #ifdef WIN32 |
236 return install_certificates_win((const char**) to_install, true); | 236 return write_stores_win (to_install, to_remove, true); |
237 //remove_certificates_win((const char**) to_remove, 1); | |
238 #endif | 237 #endif |
239 | 238 |
240 /* Make valgrind happy */ | 239 /* Make valgrind happy */ |
241 strv_free(to_install); | 240 strv_free(to_install); |
242 strv_free(to_remove); | 241 strv_free(to_remove); |