Bug 7006 - patch for openssl >= 0.9.7f compatibility

Summary: patch for openssl >= 0.9.7f compatibility