File tree 1 file changed +1
-9
lines changed
smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/util
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 17
17
package org .jivesoftware .smackx .ox .util ;
18
18
19
19
import org .jivesoftware .smack .initializer .UrlInitializer ;
20
- import org .jivesoftware .smack .util .SecurityUtil ;
21
-
22
- import org .bouncycastle .jce .provider .BouncyCastleProvider ;
23
20
24
21
/**
25
22
* Initializer class which registers ExtensionElementProviders on startup.
26
23
*/
27
24
public class OpenPgpInitializer extends UrlInitializer {
28
25
29
- static {
30
- // Remove any BC providers and add a fresh one.
31
- // This is done, since older Android versions ship with a crippled BC provider.
32
- SecurityUtil .ensureProviderAtFirstPosition (BouncyCastleProvider .class );
33
- }
34
-
35
26
@ Override
36
27
protected String getProvidersUri () {
37
28
return "classpath:org.jivesoftware.smackx.ox/openpgp.providers" ;
38
29
}
30
+
39
31
}
You can’t perform that action at this time.
0 commit comments