We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e761356 + 728e90c commit e8805adCopy full SHA for e8805ad
1 file changed
src/java/com/wolfssl/provider/jsse/WolfSSLParameters.java
@@ -67,6 +67,9 @@ protected synchronized WolfSSLParameters copy() {
67
}
68
69
String[] getCipherSuites() {
70
+ if (this.cipherSuites == null) {
71
+ return null;
72
+ }
73
return this.cipherSuites.clone();
74
75
@@ -81,6 +84,9 @@ void setCipherSuites(String[] cipherSuites) {
81
84
82
85
83
86
synchronized String[] getProtocols() {
87
+ if (this.protocols == null) {
88
89
90
return this.protocols.clone();
91
92
@@ -182,6 +188,9 @@ boolean getUseCipherSuitesOrder() {
182
188
183
189
184
190
String[] getApplicationProtocols() {
191
+ if (this.applicationProtocols == null) {
192
193
185
194
return this.applicationProtocols.clone();
186
195
187
196
0 commit comments