]> granicus.if.org Git - php/commitdiff
Fixed compiler warning
authorIlia Alshanetsky <iliaa@php.net>
Sun, 26 Oct 2008 14:35:41 +0000 (14:35 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 26 Oct 2008 14:35:41 +0000 (14:35 +0000)
ext/openssl/openssl.c

index b35cf9f6df07a2b5a81d8c4f5e1263355adb7fc7..780313e2a40d99bd96741cbe0452daedaf42cde3 100644 (file)
@@ -3439,7 +3439,7 @@ PHP_FUNCTION(openssl_pkcs7_encrypt)
                }
        }
 
-       BIO_reset(infile);
+       (void)BIO_reset(infile);
 
        /* write the encrypted data */
        SMIME_write_PKCS7(outfile, p7, infile, flags);
@@ -3528,7 +3528,7 @@ PHP_FUNCTION(openssl_pkcs7_sign)
                goto clean_exit;
        }
 
-       BIO_reset(infile);
+       (void)BIO_reset(infile);
 
        /* tack on extra headers */
        if (zheaders) {