Only create CSR once per app invocation
Summary: The CSR has no need to change, don't recreate it every time we need it. Useful for the physical iOS case especially, because it connects to the portforwarder and keeps attempting to send a CSR. Reviewed By: passy Differential Revision: D14131617 fbshipit-source-id: 82a69d5aff813d77fa05dd13fc2441b784766d99
This commit is contained in:
committed by
Facebook Github Bot
parent
b594fb7c76
commit
9c87dfe230
@@ -268,7 +268,7 @@ bool FlipperConnectionManagerImpl::isCertificateExchangeNeeded() {
|
||||
|
||||
void FlipperConnectionManagerImpl::requestSignedCertFromFlipper() {
|
||||
auto generatingCSR = flipperState_->start("Generate CSR");
|
||||
std::string csr = contextStore_->createCertificateSigningRequest();
|
||||
std::string csr = contextStore_->getCertificateSigningRequest();
|
||||
generatingCSR->complete();
|
||||
|
||||
folly::dynamic message =
|
||||
|
||||
Reference in New Issue
Block a user