1#!/bin/sh 2# Copyright (c) 2012 The Chromium Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6# Run this script in the nss/lib/ssl directory in a NSS source tree. 7# 8# Point patches_dir to the src/net/third_party/nss/patches directory in a 9# chromium source tree. 10patches_dir=/Users/wtc/chrome1/src/net/third_party/nss/patches 11 12patch -p4 < $patches_dir/cachecerts.patch 13 14patch -p4 < $patches_dir/clientauth.patch 15 16patch -p4 < $patches_dir/didhandshakeresume.patch 17 18patch -p4 < $patches_dir/getrequestedclientcerttypes.patch 19 20patch -p4 < $patches_dir/restartclientauth.patch 21 22patch -p4 < $patches_dir/channelid.patch 23 24patch -p4 < $patches_dir/tlsunique.patch 25 26patch -p4 < $patches_dir/secretexporterlocks.patch 27 28patch -p4 < $patches_dir/suitebonly.patch 29 30patch -p4 < $patches_dir/secitemarray.patch 31 32patch -p4 < $patches_dir/tls12chromium.patch 33 34patch -p4 < $patches_dir/aesgcmchromium.patch 35 36patch -p4 < $patches_dir/chacha20poly1305.patch 37 38patch -p4 < $patches_dir/cachelocks.patch 39 40patch -p4 < $patches_dir/signedcertificatetimestamps.patch 41 42patch -p4 < $patches_dir/cipherorder.patch 43 44patch -p4 < $patches_dir/fallbackscsv.patch 45 46patch -p4 < $patches_dir/sessioncache.patch 47 48patch -p4 < $patches_dir/nssrwlock.patch 49 50patch -p4 < $patches_dir/paddingextvalue.patch 51 52patch -p4 < $patches_dir/reorderextensions.patch 53