Method: SslTestService#check_peer_cert
- Defined in:
- src/ruby/spec/client_auth_spec.rb
#check_peer_cert(call) ⇒ Object
50 51 52 53 |
# File 'src/ruby/spec/client_auth_spec.rb', line 50 def check_peer_cert(call) error_msg = "want:\n#{client_cert}\n\ngot:\n#{call.peer_cert}" fail(error_msg) unless call.peer_cert == client_cert end |