i.opensslcnf revision 9dc0df1bac950d6e491f9a7c7e4888f2b301cb15
1281N/A#!/bin/sh
1186N/A#
1186N/A# CDDL HEADER START
812N/A#
812N/A# The contents of this file are subject to the terms of the
812N/A# Common Development and Distribution License (the "License").
1281N/A# You may not use this file except in compliance with the License.
812N/A#
812N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
812N/A# or http://www.opensolaris.org/os/licensing.
812N/A# See the License for the specific language governing permissions
812N/A# and limitations under the License.
812N/A#
812N/A# When distributing Covered Code, include this CDDL HEADER in each
812N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
812N/A# If applicable, add the following below this CDDL HEADER, with the
812N/A# fields enclosed by brackets "[]" replaced with your own identifying
812N/A# information: Portions Copyright [yyyy] [name of copyright owner]
812N/A#
812N/A# CDDL HEADER END
1302N/A#
812N/A#
1186N/A#
1186N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1186N/A# Use is subject to license terms.
1186N/A#
1186N/A#
1186N/A# ident "%Z%%M% %I% %E% SMI"
1186N/A#
1186N/A
1186N/ATAG=new
1186N/ACLEANUP_FILE=/tmp/CLEANUP
1186N/A
1186N/Aread src dest || exit 0
1186N/A
1186N/Amessage="
1186N/APlease check out ${dest}.${TAG} to see
1281N/Adifferencies between possibly old 0.9.7d-based configuration
1186N/Afile and a new 0.9.8a one. Most important change is that
1281N/Adefault message digest algorithm for certificates (default_md
812N/Avariable) changed from 'md5' to 'sha1' between those two
1302N/Aversions.
1281N/A"
1302N/A
1302N/Aif [ ! -f $dest ] ; then
1281N/A cp $src $dest
1302N/Aelse
1302N/A cmp -s $src $dest
1302N/A if [ $? != 0 ] ; then
1302N/A cp $src $dest.${TAG}
1302N/A echo "EXISTING_FILE_PRESERVED: ${dest} ${dest}.${TAG}" \
1302N/A >> ${CLEANUP_FILE}
1302N/A echo "$message" >>${CLEANUP_FILE}
1302N/A echo "$message"
1302N/A fi
1302N/Afi
1302N/A
1302N/Aexit 0
1302N/A