Loading CHANGES +4 −0 Original line number Original line Diff line number Diff line Loading @@ -5,6 +5,10 @@ Changes between 0.9.2b and 0.9.3 Changes between 0.9.2b and 0.9.3 *) Make sure the RSA OAEP test is skipped under -DRSAref because OAEP isn't supported when OpenSSL is built with RSAref. [Ulf Moeller <ulf@fitug.de>] *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h so they no longer are missing under -DNOPROTO. so they no longer are missing under -DNOPROTO. [Soren S. Jorvang <soren@t.dk>] [Soren S. Jorvang <soren@t.dk>] Loading crypto/rsa/rsa_oaep_test.c +5 −0 Original line number Original line Diff line number Diff line Loading @@ -195,6 +195,11 @@ int main() int clen = 0; int clen = 0; int num; int num; #ifdef RSAref printf("No OAEP support with RSAref - skipping test\n"); return 0; #endif plen = sizeof(ptext_ex) - 1; plen = sizeof(ptext_ex) - 1; for (v = 0; v < 3; v++) for (v = 0; v < 3; v++) Loading rsaref/rsaref.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -328,6 +328,9 @@ int padding; RSARandomState rnd; RSARandomState rnd; unsigned char buf[16]; unsigned char buf[16]; if (padding == RSA_PKCS1_OAEP_PADDING) goto err; R_RandomInit(&rnd); R_RandomInit(&rnd); R_GetRandomBytesNeeded((unsigned int *)&i,&rnd); R_GetRandomBytesNeeded((unsigned int *)&i,&rnd); while (i > 0) while (i > 0) Loading Loading
CHANGES +4 −0 Original line number Original line Diff line number Diff line Loading @@ -5,6 +5,10 @@ Changes between 0.9.2b and 0.9.3 Changes between 0.9.2b and 0.9.3 *) Make sure the RSA OAEP test is skipped under -DRSAref because OAEP isn't supported when OpenSSL is built with RSAref. [Ulf Moeller <ulf@fitug.de>] *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h so they no longer are missing under -DNOPROTO. so they no longer are missing under -DNOPROTO. [Soren S. Jorvang <soren@t.dk>] [Soren S. Jorvang <soren@t.dk>] Loading
crypto/rsa/rsa_oaep_test.c +5 −0 Original line number Original line Diff line number Diff line Loading @@ -195,6 +195,11 @@ int main() int clen = 0; int clen = 0; int num; int num; #ifdef RSAref printf("No OAEP support with RSAref - skipping test\n"); return 0; #endif plen = sizeof(ptext_ex) - 1; plen = sizeof(ptext_ex) - 1; for (v = 0; v < 3; v++) for (v = 0; v < 3; v++) Loading
rsaref/rsaref.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -328,6 +328,9 @@ int padding; RSARandomState rnd; RSARandomState rnd; unsigned char buf[16]; unsigned char buf[16]; if (padding == RSA_PKCS1_OAEP_PADDING) goto err; R_RandomInit(&rnd); R_RandomInit(&rnd); R_GetRandomBytesNeeded((unsigned int *)&i,&rnd); R_GetRandomBytesNeeded((unsigned int *)&i,&rnd); while (i > 0) while (i > 0) Loading