6931562: Support SunMSCAPI Security Provider in Windows 64-bit releases of JVM
Reviewed-by: mullan
This commit is contained in:
parent
5d6ff7b933
commit
dc6eb040b7
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -44,11 +44,9 @@ PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-solaris
|
||||
|
||||
else # PLATFORM
|
||||
|
||||
# Register Microsoft CryptoAPI provider only on (non-64-bit) Windows platform.
|
||||
# Register Microsoft CryptoAPI provider only on Windows platform.
|
||||
ifeq ($(PLATFORM), windows)
|
||||
ifneq ($(ARCH_DATA_MODEL), 64)
|
||||
PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-windows
|
||||
endif
|
||||
PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-windows
|
||||
endif
|
||||
endif # PLATFORM
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -52,12 +52,10 @@ ifeq ($(ARCH_DATA_MODEL), 64)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Build Microsoft CryptoAPI provider only on (non-64-bit) Windows platform.
|
||||
# Build Microsoft CryptoAPI provider only on Windows platform.
|
||||
MSCAPI =
|
||||
ifeq ($(PLATFORM), windows)
|
||||
ifneq ($(ARCH_DATA_MODEL), 64)
|
||||
MSCAPI = mscapi
|
||||
endif
|
||||
MSCAPI = mscapi
|
||||
endif
|
||||
|
||||
# Build in-tree elliptic curve crypto provider only when
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,11 +25,9 @@
|
||||
|
||||
|
||||
# @test
|
||||
# @bug 6324295
|
||||
# @bug 6324295 6931562
|
||||
# @run shell AccessKeyStore.sh
|
||||
# @summary Confirm that permission must be granted to access keystores.
|
||||
#
|
||||
# Run only on non-64-bit Windows platform.
|
||||
|
||||
OS=`uname -s`
|
||||
case "$OS" in
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,11 +25,9 @@
|
||||
|
||||
|
||||
# @test
|
||||
# @bug 6318171
|
||||
# @bug 6318171 6931562
|
||||
# @run shell IsSunMSCAPIAvailable.sh
|
||||
# @summary Basic test of the Microsoft CryptoAPI provider.
|
||||
#
|
||||
# Run only on non-64-bit Windows platform.
|
||||
|
||||
OS=`uname -s`
|
||||
case "$OS" in
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,12 +25,10 @@
|
||||
|
||||
|
||||
# @test
|
||||
# @bug 6324294
|
||||
# @bug 6324294 6931562
|
||||
# @run shell KeyStoreCompatibilityMode.sh
|
||||
# @summary Confirm that a null stream or password is not permitted when
|
||||
# compatibility mode is enabled (and vice versa).
|
||||
#
|
||||
# Run only on non-64-bit Windows platform.
|
||||
|
||||
OS=`uname -s`
|
||||
case "$OS" in
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -25,11 +25,9 @@
|
||||
|
||||
|
||||
# @test
|
||||
# @bug 6415696
|
||||
# @bug 6415696 6931562
|
||||
# @run shell KeytoolChangeAlias.sh
|
||||
# @summary Test "keytool -changealias" using the Microsoft CryptoAPI provider.
|
||||
#
|
||||
# Run only on non-64-bit Windows platform.
|
||||
|
||||
# set a few environment variables so that the shell-script can run stand-alone
|
||||
# in the source directory
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -24,13 +24,11 @@
|
||||
#
|
||||
|
||||
# @test
|
||||
# @bug 6457422
|
||||
# @bug 6457422 6931562
|
||||
# @run shell RSAEncryptDecrypt.sh
|
||||
# @summary Confirm that plaintext can be encrypted and then decrypted using the
|
||||
# RSA cipher in the SunMSCAPI crypto provider. NOTE: The RSA cipher is
|
||||
# absent from the SunMSCAPI provider in OpenJDK builds.
|
||||
#
|
||||
# Run only on non-64-bit Windows platform.
|
||||
|
||||
# set a few environment variables so that the shell-script can run stand-alone
|
||||
# in the source directory
|
||||
|
Loading…
Reference in New Issue
Block a user