Skip to content

Commit

Permalink
Use conf->ocsp_store, as it is always set.
Browse files Browse the repository at this point in the history
Which helps with RadSec connections
  • Loading branch information
alandekok committed Sep 21, 2016
1 parent 8097606 commit f2ea078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/tls.c
Expand Up @@ -1921,7 +1921,7 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx)

identity = (char **)SSL_get_ex_data(ssl, FR_TLS_EX_INDEX_IDENTITY);
#ifdef HAVE_OPENSSL_OCSP_H
ocsp_store = (X509_STORE *)SSL_get_ex_data(ssl, FR_TLS_EX_INDEX_STORE);
ocsp_store = conf->ocsp_store;
#endif

talloc_ctx = SSL_get_ex_data(ssl, FR_TLS_EX_INDEX_TALLOC);
Expand Down

0 comments on commit f2ea078

Please sign in to comment.