Ulf M�ller wrote:
> diff -u orig/rsa_eay.c ./rsa_eay.c
> --- orig/rsa_eay.c      Fri Feb  5 22:08:26 1999
> +++ ./rsa_eay.c Sat Feb  6 15:06:39 1999
> @@ -130,6 +130,9 @@
>         case RSA_PKCS1_PADDING:
>                 i=RSA_padding_add_PKCS1_type_2(buf,num,from,flen);
>                 break;
> +       case RSA_PKCS1_OAEP_PADDING:
> +               i=RSA_padding_add_PKCS1_OAEP(buf,num,from,flen,NULL,0);
> +               break;
>         case RSA_SSLV23_PADDING:
>                 i=RSA_padding_add_SSLv23(buf,num,from,flen);
>                 break;

Shouldn't this also get added to private_encrypt?

> @@ -318,6 +321,9 @@
>                 {
>         case RSA_PKCS1_PADDING:
>                 r=RSA_padding_check_PKCS1_type_2(to,num,buf,j,num);
> +               break;
> +       case RSA_PKCS1_OAEP_PADDING:
> +               r=RSA_padding_check_PKCS1_OAEP(to,num,buf,j,num,NULL,0);
>                 break;
>         case RSA_SSLV23_PADDING:
>                 r=RSA_padding_check_SSLv23(to,num,buf,j,num);
> diff -u orig/rsa_enc.c ./rsa_enc.c
> --- orig/rsa_enc.c      Fri Feb  5 22:08:26 1999
> +++ ./rsa_enc.c Fri Feb  5 22:14:20 1999

Errr ... this file no longer exists...

We probably also need to do something about the license. For now,
though, I've committed my somewhat doctored version...

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to