From fef3c5a6524bbff6f2fdf282b7b7eb959e56c450 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Wed, 11 Dec 2013 13:36:30 +0100
Subject: [PATCH] Fixed typo in POLARSSL_PKCS1_V15 in rsa.c
---
library/rsa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/library/rsa.c b/library/rsa.c
index fdcfaef75..7b78b4e0e 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -1454,7 +1454,7 @@ void rsa_free( rsa_context *ctx )
#define RSA_PT "\xAA\xBB\xCC\x03\x02\x01\x00\xFF\xFF\xFF\xFF\xFF" \
"\x11\x22\x33\x0A\x0B\x0C\xCC\xDD\xDD\xDD\xDD\xDD"
-#if defined(POLARSSL_PCKS1_V15)
+#if defined(POLARSSL_PKCS1_V15)
static int myrand( void *rng_state, unsigned char *output, size_t len )
{
size_t i;
@@ -1474,7 +1474,7 @@ static int myrand( void *rng_state, unsigned char *output, size_t len )
*/
int rsa_self_test( int verbose )
{
-#if defined(POLARSSL_PCKS1_V15)
+#if defined(POLARSSL_PKCS1_V15)
size_t len;
rsa_context rsa;
unsigned char rsa_plaintext[PT_LEN];