Patch for ext/openssl to support CN_match with asterisk
| From: | Bostjan Skufca | Date: | Sat, 20 Feb 2010 19:56:41 +0000 |
| Subject: | Patch for ext/openssl to support CN_match with asterisk | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-47004@lists.php.net to get a copy of this message | ||
Hi!
I've created a patch that enables PHP to do "limited wildcard
matching" if CN_match option in stream context is specified as
'*.example.org'.
Also I have filled a bug report for this, here:
http://bugs.php.net/bug.php?id=51100
Patch is here:
http://source.a2o.si/php/php-ext-openssl-CN_match-wildcard.diff
It was made against 5.2.12 but I checked it with SVN:
- for 5.2 branch the offset is only +6 lines
- for trunk it is cca +800 lines
Can you include it in 5.2.13 release and 5.3? I know the former is
already in RC stage but this does can't break anything I believe.
Best regards,
b.