Skip to content

Commit

Permalink
create new cert_store before reloading CAs and CRLs
Browse files Browse the repository at this point in the history
Conflicts:
	ChangeLog
  • Loading branch information
Fabian Mauchle authored and Linus Nordberg committed Aug 1, 2017
1 parent 9a565fe commit 4fa79aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2017-10-?? 1.6.9
Bug fixes:
- Completely reload CAs and CRLs with cacheExpiry (RADSECPROXY-50).

2016-09-21 1.6.8
Bug fixes:
- Stop waiting on writable when reading a TCP socket.
Expand Down
1 change: 1 addition & 0 deletions tlscommon.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ static int tlsaddcacrl(SSL_CTX *ctx, struct tls *conf) {
X509_STORE *x509_s;
unsigned long error;

SSL_CTX_set_cert_store(ctx, X509_STORE_new());
if (!SSL_CTX_load_verify_locations(ctx, conf->cacertfile, conf->cacertpath)) {
while ((error = ERR_get_error()))
debug(DBG_ERR, "SSL: %s", ERR_error_string(error, NULL));
Expand Down

0 comments on commit 4fa79aa

Please sign in to comment.