summaryrefslogtreecommitdiffstats
path: root/pki/base/ocsp
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-02-21 22:22:16 -0600
committerEndi Sukma Dewata <edewata@redhat.com>2012-02-23 21:15:27 -0600
commited31fc445fc6d4769b7bd119770ae1da9b15d2bf (patch)
tree6d01d561bba4d2c505c22355522d8b30041f747a /pki/base/ocsp
parent970e3667eede41e72bb5a4cadf1d056ff526d944 (diff)
downloadpki-ed31fc445fc6d4769b7bd119770ae1da9b15d2bf.tar.gz
pki-ed31fc445fc6d4769b7bd119770ae1da9b15d2bf.tar.xz
pki-ed31fc445fc6d4769b7bd119770ae1da9b15d2bf.zip
Replaced BtoA/AtoB with Apache codec.
The OSUtil's BtoA() and AtoB() have been replaced by Base64 codec from Apache Commons library. The codec is configured to use 64-byte line width as defined in RFC 1421. Ticket #90
Diffstat (limited to 'pki/base/ocsp')
-rw-r--r--pki/base/ocsp/src/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/pki/base/ocsp/src/CMakeLists.txt b/pki/base/ocsp/src/CMakeLists.txt
index f7cb01405..ad16cebab 100644
--- a/pki/base/ocsp/src/CMakeLists.txt
+++ b/pki/base/ocsp/src/CMakeLists.txt
@@ -62,6 +62,13 @@ find_file(OSUTIL_JAR
${JAVA_LIB_INSTALL_DIR}
)
+find_file(COMMONS_CODEC_JAR
+ NAMES
+ commons-codec.jar
+ PATHS
+ /usr/share/java
+)
+
find_file(SYMKEY_JAR
NAMES
symkey.jar
@@ -84,7 +91,7 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR}
${PKI_CMSUTIL_JAR} ${PKI_NSUTIL_JAR}
${LDAPJDK_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${SYMKEY_JAR})
+ ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
# set version