This commit is contained in:
liulu 2024-11-08 08:57:22 +08:00
parent 6d81a1cc09
commit fdcc750eee
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ public enum KeyUsage {
public static boolean hasUsage(int nowUsage, KeyUsage usage) {
return (nowUsage & usage.value) > 0;
return (nowUsage & usage.value) >= usage.value;
}
}

View File

@ -9,7 +9,7 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>chsm-model</artifactId>
<artifactId>chsm-params</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>

View File

@ -12,7 +12,7 @@
<version>1.0-SNAPSHOT</version>
<modules>
<module>chsm-web-server</module>
<module>chsm-model</module>
<module>chsm-params</module>
<module>chsm-web-manage</module>
<module>chsm-common</module>
</modules>