Purpose and trust setting functions for X509_STORE.

Tidy existing code.
10 files changed