sniper          Tue Apr 19 18:05:40 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/openssl        openssl.c 
  Log:
  MFH
  
http://cvs.php.net/diff.php/php-src/ext/openssl/openssl.c?r1=1.89.2.6&r2=1.89.2.7&ty=u
Index: php-src/ext/openssl/openssl.c
diff -u php-src/ext/openssl/openssl.c:1.89.2.6 
php-src/ext/openssl/openssl.c:1.89.2.7
--- php-src/ext/openssl/openssl.c:1.89.2.6      Mon Mar 14 19:29:36 2005
+++ php-src/ext/openssl/openssl.c       Tue Apr 19 18:05:39 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: openssl.c,v 1.89.2.6 2005/03/15 00:29:36 iliaa Exp $ */
+/* $Id: openssl.c,v 1.89.2.7 2005/04/19 22:05:39 sniper Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -2611,7 +2611,7 @@
        cryptedlen = EVP_PKEY_size(pkey);
        cryptedbuf = emalloc(cryptedlen + 1);
 
-       switch (Z_TYPE_P(pkey)) {
+       switch (pkey->type) {
                case EVP_PKEY_RSA:
                case EVP_PKEY_RSA2:
                        successful =  (RSA_private_encrypt(data_len, 
@@ -2669,7 +2669,7 @@
        cryptedlen = EVP_PKEY_size(pkey);
        crypttemp = emalloc(cryptedlen + 1);
 
-       switch (Z_TYPE_P(pkey)) {
+       switch (pkey->type) {
                case EVP_PKEY_RSA:
                case EVP_PKEY_RSA2:
                        cryptedlen = RSA_private_decrypt(data_len, 
@@ -2734,7 +2734,7 @@
        cryptedlen = EVP_PKEY_size(pkey);
        cryptedbuf = emalloc(cryptedlen + 1);
 
-       switch (Z_TYPE_P(pkey)) {
+       switch (pkey->type) {
                case EVP_PKEY_RSA:
                case EVP_PKEY_RSA2:
                        successful = (RSA_public_encrypt(data_len, 
@@ -2793,7 +2793,7 @@
        cryptedlen = EVP_PKEY_size(pkey);
        crypttemp = emalloc(cryptedlen + 1);
 
-       switch (Z_TYPE_P(pkey)) {
+       switch (pkey->type) {
                case EVP_PKEY_RSA:
                case EVP_PKEY_RSA2:
                        cryptedlen = RSA_public_decrypt(data_len, 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to