| skipped 111 lines |
112 | 112 | | * Previously the code used this form: |
113 | 113 | | * SSL_CTX_load_verify_locations (ssldata->ctx, `$certificate_file`, NULL); |
114 | 114 | | */ |
115 | | - | static int ssl_load_certificates(SSL_CTX *ctx) |
| 115 | + | static bool ssl_load_certificates(SSL_CTX *ctx) |
116 | 116 | | { |
117 | | - | int rc = 1; |
| 117 | + | bool rc = true; |
118 | 118 | | |
119 | 119 | | mutt_debug(LL_DEBUG2, "loading trusted certificates\n"); |
120 | 120 | | X509_STORE *store = SSL_CTX_get_cert_store(ctx); |
| skipped 25 lines |
146 | 146 | | } |
147 | 147 | | /* PEM_read_X509 sets the error NO_START_LINE on eof */ |
148 | 148 | | if (ERR_GET_REASON(ERR_peek_last_error()) != PEM_R_NO_START_LINE) |
149 | | - | rc = 0; |
| 149 | + | rc = false; |
150 | 150 | | ERR_clear_error(); |
151 | 151 | | |
152 | 152 | | X509_free(cert); |
| skipped 1280 lines |