]> granicus.if.org Git - php/commitdiff
fixed a typo in the error message
authorAnatoliy Belsky <ab@php.net>
Thu, 25 Oct 2012 07:26:44 +0000 (09:26 +0200)
committerAnatoliy Belsky <ab@php.net>
Thu, 25 Oct 2012 07:26:44 +0000 (09:26 +0200)
ext/phar/util.c

index d456ee3b63ff97932bbc95b777b29a8bb0f68795..08faaa65ef6c8f9c5bcd1b756b87c1045a6d7a20 100644 (file)
@@ -2157,7 +2157,7 @@ int phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signat
                                if (!EVP_SignUpdate(md_ctx, buf, sig_len)) {
                                        efree(sigbuf);
                                        if (error) {
-                                               spprintf(error, 0, "unable to to update the openssl signature for phar \"%s\"", phar->fname);
+                                               spprintf(error, 0, "unable to update the openssl signature for phar \"%s\"", phar->fname);
                                        }
                                        return FAILURE;
                                }