diff options
Diffstat (limited to 'external/nss/nss-pem.patch')
-rw-r--r-- | external/nss/nss-pem.patch | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/external/nss/nss-pem.patch b/external/nss/nss-pem.patch index c2f34fe5e3bb..c3f28bc74a6d 100644 --- a/external/nss/nss-pem.patch +++ b/external/nss/nss-pem.patch @@ -5230,7 +5230,7 @@ new file mode 100644 index 0000000..1179f2a --- /dev/null +++ b/b/nss/lib/ckfw/pem/rsawrapr.c -@@ -0,0 +1,808 @@ +@@ -0,0 +1,823 @@ +/* + * PKCS#1 encoding and decoding functions. + * This file is believed to contain no code licensed from other parties. @@ -5435,6 +5435,21 @@ index 0000000..1179f2a +} + +/* ++ * RSA block types ++ * ++ * The actual values are important -- they are fixed, *not* arbitrary. ++ * The explicit value assignments are not needed (because C would give ++ * us those same values anyway) but are included as a reminder... ++ */ ++typedef enum { ++ RSA_BlockPrivate0 = 0, /* unused, really */ ++ RSA_BlockPrivate = 1, /* pad for a private-key operation */ ++ RSA_BlockPublic = 2, /* pad for a public-key operation */ ++ RSA_BlockRaw = 4, /* simply justify the block appropriately */ ++ RSA_BlockTotal ++} RSA_BlockType; ++ ++/* + * Format one block of data for public/private key encryption using + * the rules defined in PKCS #1. + */ |