File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/checkmarx/ast/wrapper Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 32
32
distribution : ' temurin'
33
33
server-id : ossrh
34
34
server-username : MAVEN_USERNAME
35
- server-password : MAVEN_PASSWORD
35
+ server-password : ${{ secrets.OSSRH_TOKEN }}
36
36
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
37
37
gpg-passphrase : MAVEN_GPG_PASSPHRASE
38
38
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ private Execution() {
31
31
private static final String FILE_NAME_WINDOWS = "cx.exe" ;
32
32
private static final String LINE_SEPARATOR = System .getProperty ("line.separator" );
33
33
private static final String TEMP_DIR = System .getProperty ("java.io.tmpdir" );
34
+ private static final String MD5_ALGORITHM = "MD5" ;
34
35
35
36
private static String executable = null ;
36
37
@@ -161,7 +162,7 @@ private static String md5(InputStream a) {
161
162
String md5 = null ;
162
163
final byte [] buf = new byte [8192 ];
163
164
try {
164
- MessageDigest md = MessageDigest .getInstance ("MD5" );
165
+ MessageDigest md = MessageDigest .getInstance (MD5_ALGORITHM );
165
166
int i ;
166
167
while ((i = a .read (buf )) != -1 ) {
167
168
md .update (buf , 0 , i );
You can’t perform that action at this time.
0 commit comments