changeset 368:af6db116238d

Add javadoc url where the supported hash algorithms are described.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 17 Sep 2020 15:12:18 +0200 (2020-09-17)
parents 1d7f8e969c47
children aa2e5d8c5047
files src/main/java/nl/cwi/monetdb/mcl/net/MapiSocket.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/mcl/net/MapiSocket.java
+++ b/src/main/java/nl/cwi/monetdb/mcl/net/MapiSocket.java
@@ -450,6 +450,7 @@ public final class MapiSocket {
 				String algo;
 				String pwhash = chaltok[5];
 				/* NOTE: Java doesn't support RIPEMD160 :( */
+				/* see: https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#MessageDigest */
 				if (pwhash.equals("SHA512")) {
 					algo = "SHA-512";
 				} else if (pwhash.equals("SHA384")) {
@@ -1077,7 +1078,7 @@ public final class MapiSocket {
 	 * Destructor called by garbage collector before destroying this
 	 * object tries to disconnect the MonetDB connection if it has not
 	 * been disconnected already.
-	 * 
+	 *
 	 * @deprecated (since="9")
 	 */
 	@Override