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 mozilla/security/nss/lib/ssl directory in a NSS 7# source tree. 8# 9# Point patches_dir to the src/net/third_party/nss/patches directory in a 10# chromium source tree. 11patches_dir=/Users/wtc/chrome1/src/net/third_party/nss/patches 12 13patch -p4 < $patches_dir/versionskew.patch 14 15patch -p4 < $patches_dir/renegoscsv.patch 16 17patch -p4 < $patches_dir/cachecerts.patch 18 19patch -p4 < $patches_dir/peercertchain.patch 20 21patch -p4 < $patches_dir/clientauth.patch 22 23patch -p4 < $patches_dir/didhandshakeresume.patch 24 25patch -p4 < $patches_dir/negotiatedextension.patch 26 27patch -p4 < $patches_dir/getrequestedclientcerttypes.patch 28 29patch -p4 < $patches_dir/restartclientauth.patch 30 31patch -p4 < $patches_dir/channelid.patch 32 33patch -p4 < $patches_dir/tlsunique.patch 34 35patch -p4 < $patches_dir/ecpointform.patch 36 37patch -p4 < $patches_dir/secretexporterlocks.patch 38 39patch -p4 < $patches_dir/cbc.patch 40 41patch -p4 < $patches_dir/suitebonly.patch 42 43patch -p4 < $patches_dir/secitemarray.patch 44 45patch -p4 < $patches_dir/tls12chromium.patch 46 47patch -p4 < $patches_dir/alpn.patch 48 49patch -p5 < $patches_dir/sslsock_903565.patch 50 51patch -p4 < $patches_dir/aesgcm.patch 52 53patch -p4 < $patches_dir/aesgcmchromium.patch 54 55patch -p4 < $patches_dir/tls12backuphash.patch 56 57patch -p4 < $patches_dir/chacha20poly1305.patch 58 59patch -p4 < $patches_dir/cachelocks.patch 60 61patch -p4 < $patches_dir/ciphersuiteversion.patch 62 63patch -p4 < $patches_dir/peercertchain2.patch 64 65patch -p4 < $patches_dir/canfalsestart.patch 66 67patch -p4 < $patches_dir/nullcipher_934016.patch 68 69patch -p4 < $patches_dir/paddingextension.patch 70 71patch -p4 < $patches_dir/paddingextensionall.patch 72 73patch -p4 < $patches_dir/channelid2.patch 74 75patch -p5 < $patches_dir/signedcertificatetimestamps.patch 76 77patch -p4 < $patches_dir/cipherorder.patch 78 79patch -p5 < $patches_dir/tls12backuphash2.patch 80 81patch -p4 < $patches_dir/fallbackscsv.patch 82 83patch -p4 < $patches_dir/disableticketrenewal.patch 84 85patch -p4 < $patches_dir/sessioncache.patch 86 87patch -p4 < $patches_dir/sslnoncestatics.patch 88