summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2010-04-22 16:00:45 +0000
committerAntony Dovgal <tony2001@php.net>2010-04-22 16:00:45 +0000
commit46460629567fc79fbfa8394bac5278da4556d33a (patch)
tree56fb265045cb952c29e2526a4594460132d45222
parenta15efa6979a063bf1c307ecd2896ef73cb085a29 (diff)
downloadphp-git-46460629567fc79fbfa8394bac5278da4556d33a.tar.gz
fix typo
-rw-r--r--ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index bda9c2b335..b2748d158e 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -4451,7 +4451,7 @@ SSL *php_SSL_new_from_context(SSL_CTX *ctx, php_stream *stream TSRMLS_DC) /* {{{
return NULL;
}
- if (SSL_CTX_use_PrivateKey_file(ctx, reso, SSL_FILETYPE_PEM) != 1) {
+ if (SSL_CTX_use_PrivateKey_file(ctx, resolved_path_buff, SSL_FILETYPE_PEM) != 1) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to set private key file `%s'", resolved_path_buff);
return NULL;
}