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 3232 distribution : ' temurin'
3333 server-id : ossrh
3434 server-username : MAVEN_USERNAME
35- server-password : MAVEN_PASSWORD
35+ server-password : ${{ secrets.OSSRH_TOKEN }}
3636 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
3737 gpg-passphrase : MAVEN_GPG_PASSPHRASE
3838
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ private Execution() {
3131 private static final String FILE_NAME_WINDOWS = "cx.exe" ;
3232 private static final String LINE_SEPARATOR = System .getProperty ("line.separator" );
3333 private static final String TEMP_DIR = System .getProperty ("java.io.tmpdir" );
34+ private static final String MD5_ALGORITHM = "MD5" ;
3435
3536 private static String executable = null ;
3637
@@ -161,7 +162,7 @@ private static String md5(InputStream a) {
161162 String md5 = null ;
162163 final byte [] buf = new byte [8192 ];
163164 try {
164- MessageDigest md = MessageDigest .getInstance ("MD5" );
165+ MessageDigest md = MessageDigest .getInstance (MD5_ALGORITHM );
165166 int i ;
166167 while ((i = a .read (buf )) != -1 ) {
167168 md .update (buf , 0 , i );
You can’t perform that action at this time.
0 commit comments