diff options
author | Abhishek Koneru <akoneru@redhat.com> | 2012-06-27 14:27:55 -0400 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-07-02 12:43:57 -0500 |
commit | 10502e34a10fb3b672aef1161cc271003c7806ba (patch) | |
tree | 4c3c5e8fc8c99759953b52518f78e8ba3100aa17 /base/silent/src | |
parent | d2b06ee1f9fcc42be83f04f64559cfa6317bda67 (diff) | |
download | pki-10502e34a10fb3b672aef1161cc271003c7806ba.tar.gz pki-10502e34a10fb3b672aef1161cc271003c7806ba.tar.xz pki-10502e34a10fb3b672aef1161cc271003c7806ba.zip |
Fixes for Guarded_By_Violation issues shown in Coverity
Diffstat (limited to 'base/silent/src')
-rw-r--r-- | base/silent/src/com/netscape/pkisilent/common/ComCrypto.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/silent/src/com/netscape/pkisilent/common/ComCrypto.java b/base/silent/src/com/netscape/pkisilent/common/ComCrypto.java index 48b364349..7abe775a3 100644 --- a/base/silent/src/com/netscape/pkisilent/common/ComCrypto.java +++ b/base/silent/src/com/netscape/pkisilent/common/ComCrypto.java @@ -141,7 +141,7 @@ public class ComCrypto { certpackage = cd; } - public void setGenerateRequest(boolean c) { + public synchronized void setGenerateRequest(boolean c) { generaterequest = c; } @@ -167,7 +167,7 @@ public class ComCrypto { dualkey = dkey; } - public String getPkcs10Request() { + public synchronized String getPkcs10Request() { return pkcs10request; } |