Bash程序  |  88行  |  2.15 KB

#!/bin/sh
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Run this script in the mozilla/security/nss/lib/ssl directory in a NSS
# source tree.
#
# Point patches_dir to the src/net/third_party/nss/patches directory in a
# chromium source tree.
patches_dir=/Users/wtc/chrome1/src/net/third_party/nss/patches

patch -p4 < $patches_dir/versionskew.patch

patch -p4 < $patches_dir/renegoscsv.patch

patch -p4 < $patches_dir/cachecerts.patch

patch -p4 < $patches_dir/peercertchain.patch

patch -p4 < $patches_dir/clientauth.patch

patch -p4 < $patches_dir/didhandshakeresume.patch

patch -p4 < $patches_dir/negotiatedextension.patch

patch -p4 < $patches_dir/getrequestedclientcerttypes.patch

patch -p4 < $patches_dir/restartclientauth.patch

patch -p4 < $patches_dir/channelid.patch

patch -p4 < $patches_dir/tlsunique.patch

patch -p4 < $patches_dir/ecpointform.patch

patch -p4 < $patches_dir/secretexporterlocks.patch

patch -p4 < $patches_dir/cbc.patch

patch -p4 < $patches_dir/suitebonly.patch

patch -p4 < $patches_dir/secitemarray.patch

patch -p4 < $patches_dir/tls12chromium.patch

patch -p4 < $patches_dir/alpn.patch

patch -p5 < $patches_dir/sslsock_903565.patch

patch -p4 < $patches_dir/aesgcm.patch

patch -p4 < $patches_dir/aesgcmchromium.patch

patch -p4 < $patches_dir/tls12backuphash.patch

patch -p4 < $patches_dir/chacha20poly1305.patch

patch -p4 < $patches_dir/cachelocks.patch

patch -p4 < $patches_dir/ciphersuiteversion.patch

patch -p4 < $patches_dir/peercertchain2.patch

patch -p4 < $patches_dir/canfalsestart.patch

patch -p4 < $patches_dir/nullcipher_934016.patch

patch -p4 < $patches_dir/paddingextension.patch

patch -p4 < $patches_dir/paddingextensionall.patch

patch -p4 < $patches_dir/channelid2.patch

patch -p5 < $patches_dir/signedcertificatetimestamps.patch

patch -p4 < $patches_dir/cipherorder.patch

patch -p5 < $patches_dir/tls12backuphash2.patch

patch -p4 < $patches_dir/fallbackscsv.patch

patch -p4 < $patches_dir/disableticketrenewal.patch

patch -p4 < $patches_dir/sessioncache.patch

patch -p4 < $patches_dir/sslnoncestatics.patch