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. 10 patches_dir=/Users/wtc/chrome1/src/net/third_party/nss/patches 11 12 patch -p4 < $patches_dir/cachecerts.patch 13 14 patch -p4 < $patches_dir/clientauth.patch 15 16 patch -p4 < $patches_dir/didhandshakeresume.patch 17 18 patch -p4 < $patches_dir/getrequestedclientcerttypes.patch 19 20 patch -p4 < $patches_dir/restartclientauth.patch 21 22 patch -p4 < $patches_dir/channelid.patch 23 24 patch -p4 < $patches_dir/tlsunique.patch 25 26 patch -p4 < $patches_dir/secretexporterlocks.patch 27 28 patch -p4 < $patches_dir/suitebonly.patch 29 30 patch -p4 < $patches_dir/secitemarray.patch 31 32 patch -p4 < $patches_dir/tls12chromium.patch 33 34 patch -p4 < $patches_dir/aesgcmchromium.patch 35 36 patch -p4 < $patches_dir/chacha20poly1305.patch 37 38 patch -p4 < $patches_dir/cachelocks.patch 39 40 patch -p4 < $patches_dir/signedcertificatetimestamps.patch 41 42 patch -p4 < $patches_dir/cipherorder.patch 43 44 patch -p4 < $patches_dir/fallbackscsv.patch 45 46 patch -p4 < $patches_dir/sessioncache.patch 47 48 patch -p4 < $patches_dir/nssrwlock.patch 49 50 patch -p4 < $patches_dir/paddingextvalue.patch 51 52 patch -p4 < $patches_dir/reorderextensions.patch 53