File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public static KeyFactory getKeyFactory(String algorithm) throws NoSuchAlgorithmE
79
79
log .debug ("Caught {}. Attempting fallback to BouncyCastle..." , e .toString ());
80
80
try {
81
81
return KeyFactory .getInstance (algorithm , BouncyCastleLoader .getProvider ());
82
- } catch (NoSuchAlgorithmException e2 ) {
82
+ } catch (NoSuchAlgorithmException | NoClassDefFoundError e2 ) {
83
83
throw e ;
84
84
}
85
85
}
@@ -95,7 +95,7 @@ public static Signature getSignature(String algorithm) throws NoSuchAlgorithmExc
95
95
log .debug ("Caught {}. Attempting fallback to BouncyCastle..." , e .toString ());
96
96
try {
97
97
return Signature .getInstance (algorithm , BouncyCastleLoader .getProvider ());
98
- } catch (NoSuchAlgorithmException e2 ) {
98
+ } catch (NoSuchAlgorithmException | NoClassDefFoundError e2 ) {
99
99
throw e ;
100
100
}
101
101
}
You can’t perform that action at this time.
0 commit comments