Skip to content

Commit a8efb74

Browse files
lilgreenbirdrene-ye
authored andcommitted
synchronized AE native calls (#1220)
1 parent 4d1598b commit a8efb74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/microsoft/sqlserver/jdbc/AuthenticationJNI.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ private static native FedAuthDllInfo ADALGetAccessTokenForWindowsIntegrated(Stri
157157
String servicePrincipalName, String clientConnectionId, String clientId, long expirationFileTime,
158158
java.util.logging.Logger log);
159159

160-
static native byte[] DecryptColumnEncryptionKey(String masterKeyPath, String encryptionAlgorithm,
160+
static synchronized native byte[] DecryptColumnEncryptionKey(String masterKeyPath, String encryptionAlgorithm,
161161
byte[] encryptedColumnEncryptionKey) throws DLLException;
162162

163-
static native boolean VerifyColumnMasterKeyMetadata(String keyPath, boolean allowEnclaveComputations,
163+
static synchronized native boolean VerifyColumnMasterKeyMetadata(String keyPath, boolean allowEnclaveComputations,
164164
byte[] signature) throws DLLException;
165165
}

0 commit comments

Comments
 (0)