#!/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 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/cachecerts.patch patch -p4 < $patches_dir/clientauth.patch patch -p4 < $patches_dir/didhandshakeresume.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/secretexporterlocks.patch patch -p4 < $patches_dir/suitebonly.patch patch -p4 < $patches_dir/secitemarray.patch patch -p4 < $patches_dir/tls12chromium.patch patch -p4 < $patches_dir/aesgcmchromium.patch patch -p4 < $patches_dir/chacha20poly1305.patch patch -p4 < $patches_dir/cachelocks.patch patch -p4 < $patches_dir/signedcertificatetimestamps.patch patch -p4 < $patches_dir/cipherorder.patch patch -p4 < $patches_dir/fallbackscsv.patch patch -p4 < $patches_dir/sessioncache.patch patch -p4 < $patches_dir/nssrwlock.patch patch -p4 < $patches_dir/paddingextvalue.patch patch -p4 < $patches_dir/reorderextensions.patch