mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
CORDA-1937: Do not ignore alias
parameter passed in. (#5314)
By now we were lucky because all the time `X509Utilities.CORDA_ROOT_CA` been used as an input parameter.
This commit is contained in:
parent
a204b50f5b
commit
4e66885cf9
@ -45,7 +45,7 @@ interface CertificateStore : Iterable<Pair<String, X509Certificate>> {
|
||||
|
||||
operator fun set(alias: String, certificate: X509Certificate) {
|
||||
update {
|
||||
internal.addOrReplaceCertificate(X509Utilities.CORDA_ROOT_CA, certificate)
|
||||
internal.addOrReplaceCertificate(alias, certificate)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user